hyperloop.Python.pod package

Submodules

hyperloop.Python.pod.pod_geometry module

class hyperloop.Python.pod.pod_geometry.PodGeometry[source]

Bases: openmdao.core.component.Component

Params:

A_payload : float

Cross sectional area of passenger compartment. Default value is 2.72

gam : float

Ratio of specific heats. Default value is 1.4

R : float

Ideal gas constant. Default valut is 287 J/(m*K).

p_tunnel : float

Pressure of air in tube. Default value is 850 Pa. Value will come from vacuum component

M_pod : float

pod Mach number. Default value is .8. value will be set by user

A_p : float

Cross sectional area of passenger compartment. Default value is 2.72 m**2

L_comp : float

length of the compressor. Default value is 1.0 m.

L_bat : float

length of battery. Default value is 1.0 m.

L_inverter : float

length of inverter. Default value is 1.0 m.

L_trans : float

length of transformer. Default value is 1.0 m

L_p : float

length of passenger compartment. Default value is 11.2 m

L_conv : float

length of the converging section of the nozzle. Default value is .3 m

L_div : float

length of the diverging section of the nozzle. Default value is 1.5 m

L_motor : float

length of the motor. Default value is 1.0 m

p_duct : float

Static pressure in the duct. Default value is 6800.0 Pa

p_passenger : float

Static pressure in passenger section. Default value is 101.3e3 Pa

rho_pod : float

Density of pod material. Default value is 2700.0 kg/m**3

n_passengers : float

Number of passengers per pod. Default value is 28

SF : float

Structural safety factor. Default value is 1.5

Su : float

Ultimate strength of pod material. Default value is 50.0e6 Pa

A_duct : float

Area of flow duct within pod. Default value is .3 m**2

dl_passenger : float

Length of passenger compartment per passenger row. Default value is .8 m.

g : float

gravitational acceleration. Default value is 9.81 m/s**2

Returns:

A_pod : float

Cross sectional area of pod.

D_pod : float

Diameter of pod

S : float

Platform area of the pod

L_pod : float

Length of Pod

t_passenger : float

thickness of structure in passenger section.

t_pod : float

thickness of outer pod section.

BF : float

Pod blockage factor.

beta : float

Duct blockage factor.

Notes

Computes to corss sectional area, length, and planform area of the pod based on the sizes of internal components and the necessary duct area within the pod based on compressor peformance. Assumes isentropic compression and a compressor exit mach number of .3. Also calculate blockage factors based on pressurized cylinder equations.

solve_nonlinear(p, u, r)[source]

hyperloop.Python.pod.pod_group module

hyperloop.Python.pod.pod_mach module

Estimates tube diameter, inlet diameter, and compressor power Will optimize some sort of cost function based on pod mach number Many parameters are currently taken from hyperloop alpha, pod sizing analysis

class hyperloop.Python.pod.pod_mach.PodMach[source]

Bases: openmdao.core.component.Component

Params:

gam : float

Ratio of specific heats. Default value is 1.4

R : float

Ideal gas constant. Default valut is 287 J/(m*K).

A_pod : float

cross sectional area of the pod. Default value is 1.4 m**2. Value will be taken from pod geometry module

comp_inlet_area : float

Inlet area of compressor. (m**2)

L : float

Pod length. Default value is 22 m. Value will be taken from pod geometry module

prc : float

Pressure ratio across compressor inlet and outlet. Default value is 12.5. Value will be taken from NPSS

p_tube : float

Pressure of air in tube. Default value is 850 Pa. Value will come from vacuum component

T_ambient : float

Tunnel ambient temperature. Default value is 298 K.

mu : float

Fluid dynamic viscosity. Default value is 1.846e-5 kg/(m*s)

M_duct : float

Maximum Mach number allowed in the duct. Default value is .95

M_diff : float

Maximum Mach number allowed at compressor inlet. Default valu is .6

cp : float

Specific heat of fluid. Default value is 1009 J/(kg*K)

M_pod : float

pod Mach number. Default value is .8

Returns:

A_tube : float

will return optimal tunnel area based on pod Mach number

pwr_comp : float

will return the power that needs to be delivered to the flow by the compressor. Does not account for compressor efficiency

A_bypass : float

will return area of that the flow must go through to bypass pod

A_inlet : float

returns area of the inlet necessary to slow the flow down to M_diffuser

A_duct_eff : float

returns effective duct area which accounts for displacement boundary layer thickness approximation

A_diff : float

returns area of diffuser outlet

Re : float

returns free stream Reynolds number

Notes

Uses isentropic mach-area relationships to determine the cross sectional area of the tube to prevent choking and super sonic flow. Takes pod mach number and tunnel pressure from user, then takes pod area and bloackage factor from geometry.s

solve_nonlinear(params, unknowns, resids)[source]

hyperloop.Python.pod.pod_mass module

class hyperloop.Python.pod.pod_mass.PodMass[source]

Bases: openmdao.core.component.Component

The PodMass Component sums all the mass to find the total mass of the pod
mag_mass : float
Mass of permanent magnets. (kg)
podgeo_d : float
Diameter of pod. (m)
al_rho : float
Density of the aluminium (kg/m**3)
motor_mass : float
Mass of motor (kg)
battery_mass : float
Mass of battery. (kg)
comp_mass : float
Mass of Compressor. (kg)
pod_len : float
Length of pod. (m)
comp_inletArea : float
Area of compressor (m**2)
BF : float
Blockage factor (unitless)
n_passengers : float
Number of passengers
m_per_passenger : float
mass per passenger (kg)
pod_mass : float
Pod Mass (kg)
solve_nonlinear(params, unknowns, resids)[source]

Module contents