Pvwattsv11ts¶
Wrapper for SAM Simulation Core model: cmod_pvwattsv1_1ts.cpp
Input Consistency Warning¶
As described in Possible Problems, some input parameters are interdependent but the equations that enforce consistency are not available in this PySAM module. Therefore, the onus is on the PySAM user to check that interdependencies are correctly handled. The variables which may require additional logic include:
Provided for each of these inputs is a list of other inputs that are potentially interdependent.
Creating an Instance¶
Refer to the Initializing a Model page for details on the different ways to create an instance of a PySAM class.
Pvwattsv11ts model description
Pvwattsv11ts
-
PySAM.Pvwattsv11ts.
default
(config) → Pvwattsv11ts¶ Use default attributes None
-
PySAM.Pvwattsv11ts.
from_existing
(data, optional config) → Pvwattsv11ts¶ Share underlying data with an existing PySAM class. If config provided, default attributes are loaded otherwise.
-
PySAM.Pvwattsv11ts.
new
() → Pvwattsv11ts¶
-
PySAM.Pvwattsv11ts.
wrap
(ssc_data_t) → Pvwattsv11ts¶ Use existing PySSC data
Warning
Do not call PySSC.data_free on the ssc_data_t provided to
wrap
Functions¶
-
class
PySAM.Pvwattsv11ts.
Pvwattsv11ts
¶ This class contains all the variable information for running a simulation. Variables are grouped together in the subclasses as properties. If property assignments are the wrong type, an error is thrown.
-
assign
(dict) → None¶ Assign attributes from nested dictionary, except for Outputs
nested_dict = { 'PVWatts': { var: val, ...}, ...}
-
execute
(int verbosity) → None¶ Execute simulation with verbosity level 0 (default) or 1
-
export
() → dict¶ Export attributes into nested dictionary
-
unassign
(name) → None¶ Unassign a value in any of the variable groups.
-
value
(name, optional value) → Union[None, float, dict, sequence, str]¶ Get or set by name a value in any of the variable groups.
-
PVWatts Group¶
-
class
PySAM.Pvwattsv11ts.Pvwattsv11ts.
PVWatts
¶ -
assign
() → None¶ Assign attributes from dictionary
PVWatts_vals = { var: val, ...}
-
export
() → dict¶ Export attributes into dictionary
-
azimuth
¶ Azimuth angle [deg]
Options: E=90,S=180,W=270
Constraints: MIN=0,MAX=360
Required: True
Type: float
-
beam
¶ Beam normal irradiance [W/m2]
Required: True
Type: float
-
day
¶ Day [dy]
Info: 1-days in month
Required: True
Type: float
-
derate
¶ System derate value [frac]
Constraints: MIN=0,MAX=1
Required: True
Type: float
-
diffuse
¶ Diffuse irradiance [W/m2]
Required: True
Type: float
-
elevation
¶ Elevation [m]
Required: False
Type: float
-
fd
¶ Diffuse fraction [0..1]
Constraints: MIN=0,MAX=1
Required: If not provided, assumed to be 1.0
Type: float
-
gamma
¶ Max power temperature coefficient [%/C]
Required: If not provided, assumed to be -0.5
Type: float
-
hour
¶ Hour [hr]
Info: 0-23
Required: True
Type: float
-
i_ref
¶ Rating condition irradiance [W/m2]
Constraints: POSITIVE
Required: If not provided, assumed to be 1000
Type: float
-
inv_eff
¶ Inverter efficiency at rated power [frac]
Constraints: MIN=0,MAX=1
Required: If not provided, assumed to be 0.92
Type: float
-
lat
¶ Latitude [deg]
Required: True
Type: float
-
lon
¶ Longitude [deg]
Required: True
Type: float
-
minute
¶ Minute [min]
Info: 0-59
Required: True
Type: float
-
month
¶ Month [mn]
Info: 1-12
Required: True
Type: float
-
poa
¶ Plane of array irradiance [W/m2]
Required: True
Type: float
-
poa_cutin
¶ Min reqd irradiance for operation [W/m2]
Constraints: MIN=0
Required: If not provided, assumed to be 0
Type: float
-
pressure
¶ Pressure [millibars]
Required: False
Type: float
-
rotlim
¶ Tracker rotation limit (+/- 1 axis) [deg]
Constraints: MIN=1,MAX=90
Required: If not provided, assumed to be 45.0
Type: float
-
snow
¶ Snow cover [cm]
Required: If not provided, assumed to be 0
Type: float
-
system_size
¶ Nameplate capacity [kW]
Required: True
Type: float
-
t_noct
¶ Nominal operating cell temperature [C]
Constraints: POSITIVE
Required: If not provided, assumed to be 45.0
Type: float
-
t_ref
¶ Reference cell temperature [C]
Constraints: POSITIVE
Required: If not provided, assumed to be 25.0
Type: float
-
tamb
¶ Ambient temperature (dry bulb temperature) [C]
Required: True
Type: float
-
tcell
¶ Module temperature [C]
Required: True
Type: float
-
tilt
¶ Tilt angle [deg]
Options: H=0,V=90
Constraints: MIN=0,MAX=90
Required: naof:tilt_eq_lat
Type: float
-
time_step
¶ Time step of input data [hr]
Constraints: POSITIVE
Required: If not provided, assumed to be 1
Type: float
-
track_mode
¶ Tracking mode [0/1/2/3]
Info: Fixed,1Axis,2Axis,AziAxis
Constraints: MIN=0,MAX=3,INTEGER
Required: True
Type: float
-
tz
¶ Time zone [hr]
Required: True
Type: float
-
w_stow
¶ Wind stow speed [m/s]
Constraints: MIN=0
Required: If not provided, assumed to be 0
Type: float
-
wspd
¶ Wind speed [m/s]
Required: True
Type: float
-
year
¶ Year [yr]
Required: True
Type: float
-