solarforecastarbiter.datamodel.PVModelingParameters¶
-
class
solarforecastarbiter.datamodel.
PVModelingParameters
(ac_capacity: float, dc_capacity: float, temperature_coefficient: float, dc_loss_factor: float, ac_loss_factor: float)[source]¶ Class for keeping track of generic PV modeling parameters
Parameters: - ac_capacity (float) – Nameplate AC power rating in megawatts
- dc_capacity (float) – Nameplate DC power rating in megawatts
- temperature_coefficient (float) – The temperature coefficient of DC power in units of 1/C. Typically -0.002 to -0.005 per degree C.
- dc_loss_factor (float) – Applied to DC current in units of %. 0 = no loss.
- ac_loss_factor (float) – Appled to inverter power output in units of %. 0 = no loss.
-
__init__
(ac_capacity: float, dc_capacity: float, temperature_coefficient: float, dc_loss_factor: float, ac_loss_factor: float) → None¶
Methods
__init__
(ac_capacity, dc_capacity, …)from_dict
(input_dict[, raise_on_extra])Construct a dataclass from the given dict, matching keys with the class fields. replace
(**kwargs)Convience wrapper for dataclasses.replace()
to create a new dataclasses from the old with the given keys replaced.to_dict
()Convert the dataclass into a dictionary suitable for uploading to the API.