Sco2DesignCycle¶
Wrapper for SAM Simulation Core model: cmod_sco2_design_cycle.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.
Sco2DesignCycle model description
Supercritical CO2 Power Cycle Design
-
PySAM.Sco2DesignCycle.
default
(config) → Sco2DesignCycle¶ Use default attributes None
-
PySAM.Sco2DesignCycle.
from_existing
(data, optional config) → Sco2DesignCycle¶ Share underlying data with an existing PySAM class. If config provided, default attributes are loaded otherwise.
-
PySAM.Sco2DesignCycle.
new
() → Sco2DesignCycle¶
-
PySAM.Sco2DesignCycle.
wrap
(ssc_data_t) → Sco2DesignCycle¶ Use existing PySSC data
Warning
Do not call PySSC.data_free on the ssc_data_t provided to
wrap
Functions¶
-
class
PySAM.Sco2DesignCycle.
Sco2DesignCycle
¶ 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 = { 'sCO2 power cycle': { 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.
-
SCO2PowerCycle Group¶
-
class
PySAM.Sco2DesignCycle.Sco2DesignCycle.
SCO2PowerCycle
¶ -
assign
() → None¶ Assign attributes from dictionary
SCO2PowerCycle_vals = { var: val, ...}
-
export
() → dict¶ Export attributes into dictionary
-
I_N_t_des
¶ Design turbine speed, negative links to comp. [rpm]
Required: True
Type: float
-
I_P_high_limit
¶ High pressure limit in cycle [MPa]
Required: True
Type: float
-
I_T_mc_in_des
¶ Main compressor inlet temp at design [C]
Required: True
Type: float
-
I_T_t_in_des
¶ Turbine inlet temp at design [C]
Required: True
Type: float
-
I_UA_total_des
¶ Total UA allocatable to recuperators [kW/K]
Required: True
Type: float
-
I_W_dot_net_des
¶ Design cycle power output [MW]
Required: True
Type: float
-
I_eta_mc
¶ Design main compressor isentropic efficiency [-]
Required: True
Type: float
-
I_eta_rc
¶ Design re-compressor isentropic efficiency [-]
Required: True
Type: float
-
I_eta_t
¶ Design turbine isentropic efficiency [-]
Required: True
Type: float
-
I_opt_tol
¶ Convergence tolerance - optimization calcs [-]
Required: True
Type: float
-
I_tol
¶ Convergence tolerance for performance calcs [-]
Required: True
Type: float
-
Outputs Group¶
-
class
PySAM.Sco2DesignCycle.Sco2DesignCycle.
Outputs
¶ -
assign
() → None¶ Assign attributes from dictionary
Outputs_vals = { var: val, ...}
-
export
() → dict¶ Export attributes into dictionary
-
O_LT_frac_des
¶ Optimized design point UA distribution [-]
Type: float
-
O_N_mc_des
¶ Design point compressor shaft speed [rpm]
Type: float
-
O_PR_mc_des
¶ Optimized Pressure Ratio across main compressor
Type: float
-
O_P_mc_out_des
¶ Optimized design point high side pressure [MPa]
Type: float
-
O_T_array_des
¶ Cycle temp state points at design [K]
Type: sequence
-
O_eta_thermal_des
¶ Design cycle thermal efficiency [-]
Type: float
-
O_m_dot_PHX
¶ Mass flow rate through primary HX [kg/s]
Type: float
-
O_recomp_frac_des
¶ Optimized recompression fraction [-]
Type: float
-