Pvwattsv1Poa

Wrapper for SAM Simulation Core model: cmod_pvwattsv1_poa.cpp

Creating an Instance

There are three methods to create a new instance of a PySAM module. Using default populates the newclass’ attributes with default values specific to a config. Each technology-financialconfiguration corresponds to a SAM GUI configuration. Using new creates an instance with empty attributes. The wrap function allows compatibility with PySSC, for details, refer to PySSC.

Pvwattsv1Poa model description

Pvwattsv1Poa

PySAM.Pvwattsv1Poa.default(config) → Pvwattsv1Poa

Use financial config-specific default attributes

PySAM.Pvwattsv1Poa.from_existing(data, optional config) → Pvwattsv1Poa

Share underlying data with an existing PySAM class. If config provided, default attributes are loaded otherwise.

PySAM.Pvwattsv1Poa.new() → Pvwattsv1Poa
PySAM.Pvwattsv1Poa.wrap(ssc_data_t) → Pvwattsv1Poa

Use existing PySSC data

Warning

Do not call PySSC.data_free on the ssc_data_t provided to wrap

Functions

class PySAM.Pvwattsv1Poa.Pvwattsv1Poa

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 = { 'Weather': { var: val, ...}, ...}

execute(int verbosity) → None

Execute simulation with verbosity level 0 (default) or 1

export() → dict

Export attributes into nested dictionary

value(name, optional value) → Union[None, float, dict, sequence, str]

Get or set by name a value in any of the variable groups.

Weather Group

class PySAM.Pvwattsv1Poa.Pvwattsv1Poa.Weather
assign() → None

Assign attributes from dictionary

Weather_vals = { var: val, ...}

export() → dict

Export attributes into dictionary

beam

Direct normal radiation [W/m2]

Required: True

Type:sequence
incidence

Incidence angle to surface [deg]

Constraints: LENGTH_EQUAL=beam

Required: True

Type:sequence
poa_beam

Incident direct normal radiation [W/m2]

Constraints: LENGTH_EQUAL=beam

Required: True

Type:sequence
poa_gnddiff

Incident ground diffuse irradiance [W/m2]

Constraints: LENGTH_EQUAL=beam

Required: True

Type:sequence
poa_skydiff

Incident sky diffuse radiation [W/m2]

Constraints: LENGTH_EQUAL=beam

Required: True

Type:sequence
tdry

Dry bulb temperature [‘C]

Constraints: LENGTH_EQUAL=beam

Required: True

Type:sequence
wspd

Wind speed [m/s]

Constraints: LENGTH_EQUAL=beam

Required: True

Type:sequence

PVWatts Group

class PySAM.Pvwattsv1Poa.Pvwattsv1Poa.PVWatts
assign() → None

Assign attributes from dictionary

PVWatts_vals = { var: val, ...}

export() → dict

Export attributes into dictionary

derate

System derate value [frac]

Constraints: MIN=0,MAX=1

Required: True

Type:float
gamma

Max power temperature coefficient [%/’C]

Required: If not provided, assumed to be -0.5

Type:float
inoct

Nominal operating cell temperature [‘C]

Constraints: POSITIVE

Required: If not provided, assumed to be 45.0

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
step

Time step of input data [sec]

Constraints: POSITIVE

Required: If not provided, assumed to be 3600

Type:float
system_size

Nameplate capacity [kW]

Constraints: MIN=0.5,MAX=100000

Required: True

Type:float
t_ref

Reference cell temperature [‘C]

Constraints: POSITIVE

Required: If not provided, assumed to be 25.0

Type:float

Outputs Group

class PySAM.Pvwattsv1Poa.Pvwattsv1Poa.Outputs
assign() → None

Assign attributes from dictionary

Outputs_vals = { var: val, ...}

export() → dict

Export attributes into dictionary

ac

AC system output [kWhac]

Type:sequence
dc

DC array output [kWhdc]

Type:sequence
tcell

Cell temperature [‘C]

Type:sequence