Generate Tyba’s PV production runs.
solar_resource
object
A sub-model to allow for custom solar resource inputs. Options include:
location
(Float, Float)
GPS coordinate
SolarResource (fully specified sub-model)
inverter
object
A sub-model to allow for custom inverter inputs. Options include:
inverter_name
str
Name of the inverter from the CEC Inverter Database:
Inverter (fully specified sub-model)
pv_module
object
A sub-model to allow for custom module inputs. Options include:
pv_module_name
str
Name of the module from the CEC Module Database:
Module (fully specified sub-model)
PVModuleMermoudLejeune (fully specified sub-model)
system_design
object
Optional
A sub-model for representing system and string sizing. More detail below.
losses
object
Optional
A sub-model for representing system losses. More detail below.
layout
object
Optional
A sub-model for representing system layout. More detail below.
project_term
int
Optional
The number of years to model a project. For output results, this will model the impact of degradation over time. For multi-year price models, this will impact dispatch and revenue.
array_degradation_rate
float
Optional
The year over year decrease in PV module capacity, in percentage.
array_degradation_mode
str
Optional
The method by which yearly array degradation is calculated. Options include:
array_degradation_rate / 100
, capacity is the array kWdc capacity, and n is the year beginning at 0.class PVModel(object):
solar_resource: t.Union[t.Tuple[float, float], SolarResource]
inverter: t.Union[str, BaseInverter]
pv_module: t.Union[str, PVModule, PVModuleMermoudLejeune]
system_design: SystemDesign
losses: t.Optional[Losses] = opt_field()
layout: t.Optional[Layout] = opt_field()
project_term: t.Optional[int] = None
array_degradation_rate: t.Optional[float] = opt_field()
array_degradation_mode: t.Optional[ArrayDegradationMode] = "linear"
This is a model to override production values with an external generation source for use in Hybrid modeling. It assumes the power provided is at the MV bus. This can be used with both MV AC and HV AC coupling.
production_override
object
ACProductionProfile subclass to insert uploaded generation data.
system_design
object
BaseSystemDesign subclass to specify relevant system sizing and POI limit fields. This is a subset of the SystemDesign class used in the standard PVModel.
losses
object
ACLosses submodel for AC side losses. This is a subset of the broader Losses submodel used in the PVModel. Parameters include:
project_term
int
Optional
The number of years to model a project. For output results, this will model the impact of degradation over time. For multi-year price models, this will impact dispatch and revenue.
class ACExternalGenerationModel(object):
production_override: ACProductionProfile
system_design: BaseSystemDesign
losses: ACLosses = opt_field()
project_term: t.Optional[int] = None
This is a model to override production values with an external generation source for use in Hybrid modeling. It assumes the power and voltage provided are at the inverter input. This can be used with any storage coupling.
production_override
object
DCProductionProfile subclass to insert uploaded generation data.
system_design
object
BaseSystemDesign subclass to specify relevant system sizing and POI limit fields. This is a subset of the SystemDesign class used in the standard PVModel.
inverter
str / object
Insert the relevant inverter. Can be either the name of the inverter or the ONDInverter class if uploaded. See this subclass for more information.
losses
object
ACLosses submodel for AC side losses. This is a subset of the broader Losses submodel used in the PVModel. Parameters include:
project_term
int
Optional