hyperloop.Python.pod.cycle package¶
Submodules¶
hyperloop.Python.pod.cycle.comp_len module¶
-
class
hyperloop.Python.pod.cycle.comp_len.CompressorLen[source]¶ Bases:
openmdao.core.component.ComponentThe CompressorMass class represents a compressor length component in an OpenMDAO model.
A CompressorMass models length of a compressor that uses NPSS data to obtain enthalpy data,and mass_flow for a particular pressure ratio. It also uses a correlation derived by Micheal Tong at NASA Glenn Center to obtain Compressor Length.
Params: h_in : float
Heat in. (kJ/kg)
h_out : float
Heat out. (kJ/kg)
comp_inletArea : float
Compressor Inlet Area. (m**2)
h_stage : float
enthalpy added per stage. (kJ/kg)
Returns: comp_len : float
Length of Compressor (m)
References
[R1] Michael Tong Correlation used.
[R2] NASA-Glenn NPSS compressor cycle model.
hyperloop.Python.pod.cycle.compressor_mass module¶
-
class
hyperloop.Python.pod.cycle.compressor_mass.CompressorMass[source]¶ Bases:
openmdao.core.component.ComponentThe CompressorMass class represents a compressor mass component in an OpenMDAO model.
A CompressorMass models mass of a compressor that uses NPSS data to obtain enthalpy data,and mass_flow for a particular pressure ratio. It also uses a correlation derived by Miceal Tong at NASA Glenn Center to obtain Compressor Mass.
Params: comp_eff : float
Compressor Efficiency. (unitless)
mass_flow : float
Mass Flow for Compressor. (kg/s)
h_in : float
Heat in. (kJ/kg)
h_out : float
Heat out. (kJ/kg)
comp_inletArea : float
Compressor Inlet Area. (m**2)
Returns: comp_mass : float
Compressor Mass (kg)
References
[R3] Michael Tong Correlation used. [R4] NASA-Glenn NPSS compressor cycle model. -
solve_nonlinear(params, unknowns, resids)[source]¶ Runs the CompressorMass component and sets its respective outputs to their calculated results
Args: params : VecWrapper
VecWrapper containing parameters
unknowns : VecWrapper
VecWrapper containing outputs and states
resids : VecWrapper
VecWrapper containing residuals
-
hyperloop.Python.pod.cycle.cycle_group module¶
hyperloop.Python.pod.cycle.flow_path module¶
hyperloop.Python.pod.cycle.flow_path_inputs module¶
A group that converts user inputs into format flow_path needs
-
class
hyperloop.Python.pod.cycle.flow_path_inputs.FlowPathInputs[source]¶ Bases:
openmdao.core.component.ComponentParams: tube_pressure : float
Ambient temperature inside tube (K)
pod_mach : float
Pod mach number (unitless)
comp_inlet_area : float
Compressor inlet area (m**2)
tube_temp : float
Ambient temperature inside tube (K)
gamma : float
Specific heat ratio
comp_mach : float
Compressor mach number (unitless)
R : float
Ideal gas constant (J/(kg*K))
eta : float
Efficiency of inlet (unitless)
Returns: Pt : float
Total pressure inside tube (Pa)
Tt : float
Total temperature inside tube (K)
m_dot : float
Mass flow rate (kg/s)