Sco2CspUdPcTables¶
Wrapper for SAM Simulation Core model: cmod_sco2_csp_ud_pc_tables.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.
Sco2CspUdPcTables model description
Supercritical CO2 Power Cycle
-
PySAM.Sco2CspUdPcTables.default(config) → Sco2CspUdPcTables¶ Use financial config-specific default attributes
-
PySAM.Sco2CspUdPcTables.from_existing(data, optional config) → Sco2CspUdPcTables¶ Share underlying data with an existing PySAM class. If config provided, default attributes are loaded otherwise.
-
PySAM.Sco2CspUdPcTables.new() → Sco2CspUdPcTables¶
-
PySAM.Sco2CspUdPcTables.wrap(ssc_data_t) → Sco2CspUdPcTables¶ Use existing PySSC data
Warning
Do not call PySSC.data_free on the ssc_data_t provided to
wrap
Functions¶
-
class
PySAM.Sco2CspUdPcTables.Sco2CspUdPcTables¶ 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 = { 'System Design': { 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.
-
SystemDesign Group¶
-
class
PySAM.Sco2CspUdPcTables.Sco2CspUdPcTables.SystemDesign¶ -
assign() → None¶ Assign attributes from dictionary
SystemDesign_vals = { var: val, ...}
-
export() → dict¶ Export attributes into dictionary
-
T_amb_des¶ Ambient temperature [C]
Required: True
Type: float
-
T_htf_hot_des¶ HTF design hot temperature (PHX inlet) [C]
Required: True
Type: float
-
W_dot_net_des¶ Design cycle power output (no cooling parasitics) [MWe]
Required: True
Type: float
-
dT_PHX_hot_approach¶ Temp diff btw hot HTF and turbine inlet [C]
Required: True
Type: float
-
dT_mc_approach¶ Temp diff btw ambient air and main compressor inlet [C]
Required: True
Type: float
-
design_method¶ 1 = Specify efficiency, 2 = Specify total recup UA, 3 = Specify each recup design
Required: True
Type: float
-
eta_thermal_des¶ Power cycle thermal efficiency
Required: True if design_method=1
Type: float
-
htf¶ Integer code for HTF used in PHX
Required: True
Type: float
-
htf_props¶ User defined HTF property data
Info: 7 columns (T,Cp,dens,visc,kvisc,cond,h), at least 3 rows
Required: If not provided, assumed to be [[0]]
Type: sequence[sequence]
-
site_elevation¶ Site elevation [m]
Required: True
Type: float
-
HeatExchangerDesign Group¶
-
class
PySAM.Sco2CspUdPcTables.Sco2CspUdPcTables.HeatExchangerDesign¶ -
assign() → None¶ Assign attributes from dictionary
HeatExchangerDesign_vals = { var: val, ...}
-
export() → dict¶ Export attributes into dictionary
-
HTR_HP_deltaP_des_in¶ HTR high pressure side pressure drop as fraction of inlet pressure [-]
Info: High temperature recuperator
Type: float
-
HTR_LP_deltaP_des_in¶ HTR low pressure side pressure drop as fraction of inlet pressure [-]
Info: High temperature recuperator
Type: float
-
HTR_UA_des_in¶ Design HTR conductance [kW/K]
Info: High temperature recuperator
Required: True if design_method=3
Type: float
-
HTR_design_code¶ 1 = UA, 2 = min dT, 3 = effectiveness [-]
Info: High temperature recuperator
Required: True if design_method=3
Type: float
-
HTR_eff_des_in¶ Design effectiveness for HTR [-]
Info: High temperature recuperator
Required: True if design_method=3
Type: float
-
HTR_min_dT_des_in¶ Design minimum allowable temperature difference in HTR [C]
Info: High temperature recuperator
Required: True if design_method=3
Type: float
-
HT_recup_eff_max¶ Maximum allowable effectiveness in HTR [-]
Info: High temperature recuperator
Required: If not provided, assumed to be 1.0
Type: float
-
LTR_HP_deltaP_des_in¶ LTR high pressure side pressure drop as fraction of inlet pressure [-]
Info: Low temperature recuperator
Type: float
-
LTR_LP_deltaP_des_in¶ LTR low pressure side pressure drop as fraction of inlet pressure [-]
Info: Low temperature recuperator
Type: float
-
LTR_UA_des_in¶ Design LTR conductance [kW/K]
Info: Low temperature recuperator
Required: True if design_method=3
Type: float
-
LTR_design_code¶ 1 = UA, 2 = min dT, 3 = effectiveness [-]
Info: Low temperature recuperator
Required: True if design_method=3
Type: float
-
LTR_eff_des_in¶ Design effectiveness for LTR [-]
Info: Low temperature recuperator
Required: True if design_method=3
Type: float
-
LTR_min_dT_des_in¶ Design minimum allowable temperature difference in LTR [C]
Info: Low temperature recuperator
Required: True if design_method=3
Type: float
-
LT_recup_eff_max¶ Maximum allowable effectiveness in LTR [-]
Info: Low temperature recuperator
Required: If not provided, assumed to be 1.0
Type: float
-
UA_recup_tot_des¶ Total recuperator conductance [kW/K]
Info: Combined recuperator design
Required: True if design_method=2
Type: float
-
cycle_config¶ 1 = recompression, 2 = partial cooling
Info: High temperature recuperator
Required: If not provided, assumed to be 1
Type: float
-
des_objective¶ [2] = hit min phx deltat then max eta, [else] max eta
Info: High temperature recuperator
Required: If not provided, assumed to be 0
Type: float
-
is_IP_fixed¶ 0 = No, >0 = fixed HP-IP pressure ratio at input, <0 = fixed IP at abs(input)
Info: High temperature recuperator
Required: If not provided, assumed to be 0
Type: float Type: partial cooling config
-
is_PR_fixed¶ 0 = No, >0 = fixed pressure ratio at input <0 = fixed LP at abs(input) [High temperature recuperator]
Required: If not provided, assumed to be 0
Type: float
-
is_P_high_fixed¶ 1 = Yes (=P_high_limit), 0 = No, optimized (default)
Info: High temperature recuperator
Required: If not provided, assumed to be 0
Type: float
-
is_recomp_ok¶ 1 = Yes, 0 = simple cycle only, < 0 = fix f_recomp to abs(input)
Info: High temperature recuperator
Required: If not provided, assumed to be 1
Type: float
-
min_phx_deltaT¶ Minimum design temperature difference across PHX [C]
Info: High temperature recuperator
Required: If not provided, assumed to be 0
Type: float
-
rel_tol¶ Baseline solver and optimization relative tolerance exponent (10^-rel_tol) [-]
Info: High temperature recuperator
Required: If not provided, assumed to be 3
Type: float
-
CycleDesign Group¶
-
class
PySAM.Sco2CspUdPcTables.Sco2CspUdPcTables.CycleDesign¶ -
assign() → None¶ Assign attributes from dictionary
CycleDesign_vals = { var: val, ...}
-
export() → dict¶ Export attributes into dictionary
-
PHX_co2_deltaP_des_in¶ PHX co2 side pressure drop as fraction of inlet pressure [-]
Type: float
-
P_high_limit¶ High pressure limit in cycle [MPa]
Required: True
Type: float
-
deltaP_counterHX_frac¶ Fraction of CO2 inlet pressure that is design point counterflow HX (recups & PHX) pressure drop [-]
Required: If not provided, assumed to be 0
Type: float
-
eta_isen_mc¶ Design main compressor isentropic efficiency [-]
Required: True
Type: float
-
eta_isen_pc¶ Design precompressor isentropic efficiency [-]
Required: True if cycle_config=2
Type: float
-
eta_isen_rc¶ Design re-compressor isentropic efficiency [-]
Required: True
Type: float
-
eta_isen_t¶ Design turbine isentropic efficiency [-]
Required: True
Type: float
-
PHXDesign Group¶
AirCoolerDesign Group¶
-
class
PySAM.Sco2CspUdPcTables.Sco2CspUdPcTables.AirCoolerDesign¶ -
assign() → None¶ Assign attributes from dictionary
AirCoolerDesign_vals = { var: val, ...}
-
export() → dict¶ Export attributes into dictionary
-
deltaP_cooler_frac¶ Fraction of CO2 inlet pressure that is design point cooler CO2 pressure drop
Required: True
Type: float
-
fan_power_frac¶ Fraction of net cycle power consumed by air cooler fan
Required: True
Type: float
-
is_design_air_cooler¶ Defaults to True. False will skip air cooler calcs
Required: If not provided, assumed to be 1.0
Type: float
-
Common Group¶
-
class
PySAM.Sco2CspUdPcTables.Sco2CspUdPcTables.Common¶ -
assign() → None¶ Assign attributes from dictionary
Common_vals = { var: val, ...}
-
export() → dict¶ Export attributes into dictionary
-
T_amb_high¶ Upper level of ambient temperature [C]
Type: float
-
T_amb_low¶ Lower level of ambient temperature [C]
Type: float
-
T_htf_hot_high¶ Upper level of HTF hot temperature [C]
Type: float
-
T_htf_hot_low¶ Lower level of HTF hot temperature [C]
Type: float
-
is_apply_default_htf_mins¶ 1 = yes (0.5 rc, 0.7 simple), 0 = no, only use ‘m_dot_htf_ND_low’
Required: If not provided, assumed to be 1
Type: float
-
is_generate_udpc¶ 1 = generate udpc tables, 0 = only calculate design point cyle
Required: If not provided, assumed to be 1
Type: float
-
m_dot_htf_ND_high¶ Upper level of normalized HTF mass flow rate
Type: float
-
m_dot_htf_ND_low¶ Lower level of normalized HTF mass flow rate
Type: float
-
n_T_amb¶ Number of ambient temperature parametric runs
Type: float
-
n_T_htf_hot¶ Number of HTF hot temperature parametric runs
Type: float
-
n_m_dot_htf_ND¶ Number of normalized HTF mass flow rate parametric runs
Type: float
-
Outputs Group¶
-
class
PySAM.Sco2CspUdPcTables.Sco2CspUdPcTables.Outputs¶ -
assign() → None¶ Assign attributes from dictionary
Outputs_vals = { var: val, ...}
-
export() → dict¶ Export attributes into dictionary
-
HTR_HP_T_in_des¶ High temp recuperator HP inlet temperature [C]
Type: float
-
HTR_HP_deltaP_des¶ High temp recuperator high pressure design pressure drop [-]
Type: float
-
HTR_LP_T_out_des¶ High temp recuperator LP outlet temperature [C]
Type: float
-
HTR_LP_deltaP_des¶ High temp recuperator low pressure design pressure drop [-]
Type: float
-
HTR_UA_assigned¶ High temp recuperator UA assigned from total [MW/K]
Type: float
-
HTR_UA_calculated¶ High temp recuperator UA calculated considering max eff and/or min temp diff parameter [MW/K]
Type: float
-
HTR_cost¶ High temp recuperator cost [M$]
Type: float
-
HTR_min_dT¶ High temp recuperator min temperature difference [C]
Type: float
-
IP_cooler_P_in¶ Intermediate pressure cross flow cooler inlet pressure [MPa]
Type: float
-
IP_cooler_T_in¶ Intermediate pressure cross flow cooler inlet temperature [C]
Type: float
-
IP_cooler_UA¶ Intermediate pressure cross flow cooler conductance [MW/K]
Type: float
-
IP_cooler_W_dot_fan¶ Intermediate pressure cooler fan power [MWe]
Type: float
-
IP_cooler_cost¶ Intermediate pressure cooler cost [M$]
Type: float
-
IP_cooler_m_dot_co2¶ Intermediate pressure cross flow cooler CO2 mass flow rate [kg/s]
Type: float
-
IP_cooler_q_dot¶ Intermediate pressure cooler heat transfer [MWt]
Type: float
-
LP_cooler_P_in¶ Low pressure cross flow cooler inlet pressure [MPa]
Type: float
-
LP_cooler_T_in¶ Low pressure cross flow cooler inlet temperature [C]
Type: float
-
LP_cooler_UA¶ Low pressure cross flow cooler conductance [MW/K]
Type: float
-
LP_cooler_W_dot_fan¶ Low pressure cooler fan power [MWe]
Type: float
-
LP_cooler_co2_deltaP_des¶ Low pressure cooler co2 side design pressure drop [-]
Type: float
-
LP_cooler_cost¶ Low pressure cooler cost [M$]
Type: float
-
LP_cooler_in_isen_deltah_to_P_mc_out¶ Low pressure cross flow cooler inlet isen enthalpy rise to mc outlet pressure [kJ/kg]
Type: float
-
LP_cooler_m_dot_co2¶ Low pressure cross flow cooler CO2 mass flow rate [kg/s]
Type: float
-
LP_cooler_q_dot¶ Low pressure cooler heat transfer [MWt]
Type: float
-
LP_cooler_rho_in¶ Low pressure cross flow cooler inlet density [kg/m3]
Type: float
-
LTR_HP_T_out_des¶ Low temp recuperator HP outlet temperature [C]
Type: float
-
LTR_HP_deltaP_des¶ Low temp recuperator high pressure design pressure drop [-]
Type: float
-
LTR_LP_deltaP_des¶ Low temp recuperator low pressure design pressure drop [-]
Type: float
-
LTR_UA_assigned¶ Low temp recuperator UA assigned from total [MW/K]
Type: float
-
LTR_UA_calculated¶ Low temp recuperator UA calculated considering max eff and/or min temp diff parameter [MW/K]
Type: float
-
LTR_cost¶ Low temp recuperator cost [M$]
Type: float
-
LTR_min_dT¶ Low temp recuperator min temperature difference [C]
Type: float
-
NTU_HTR¶ High temp recuperator NTRU
Type: float
-
NTU_LTR¶ Low temp recuperator NTU
Type: float
-
NTU_PHX¶ PHX NTU
Type: float
-
PHX_co2_deltaP_des¶ PHX co2 side design pressure drop [-]
Type: float
-
PHX_cost¶ PHX cost [M$]
Type: float
-
P_co2_PHX_in¶ CO2 pressure at PHX inlet [MPa]
Type: float
-
P_comp_in¶ Compressor inlet pressure [MPa]
Type: float
-
P_comp_out¶ Compressor outlet pressure [MPa]
Type: float
-
P_mc_data¶ Pressure points along main compression [MPa]
Type: sequence
-
P_pc_data¶ Pressure points along pre compression [MPa]
Type: sequence
-
P_rc_data¶ Pressure points along re compression [MPa]
Type: sequence
-
P_state_points¶ Cycle pressure state points [MPa]
Type: sequence
-
P_t_data¶ Pressure points along turbine expansion [MPa]
Type: sequence
-
T_HTR_HP_data¶ Temperature points along HTR HP stream [C]
Type: sequence
-
T_HTR_LP_data¶ Temperature points along HTR LP stream [C]
Type: sequence
-
T_LTR_HP_data¶ Temperature points along LTR HP stream [C]
Type: sequence
-
T_LTR_LP_data¶ Temperature points along LTR LP stream [C]
Type: sequence
-
T_PHX_data¶ Temperature points along PHX stream [C]
Type: sequence
-
T_amb_ind¶ Parametric of ambient temp w/ HTF temp levels
Type: sequence[sequence]
-
T_co2_PHX_in¶ CO2 temperature at PHX inlet [C]
Type: float
-
T_comp_in¶ Compressor inlet temperature [C]
Type: float
-
T_htf_cold_des¶ HTF design cold temperature (PHX outlet) [C]
Type: float
-
T_htf_ind¶ Parametric of HTF temperature w/ ND HTF mass flow rate levels
Type: sequence[sequence]
-
T_main_cooler_data¶ Temperature points along main cooler stream [C]
Type: sequence
-
T_pre_cooler_data¶ Temperature points along pre cooler stream [C]
Type: sequence
-
T_state_points¶ Cycle temperature state points [C]
Type: sequence
-
T_turb_in¶ Turbine inlet temperature [C]
Type: float
-
UA_PHX¶ PHX Conductance [MW/K]
Type: float
-
c_tot_W_dot¶ Compressor total summed power [MWe]
Type: float
-
c_tot_cost¶ Compressor total cost [M$]
Type: float
-
cooler_tot_UA¶ Total cooler conductance [MW/K]
Type: float
-
cooler_tot_W_dot_fan¶ Total cooler fan power [MWe]
Type: float
-
cooler_tot_cost¶ Total cooler cost [M$]
Type: float
-
cycle_cost¶ Cycle cost [M$]
Type: float
-
cycle_spec_cost¶ Cycle specific cost [$/kWe]
Type: float
-
cycle_spec_cost_thermal¶ Cycle specific cost - thermal [$/kWt]
Type: float
-
deltaT_HTF_PHX¶ HTF temp difference across PHX [C]
Type: float
-
eff_HTR¶ High temp recuperator effectiveness
Type: float
-
eff_LTR¶ Low temp recuperator effectiveness
Type: float
-
eff_PHX¶ PHX effectiveness
Type: float
-
eta_thermal_calc¶ Calculated cycle thermal efficiency [-]
Type: float
-
h_mc_data¶ Enthalpy points along main compression [kJ/kg]
Type: sequence
-
h_pc_data¶ Enthalpy points along pre compression [kJ/kg]
Type: sequence
-
h_rc_data¶ Enthalpy points along re compression [kJ/kg]
Type: sequence
-
h_state_points¶ Cycle enthalpy state points [kJ/kg]
Type: sequence
-
h_t_data¶ Enthalpy points along turbine expansion [kJ/kg]
Type: sequence
-
m_dot_co2_full¶ CO2 mass flow rate through HTR, PHX, turbine [kg/s]
Type: float
-
m_dot_htf_ND_ind¶ Parametric of ND HTF mass flow rate w/ ambient temp levels
Type: sequence[sequence]
-
m_dot_htf_des¶ HTF mass flow rate [kg/s]
Type: float
-
mc_D¶ Compressor stage diameters [m]
Type: sequence
-
mc_N_des¶ Compressor design shaft speed [rpm]
Type: float
-
mc_T_out¶ Compressor outlet temperature [C]
Type: float
-
mc_W_dot¶ Compressor power [MWe]
Type: float
-
mc_cost¶ Compressor cost [M$]
Type: float
-
mc_eta_stages_des¶ Compressor design stage isentropic efficiencies
Type: sequence
-
mc_ideal_spec_work¶ Compressor ideal spec work [kJ/kg]
Type: float
-
mc_m_dot_des¶ Compressor mass flow rate [kg/s]
Type: float
-
mc_n_stages¶ Compressor stages
Type: float
-
mc_phi_des¶ Compressor design flow coefficient
Type: float
-
mc_phi_surge¶ Compressor flow coefficient where surge occurs
Type: float
-
mc_psi_des¶ Compressor design ideal head coefficient
Type: float
-
mc_psi_max_at_N_des¶ Compressor max ideal head coefficient at design shaft speed
Type: float
-
mc_rho_in¶ Compressor inlet density [kg/m3]
Type: float
-
mc_tip_ratio_des¶ Compressor design stage tip speed ratio
Type: sequence
-
pc_D¶ Precompressor stage diameters [m]
Type: sequence
-
pc_N_des¶ Precompressor design shaft speed [rpm]
Type: float
-
pc_P_in_des¶ Precompressor inlet pressure [MPa]
Type: float
-
pc_T_in_des¶ Precompressor inlet temperature [C]
Type: float
-
pc_W_dot¶ Precompressor power [MWe]
Type: float
-
pc_cost¶ Precompressor cost [M$]
Type: float
-
pc_eta_stages_des¶ Precompressor design stage isenstropic efficiencies
Type: sequence
-
pc_ideal_spec_work_des¶ Precompressor ideal spec work [kJ/kg]
Type: float
-
pc_m_dot_des¶ Precompressor mass flow rate [kg/s]
Type: float
-
pc_n_stages¶ Precompressor stages
Type: float
-
pc_phi_des¶ Precompressor design flow coefficient
Type: float
-
pc_phi_surge¶ Precompressor flow coefficient where surge occurs
Type: float
-
pc_rho_in_des¶ Precompressor inlet density [kg/m3]
Type: float
-
pc_tip_ratio_des¶ Precompressor design stage tip speed ratio
Type: sequence
-
q_dot_HTR¶ High temp recuperator heat transfer [MWt]
Type: float
-
q_dot_LTR¶ Low temp recuperator heat transfer [MWt]
Type: float
-
q_dot_PHX¶ PHX heat transfer [MWt]
Type: float
-
rc_D¶ Recompressor stage diameters [m]
Type: sequence
-
rc_N_des¶ Recompressor design shaft speed [rpm]
Type: float
-
rc_P_in_des¶ Recompressor inlet pressure [MPa]
Type: float
-
rc_P_out_des¶ Recompressor inlet pressure [MPa]
Type: float
-
rc_T_in_des¶ Recompressor inlet temperature [C]
Type: float
-
rc_T_out_des¶ Recompressor inlet temperature [C]
Type: float
-
rc_W_dot¶ Recompressor power [MWe]
Type: float
-
rc_cost¶ Recompressor cost [M$]
Type: float
-
rc_eta_stages_des¶ Recompressor design stage isenstropic efficiencies
Type: sequence
-
rc_m_dot_des¶ Recompressor mass flow rate [kg/s]
Type: float
-
rc_n_stages¶ Recompressor stages
Type: float
-
rc_phi_des¶ Recompressor design flow coefficient
Type: float
-
rc_phi_surge¶ Recompressor flow coefficient where surge occurs
Type: float
-
rc_psi_des¶ Recompressor design ideal head coefficient
Type: float
-
rc_psi_max_at_N_des¶ Recompressor max ideal head coefficient at design shaft speed
Type: float
-
rc_tip_ratio_des¶ Recompressor design stage tip speed ratio
Type: sequence
-
recomp_frac¶ Recompression fraction [-]
Type: float
-
recup_LTR_UA_frac¶ Fraction of total conductance to LTR
Type: float
-
recup_total_UA_assigned¶ Total recuperator UA assigned to design routine [MW/K]
Type: float
-
recup_total_UA_calculated¶ Total recuperator UA calculated considering max eff and/or min temp diff parameter [MW/K]
Type: float
-
recup_total_cost¶ Total recuperator cost [M$]
Type: float
-
s_HTR_HP_data¶ Entropy points along HTR HP stream [kJ/kg-K]
Type: sequence
-
s_HTR_LP_data¶ Entropy points along HTR LP stream [kJ/kg-K]
Type: sequence
-
s_LTR_HP_data¶ Entropy points along LTR HP stream [kJ/kg-K]
Type: sequence
-
s_LTR_LP_data¶ Entropy points along LTR LP stream [kJ/kg-K]
Type: sequence
-
s_PHX_data¶ Entropy points along PHX stream [kJ/kg-K]
Type: sequence
-
s_main_cooler_data¶ Entropy points along main cooler stream [kJ/kg-K]
Type: sequence
-
s_pre_cooler_data¶ Entropy points along pre cooler stream [kJ/kg-K]
Type: sequence
-
s_state_points¶ Cycle entropy state points [kJ/kg-K]
Type: sequence
-
t_D¶ Turbine diameter [m]
Type: float
-
t_N_des¶ Turbine design shaft speed [rpm]
Type: float
-
t_P_in_des¶ Turbine design inlet pressure [MPa]
Type: float
-
t_P_out_des¶ Turbine design outlet pressure [MPa]
Type: float
-
t_T_out_des¶ Turbine outlet temperature [C]
Type: float
-
t_W_dot¶ Turbine power [MWe]
Type: float
-
t_cost¶ Tubine cost [M$]
Type: float
-
t_m_dot_des¶ Turbine mass flow rate [kg/s]
Type: float
-
t_nu_des¶ Turbine design velocity ratio
Type: float
-
t_tip_ratio_des¶ Turbine design tip speed ratio
Type: float
-