Sco2DesignPoint¶
Wrapper for SAM Simulation Core model: cmod_sco2_design_point.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.
Sco2DesignPoint model description
Supercritical CO2 Power Cycle Design Point
-
PySAM.Sco2DesignPoint.
default
(config) → Sco2DesignPoint¶ Use financial config-specific default attributes
-
PySAM.Sco2DesignPoint.
from_existing
(data, optional config) → Sco2DesignPoint¶ Share underlying data with an existing PySAM class. If config provided, default attributes are loaded otherwise.
-
PySAM.Sco2DesignPoint.
new
() → Sco2DesignPoint¶
-
PySAM.Sco2DesignPoint.
wrap
(ssc_data_t) → Sco2DesignPoint¶ Use existing PySSC data
Warning
Do not call PySSC.data_free on the ssc_data_t provided to
wrap
Functions¶
-
class
PySAM.Sco2DesignPoint.
Sco2DesignPoint
¶ 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 = { 'Common': { 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.
-
Common Group¶
-
class
PySAM.Sco2DesignPoint.Sco2DesignPoint.
Common
¶ -
assign
() → None¶ Assign attributes from dictionary
Common_vals = { var: val, ...}
-
export
() → dict¶ Export attributes into dictionary
-
P_high_limit
¶ High pressure limit in cycle [MPa]
Required: True
Type: float
-
T_amb_array
¶ Array of ambient temperatures for off-design parametric [C]
Required: True if run_off_des_study=1
Type: sequence
-
T_amb_des
¶ Ambient temperature for air cooler [C]
Required: True
Type: float Type: Design
-
T_htf_hot_des
¶ Tower design outlet temp [C]
Required: True
Type: float
-
W_dot_net_des
¶ Design cycle power output [MW]
Required: True
Type: float
-
deltaT_ACC
¶ Temp diff btw ambient air and compressor inlet [C]
Required: True
Type: float
-
deltaT_PHX
¶ Temp diff btw hot HTF and turbine inlet [C]
Required: True
Type: float
-
eta_c
¶ Design compressor(s) isentropic efficiency [-]
Required: True
Type: float
-
eta_des
¶ Power cycle thermal efficiency
Required: True
Type: float
-
eta_t
¶ Design turbine isentropic efficiency [-]
Required: True
Type: float
-
part_load_fracs
¶ Array of part load q_dot_in fractions for off-design parametric
Required: True if run_off_des_study=1
Type: sequence
-
run_off_des_study
¶ 1 = yes, 0/other = no
Required: True
Type: float
-
Outputs Group¶
-
class
PySAM.Sco2DesignPoint.Sco2DesignPoint.
Outputs
¶ -
assign
() → None¶ Assign attributes from dictionary
Outputs_vals = { var: val, ...}
-
export
() → dict¶ Export attributes into dictionary
-
P_comp_in
¶ Compressor inlet pressure [MPa]
Type: float
-
P_comp_out
¶ Compressor outlet pressure [MPa]
Type: float
-
T_amb_array_out
¶ Array of ambient temps that SOLVED at off design [C]
Type: sequence
-
T_amb_coefs
¶ Part load polynomial coefficients [-]
Type: sequence
-
T_amb_eta
¶ Matrix of ambient temps and power cycle efficiency [-]
Type: sequence
-
T_amb_r_squared
¶ T amb curve fit R squared [-]
Type: float
-
T_htf_cold
¶ Calculated cold HTF temp [C]
Type: float
-
UA_total
¶ Total recuperator UA [kW/K]
Type: float
-
eta_thermal_calc
¶ Calculated cycle thermal efficiency [-]
Type: float
-
part_load_coefs
¶ Part load polynomial coefficients [-]
Type: sequence
-
part_load_eta
¶ Matrix of power cycle efficiency results for q_dot_in part load [-]
Type: sequence
-
part_load_fracs_out
¶ Array of part load fractions that SOLVED at off design [-]
Type: sequence
-
part_load_r_squared
¶ Part load curve fit R squared [-]
Type: float
-
recomp_frac
¶ Recompression fraction [-]
Type: float
-