solarforecastarbiter.datamodel.SolarPowerPlant¶
-
class
solarforecastarbiter.datamodel.
SolarPowerPlant
(name: str, latitude: float, longitude: float, elevation: float, timezone: str, site_id: str = '', provider: str = '', extra_parameters: str = '', modeling_parameters: solarforecastarbiter.datamodel.PVModelingParameters = <factory>)[source]¶ Class for keeping track of metadata associated with solar power plant Sites. Adds additional parameters to the Site dataclass.
Parameters: - modeling_parameters : PVModelingParameters
Modeling parameters for a single axis system
Methods
from_dict
(dict_[, raise_on_extra])Construct a dataclass from the given dict, matching keys with the class fields. to_dict
()Convert the dataclass into a dictionary suitable for uploading to the API. -
__init__
(name: str, latitude: float, longitude: float, elevation: float, timezone: str, site_id: str = '', provider: str = '', extra_parameters: str = '', modeling_parameters: solarforecastarbiter.datamodel.PVModelingParameters = <factory>) → None¶
Methods
__init__
(name, latitude, longitude, …)from_dict
(dict_[, raise_on_extra])Construct a dataclass from the given dict, matching keys with the class fields. to_dict
()Convert the dataclass into a dictionary suitable for uploading to the API. Attributes
extra_parameters
provider
site_id