Sco2AirCooler¶
Wrapper for SAM Simulation Core model: cmod_sco2_air_cooler.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.
Sco2AirCooler model description
Supercritical CO2 Power Cycle Air Cooler
-
PySAM.Sco2AirCooler.
default
(config) → Sco2AirCooler¶ Use financial config-specific default attributes
-
PySAM.Sco2AirCooler.
from_existing
(data, optional config) → Sco2AirCooler¶ Share underlying data with an existing PySAM class. If config provided, default attributes are loaded otherwise.
-
PySAM.Sco2AirCooler.
new
() → Sco2AirCooler¶
-
PySAM.Sco2AirCooler.
wrap
(ssc_data_t) → Sco2AirCooler¶ Use existing PySSC data
Warning
Do not call PySSC.data_free on the ssc_data_t provided to
wrap
Functions¶
-
class
PySAM.Sco2AirCooler.
Sco2AirCooler
¶ 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.Sco2AirCooler.Sco2AirCooler.
Common
¶ -
assign
() → None¶ Assign attributes from dictionary
Common_vals = { var: val, ...}
-
export
() → dict¶ Export attributes into dictionary
-
P_co2_hot_in
¶ Pressure of CO2 at inlet to cooler [MPa]
Required: True
Type: float
-
T_amb
¶ Ambient temperature at design [C]
Required: True
Type: float
-
T_co2_cold_out
¶ Cold temperature of CO2 at cooler exit [C]
Required: True
Type: float
-
T_co2_hot_in
¶ Hot temperature of CO2 at inlet to cooler [C]
Required: True
Type: float
-
W_dot_fan
¶ Air fan power [MWe]
Required: True
Type: float
-
deltaP
¶ Pressure drop of CO2 through cooler [MPa]
Required: True
Type: float
-
q_dot_reject
¶ Heat rejected from CO2 stream [MWt]
Required: True
Type: float
-
site_elevation
¶ Site elevation [m]
Required: True
Type: float
-
Outputs Group¶
-
class
PySAM.Sco2AirCooler.Sco2AirCooler.
Outputs
¶ -
assign
() → None¶ Assign attributes from dictionary
Outputs_vals = { var: val, ...}
-
export
() → dict¶ Export attributes into dictionary
-
UA_total
¶ Total air-side conductance [kW/K]
Type: float
-
d_tube_in
¶ CO2 tube inner diameter [cm]
Type: float
-
d_tube_out
¶ CO2 tube outer diameter [cm]
Type: float
-
depth_footprint
¶ Dimension of total air cooler in loop/air flow direction [m]
Type: float
-
length
¶ Length of tube (one pass) [m]
Type: float
-
m_V_hx_material
¶ Total hx material volume - no headers [m^3]
Type: float
-
n_passes_series
¶ Number of serial tubes in flow path [-]
Type: float
-
number_of_tubes
¶ Number of tubes (one pass) [-]
Type: float
-
parallel_paths
¶ Number of parallel flow paths [-]
Type: float
-
width_footprint
¶ Dimension of total air cooler of parallel loops [m]
Type: float
-