Source Documentation

aero.py

class hyperloop.aero.Aero[source]

Bases: openmdao.main.component.Component

Place holder for real aerodynamic calculations of the capsule

Float area_capsule

capsule frontal area

  • default: ‘18000.0’
  • iotype: ‘in’
  • units: ‘cm**2’
  • vartypename: ‘Float’
Float coef_drag

capsule drag coefficient

  • default: ‘1.0’
  • iotype: ‘in’
  • vartypename: ‘Float’
Float gross_thrust

nozzle gross thrust

  • default: ‘0.0’
  • iotype: ‘in’
  • units: ‘N’
  • vartypename: ‘Float’
Float rho

tube air density

  • default: ‘0.0’
  • iotype: ‘in’
  • units: ‘kg/m**3’
  • vartypename: ‘Float’
Float velocity_capsule

capsule frontal area

  • default: ‘600.0’
  • iotype: ‘in’
  • units: ‘m/s’
  • vartypename: ‘Float’
Float drag

Drag Force

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘N’
  • vartypename: ‘Float’
Float net_force

Net force with drag considerations

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘N’
  • vartypename: ‘Float’
execute()[source]

compression_system.py

class hyperloop.cycle.compression_system.CompressionSystem[source]

Bases: openmdao.main.assembly.Assembly

Float Mach_c1_in

Mach number at entrance to the first compressor at design conditions

  • default: ‘0.6’
  • iotype: ‘in’
  • vartypename: ‘Float’
Float Mach_pod_max

Maximum travel Mach of the pod

  • default: ‘1.0’
  • iotype: ‘in’
  • vartypename: ‘Float’
Float Ps_bearing

Static pressure of the bearing air

  • default: ‘11000.0’
  • iotype: ‘in’
  • units: ‘Pa’
  • vartypename: ‘Float’
Float Ps_tube

static pressure in the tube

  • default: ‘99.0’
  • iotype: ‘in’
  • units: ‘Pa’
  • vartypename: ‘Float’
Float Ts_tube

static temperature in the tube

  • default: ‘292.1’
  • iotype: ‘in’
  • units: ‘degK’
  • vartypename: ‘Float’
Float W_bearing_in

required mass flow rate for the bearing system

  • default: ‘0.2’
  • iotype: ‘in’
  • units: ‘kg/s’
  • vartypename: ‘Float’
Float W_in

mass flow rate into the compression system

  • default: ‘0.69’
  • iotype: ‘in’
  • units: ‘kg/s’
  • vartypename: ‘Float’
Float c1_PR_des

pressure ratio of first compressor at design conditions

  • default: ‘12.47’
  • iotype: ‘in’
  • vartypename: ‘Float’
Float c2_PR_des

pressure ratio of second compressor at design conditions

  • default: ‘5.0’
  • iotype: ‘in’
  • vartypename: ‘Float’
Float F_net

Thrust generated by the nozzle

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘N’
  • vartypename: ‘Float’
Float Ps_bearing_residual

residual related to the proper value for bearing air static pressure

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘Pa’
  • vartypename: ‘Float’
Float area_c1_in

flow area required for the input to the first compressor

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘cm**2’
  • vartypename: ‘Float’
Float area_c1_out

flow area required for the output to the first compressor

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘cm**2’
  • vartypename: ‘Float’
Float area_inlet_in

flow area required for the first compressor

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘cm**2’
  • vartypename: ‘Float’
FlowStation bearing_Fl_O

flow exiting the bearings

  • default: ‘<pycycle.flowstation.AirFlowStation object at 0x1124d0830>’
  • iotype: ‘out’
  • copy: None
  • vartypename: ‘FlowStation’
FlowStation nozzle_Fl_O

flow exiting the nozzle

  • default: ‘<pycycle.flowstation.AirFlowStation object at 0x1124d07d0>’
  • iotype: ‘out’
  • copy: None
  • vartypename: ‘FlowStation’
Float nozzle_flow_area

flow area required for the nozzle exit

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘cm**2’
  • vartypename: ‘Float’
Float pwr_req

pwr required to drivr the compression system

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘kW’
  • vartypename: ‘Float’
Float rho_air

Density (needed for aero calcs in another component)

  • default: ‘0.0’
  • iotype: ‘out’
  • vartypename: ‘Float’
Float speed_max

maximum velocity of the pod

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘m/s’
  • vartypename: ‘Float’
configure()[source]
class hyperloop.cycle.compression_system.Performance[source]

Bases: pycycle.cycle_component.CycleComponent

Float C1_pwr
  • default: ‘0.0’
  • iotype: ‘in’
  • units: ‘hp’
  • vartypename: ‘Float’
Float C2_pwr
  • default: ‘0.0’
  • iotype: ‘in’
  • units: ‘hp’
  • vartypename: ‘Float’
Float F_ram
  • default: ‘0.0’
  • iotype: ‘in’
  • units: ‘lbf’
  • vartypename: ‘Float’
Float Fg
  • default: ‘0.0’
  • iotype: ‘in’
  • units: ‘lbf’
  • vartypename: ‘Float’
Float Ps_bearing
  • default: ‘0.0’
  • iotype: ‘in’
  • units: ‘psi’
  • vartypename: ‘Float’
Float Ps_bearing_target
  • default: ‘0.0’
  • iotype: ‘in’
  • units: ‘psi’
  • vartypename: ‘Float’
Float F_net
  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘lbf’
  • vartypename: ‘Float’
Float Ps_bearing_residual

residual related to the proper value for bearing air static pressure

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘psi’
  • vartypename: ‘Float’
Float pwr
  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘hp’
  • vartypename: ‘Float’
execute()[source]

heat_exchanger.py

Originally built by Scott Jones in NPSS, ported and augmented by Jeff Chin

NTU (effectiveness) Method Determine the heat transfer rate and outlet temperatures when the type and size of the heat exchanger is specified.

NTU Limitations 1) Effectiveness of the chosen heat exchanger must be known (empirical)

class hyperloop.cycle.heat_exchanger.HeatExchanger[source]

Bases: pycycle.cycle_component.CycleComponent

Calculates required Q to reach perscribed temperatures for a water-to-air heat exchanger

Float Cp_cold

Specific Heat of the cold fluid (water)

  • default: ‘4186.0’
  • iotype: ‘in’
  • units: ‘J/(kg*K)’
  • vartypename: ‘Float’
FlowStation Fl_I

incoming air stream to heat exchanger

  • default: ‘<pycycle.flowstation.AirFlowStation object at 0x112580bf0>’
  • iotype: ‘in’
  • copy: None
  • vartypename: ‘FlowStation’
Float MNexit_des

mach number at the exit of heat exchanger

  • default: ‘0.6’
  • iotype: ‘in’
  • vartypename: ‘Float’
Float T_cold_in

Temp of water into heat exchanger

  • default: ‘288.1’
  • iotype: ‘in’
  • units: ‘K’
  • vartypename: ‘Float’
Float T_cold_out

Temp of water out of the heat exchanger

  • default: ‘0.0’
  • iotype: ‘in’
  • units: ‘K’
  • vartypename: ‘Float’
Float T_hot_out

Temp of air out of the heat exchanger

  • default: ‘338.4’
  • iotype: ‘in’
  • units: ‘K’
  • vartypename: ‘Float’
Float W_cold

Mass flow rate of cold fluid (water)

  • default: ‘0.45’
  • iotype: ‘in’
  • units: ‘kg/s’
  • vartypename: ‘Float’
Float effectiveness

Heat Exchange Effectiveness

  • default: ‘0.9765’
  • iotype: ‘in’
  • vartypename: ‘Float’
FlowStation Fl_O

outgoing air stream from heat exchanger

  • default: ‘<pycycle.flowstation.AirFlowStation object at 0x112580c50>’
  • iotype: ‘out’
  • copy: None
  • vartypename: ‘FlowStation’
Float LMTD

Logarathmic Mean Temperature Difference

  • default: ‘0.0’
  • iotype: ‘out’
  • vartypename: ‘Float’
Float Qabsorbed

Energy Absorbed

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘W’
  • vartypename: ‘Float’
Float Qmax

Theoretical maximum possible heat transfer

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘W’
  • vartypename: ‘Float’
Float Qreleased

Energy Released

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘W’
  • vartypename: ‘Float’
Float residual_e_balance

Residual of the energy balance

  • default: ‘0.0’
  • iotype: ‘out’
  • vartypename: ‘Float’
Float residual_qmax

Residual of max*effectiveness

  • default: ‘0.0’
  • iotype: ‘out’
  • vartypename: ‘Float’
execute()[source]

Calculate Various Paramters

heat_exchanger_sizing.py

heat_exchanger_sizing.py - (This one is for water and air)
Performs basic heat exchanger calculations for a multi-tube double pass counter-flow or co-flow shell and tube heat exchanger

Logarithmic Mean Temperature Difference (LMTD) Method Design a heat exchanger to meet prescribed heat transfer requirements

LMTD Limitations
-Both starting and final temperature parameters must be known -Temperature change across cannot be so large that Cp changes significantly -Rigorously defined for double-pipe(or tubular) heat exchanger

Compatible with OpenMDAO v0.8.1

class hyperloop.cycle.heat_exchanger_sizing.HeatExchangerSizing[source]

Bases: openmdao.main.component.Component

Main Component

Float Di_shell

Shell pipe (inner) Diameter

  • default: ‘0.05102’
  • iotype: ‘in’
  • units: ‘m’
  • vartypename: ‘Float’
Float Di_tube

Tube pipe (inner) Diameter

  • default: ‘0.03279’
  • iotype: ‘in’
  • units: ‘m’
  • vartypename: ‘Float’
Float Do_tube

Tube pipe (outer) Diameter

  • default: ‘0.03493’
  • iotype: ‘in’
  • units: ‘m’
  • vartypename: ‘Float’
Float Mdot_a

Mass flow rate of air

  • default: ‘0.0’
  • iotype: ‘in’
  • units: ‘kg/s’
  • vartypename: ‘Float’
Float Mdot_w

Mass flow rate of water pumped through system

  • default: ‘1.0’
  • iotype: ‘in’
  • units: ‘kg/s’
  • vartypename: ‘Float’
Float N

Number of Tube Passes

  • default: ‘1.0’
  • iotype: ‘in’
  • units: ‘m’
  • vartypename: ‘Float’
Float T_ain

Temp of air into heat exchanger

  • default: ‘0.0’
  • iotype: ‘in’
  • units: ‘K’
  • vartypename: ‘Float’
Float T_aout

Temp of air out of heat exchanger

  • default: ‘0.0’
  • iotype: ‘in’
  • units: ‘K’
  • vartypename: ‘Float’
Float T_win

Temp of water into heat exchanger

  • default: ‘0.0’
  • iotype: ‘in’
  • units: ‘K’
  • vartypename: ‘Float’
Float T_wout

Temp of water out of heat exchanger

  • default: ‘0.0’
  • iotype: ‘in’
  • units: ‘K’
  • vartypename: ‘Float’
Float cp_a

specific heat of air

  • default: ‘1006.0’
  • iotype: ‘in’
  • units: ‘J/(kg*K)’
  • vartypename: ‘Float’
Float dvisc_a

dynamic viscosity for air

  • default: ‘2e-05’
  • iotype: ‘in’
  • units: ‘kg/(m*s)’
  • vartypename: ‘Float’
Float kvisc_a

kinematic viscosity for air

  • default: ‘1.568e-05’
  • iotype: ‘in’
  • units: ‘m**2/s’
  • vartypename: ‘Float’
Float rho_a

density of air

  • default: ‘0.616’
  • iotype: ‘in’
  • units: ‘kg/m**3’
  • vartypename: ‘Float’
Float A_a

cross sectional area of air

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘m**2’
  • vartypename: ‘Float’
Float A_w

cross sectional area of water

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘m**2’
  • vartypename: ‘Float’
Float Asurf_pipe

Surface Area of the Pipe

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘m**2’
  • vartypename: ‘Float’
Float Da_e

Hyrdraulic Diameter of the shell (annulus) for heat flow

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘m’
  • vartypename: ‘Float’
Float Da_h

Hyrdraulic Diameter of the shell (annulus) for fluid flow

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘m’
  • vartypename: ‘Float’
Float Dw_e

Hyrdraulic Diameter of the shell (annulus) for heat flow

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘m’
  • vartypename: ‘Float’
Float Dw_h

Hyrdraulic Diameter of the shell (annulus) for fluid flow

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘m’
  • vartypename: ‘Float’
Float F

Multi-pass correction factor

  • default: ‘0.0’
  • iotype: ‘out’
  • vartypename: ‘Float’
Float L

Heat Exchanger Length

  • default: ‘1.0’
  • iotype: ‘out’
  • units: ‘m’
  • vartypename: ‘Float’
Float Nu_a

Nusselt Number of air

  • default: ‘0.0’
  • iotype: ‘out’
  • vartypename: ‘Float’
Float Nu_w

Nusselt Number of water

  • default: ‘0.0’
  • iotype: ‘out’
  • vartypename: ‘Float’
Float Pr_a

Prandtl Number of air

  • default: ‘0.0’
  • iotype: ‘out’
  • vartypename: ‘Float’
Float Pr_w

Prandtl Number of water

  • default: ‘0.0’
  • iotype: ‘out’
  • vartypename: ‘Float’
Float Re_a

Reynolds Number of air

  • default: ‘0.0’
  • iotype: ‘out’
  • vartypename: ‘Float’
Float Re_w

Reynolds Number of water

  • default: ‘0.0’
  • iotype: ‘out’
  • vartypename: ‘Float’
Float U_o

Overall Heat Transfer Coefficient

  • default: ‘1.0’
  • iotype: ‘out’
  • units: ‘W/(m**2)*K’
  • vartypename: ‘Float’
Float Veloc_a

flow velocity of air

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘m/s’
  • vartypename: ‘Float’
Float Veloc_w

flow velocity of water

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘m/s’
  • vartypename: ‘Float’
Float h_a

heat transfer of air

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘W/m’
  • vartypename: ‘Float’
Float h_w

heat transfer of water

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘W/m’
  • vartypename: ‘Float’
Float q_a

heat flow of air

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘W’
  • vartypename: ‘Float’
Float q_w

heat flow of water

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘W’
  • vartypename: ‘Float’
Bool coFlow

Boolean true if co-flow, false if coutner-flow

  • default: ‘False’
  • vartypename: ‘Bool’
Bool cooled

Boolean true if fluid is cooled, false if heated

  • default: ‘True’
  • vartypename: ‘Bool’
execute()[source]

Calculate Various Paramters

pump.py

class hyperloop.cycle.pump.Pump[source]

Bases: openmdao.main.component.Component

Calculate the power requirement for a water pump given flow conditions

Float Pt_in

Pump input pressure

  • default: ‘100.0’
  • iotype: ‘in’
  • units: ‘kPa’
  • vartypename: ‘Float’
Float Pt_out

Pump output pressure

  • default: ‘1000.0’
  • iotype: ‘in’
  • units: ‘kPa’
  • vartypename: ‘Float’
Float Tt

water temperature at the pump inlet

  • default: ‘288.0’
  • iotype: ‘in’
  • units: ‘K’
  • vartypename: ‘Float’
Float W

liquid flow rate

  • default: ‘0.5’
  • iotype: ‘in’
  • units: ‘kg/s’
  • vartypename: ‘Float’

Float eff

  • default: ‘0.8’
  • iotype: ‘in’
  • vartypename: ‘Float’
Float pwr_req

power required to drive the pump

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘kW’
  • vartypename: ‘Float’
execute()[source]

air_bearing.py

class hyperloop.geometry.air_bearing.AirBearing[source]

Bases: openmdao.main.component.Component

Float capsule_mass

mass of capsule

  • default: ‘15000.0’
  • iotype: ‘in’
  • units: ‘kg’
  • vartypename: ‘Float’
Int n_bearings

number of rows of bearing pads

  • default: ‘7’
  • iotype: ‘in’
Float pressure

air injection pressure for bearings

  • default: ‘9.4’
  • iotype: ‘in’
  • units: ‘kPa’
  • vartypename: ‘Float’
Float sweep_angle

sweep angle of a single bearing pad on tube wall

  • default: ‘4.0’
  • iotype: ‘in’
  • units: ‘deg’
  • vartypename: ‘Float’
Float tube_radius

radius of the tube

  • default: ‘4.0’
  • iotype: ‘in’
  • units: ‘m’
  • vartypename: ‘Float’
Float area_per_bearing

required area per bearing

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘m**2’
  • vartypename: ‘Float’
Float bearing_width

lienar width of bearing

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘m’
  • vartypename: ‘Float’
Float length_per_bearing

required length per bearing

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘m’
  • vartypename: ‘Float’
Float total_area

total required bearing area

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘m**2’
  • vartypename: ‘Float’
execute()[source]

battery.py

class hyperloop.geometry.battery.Battery[source]

Bases: openmdao.main.component.Component

Float area_cross_section

available cross section for battery pack

  • default: ‘1.3’
  • iotype: ‘in’
  • units: ‘m**2’
  • vartypename: ‘Float’
Float energy

total energy storage requirements

  • default: ‘0.0’
  • iotype: ‘in’
  • units: ‘kW*h’
  • vartypename: ‘Float’
Float time_mission

pod travel time

  • default: ‘2100.0’
  • iotype: ‘in’
  • units: ‘s’
  • vartypename: ‘Float’
Float length

required length of battery pack

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘m’
  • vartypename: ‘Float’
Float mass

total mass of the batteries

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘kg’
  • vartypename: ‘Float’
Float volume

total volume of the batteries

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘m**3’
  • vartypename: ‘Float’
execute()[source]

inlet.py

class hyperloop.geometry.inlet.InletGeom[source]

Bases: openmdao.main.component.Component

Calculates the dimentions for the inlet and compressor entrance

Float area_in

flow area required at the front of the inlet

  • default: ‘0.0’
  • iotype: ‘in’
  • units: ‘cm**2’
  • vartypename: ‘Float’
Float area_out

flow area required at the back of the inlet

  • default: ‘0.0’
  • iotype: ‘in’
  • units: ‘cm**2’
  • vartypename: ‘Float’
Float area_passenger_capsule

cross sectional area of the passenger capsule

  • default: ‘14000.0’
  • iotype: ‘in’
  • units: ‘cm**2’
  • vartypename: ‘Float’
Float hub_to_tip

hub to tip ratio for the compressor

  • default: ‘0.4’
  • iotype: ‘in’
  • vartypename: ‘Float’
Float inlet_wall_thickness

thickness of the inlet wall

  • default: ‘5.0’
  • iotype: ‘in’
  • units: ‘cm’
  • vartypename: ‘Float’
Float area_bypass

available area to move bypass air around the passenger capsule

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘cm**2’
  • vartypename: ‘Float’
Float area_frontal

total capsule frontal area

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘cm**2’
  • vartypename: ‘Float’
Float radius_back_inner

inner radius of back of the inlet

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘cm’
  • vartypename: ‘Float’
Float radius_back_outer

outer radius of back of the inlet

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘cm’
  • vartypename: ‘Float’
execute()[source]

passenger_capsule.py

class hyperloop.geometry.passenger_capsule.PassengerCapsule[source]

Bases: openmdao.main.component.Component

Place holder component for passenger capsule sizing and structural analysis. Currently, just assume the baseline shape from the original proposal

Float length_row

length of each row of seats

  • default: ‘150.0’
  • iotype: ‘in’
  • units: ‘cm’
  • vartypename: ‘Float’
Int n_rows

number of rows of seats in the pod

  • default: ‘14’
  • iotype: ‘in’
Float area_cross_section

cross sectional area of the passenger capsule

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘cm**2’
  • vartypename: ‘Float’
Float length_capsule

overall length of the passenger capsule

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘cm’
  • vartypename: ‘Float’
execute()[source]

pod.py

class hyperloop.geometry.pod.Pod[source]

Bases: openmdao.main.assembly.Assembly

Float F_net

Thrust generated by the nozzle

  • default: ‘0.0’
  • iotype: ‘in’
  • units: ‘N’
  • vartypename: ‘Float’
Float Ps_tube

static pressure in the tube

  • default: ‘99.0’
  • iotype: ‘in’
  • units: ‘Pa’
  • vartypename: ‘Float’
Float area_inlet_in

flow area required at the front of the inlet

  • default: ‘0.0’
  • iotype: ‘in’
  • units: ‘cm**2’
  • vartypename: ‘Float’
Float area_inlet_out

flow area required at the back of the inlet

  • default: ‘0.0’
  • iotype: ‘in’
  • units: ‘cm**2’
  • vartypename: ‘Float’
Float coef_drag

capsule drag coefficient

  • default: ‘2.0’
  • iotype: ‘in’
  • vartypename: ‘Float’
Float energy

Energy required from batteries

  • default: ‘0.0’
  • iotype: ‘in’
  • units: ‘kW*h’
  • vartypename: ‘Float’
Float hub_to_tip

hub to tip ratio for the compressor

  • default: ‘0.4’
  • iotype: ‘in’
  • vartypename: ‘Float’
Float length_row

length of each row of seats

  • default: ‘150.0’
  • iotype: ‘in’
  • units: ‘cm’
  • vartypename: ‘Float’
Int n_rows

number of rows of seats in the pod

  • default: ‘14’
  • iotype: ‘in’
Float radius_tube_inner

inner tube radius

  • default: ‘0.0’
  • iotype: ‘in’
  • units: ‘cm’
  • vartypename: ‘Float’
Float rho_air

air density (aero calcs)

  • default: ‘0.0’
  • iotype: ‘in’
  • units: ‘kg/m**3’
  • vartypename: ‘Float’
Float speed_max

maximum velocity of the pod

  • default: ‘0.0’
  • iotype: ‘in’
  • units: ‘m/s’
  • vartypename: ‘Float’
Float time_mission

travel time for a single trip

  • default: ‘0.0’
  • iotype: ‘in’
  • units: ‘s’
  • vartypename: ‘Float’
Float area_compressor_bypass

area available to move compressed air around the passenger capsule

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘cm**2’
  • vartypename: ‘Float’
Float area_cross_section

cross sectional area of the passenger capsule

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘cm**2’
  • vartypename: ‘Float’
Float net_force

Net force with drag considerations

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘N’
  • vartypename: ‘Float’
Float radius_inlet_back_outer

outer radius of the back of the inlet

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘cm’
  • vartypename: ‘Float’
Float radius_tube_outer

outer radius of tube

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘cm’
  • vartypename: ‘Float’
configure()[source]
run(*args, **kwargs)[source]

tube_structure.py

class hyperloop.geometry.tube_structure.TubeStructural[source]

Bases: openmdao.main.component.Component

Place holder for real structural calculations to size the tube wall Thickness

Float Ps_tube

static pressure in the tube

  • default: ‘99.0’
  • iotype: ‘in’
  • units: ‘Pa’
  • vartypename: ‘Float’
Float radius_inner

inner radius of tube

  • default: ‘300.0’
  • iotype: ‘in’
  • units: ‘cm’
  • vartypename: ‘Float’
Float radius_outer

outer radius of tube

  • default: ‘300.6’
  • iotype: ‘out’
  • units: ‘cm’
  • vartypename: ‘Float’
execute()[source]

hyperloop_sim.py

class hyperloop.hyperloop_sim.HyperloopPod[source]

Bases: openmdao.main.assembly.Assembly

Float Mach_bypass

Mach in the air passing around the pod

  • default: ‘0.95’
  • iotype: ‘in’
  • vartypename: ‘Float’
Float Mach_c1_in

Mach number at entrance to the first compressor at design conditions

  • default: ‘0.6’
  • iotype: ‘in’
  • vartypename: ‘Float’
Float Mach_pod_max

travel Mach of the pod

  • default: ‘1.0’
  • iotype: ‘in’
  • vartypename: ‘Float’
Float Ps_tube

static pressure in the tube

  • default: ‘99.0’
  • iotype: ‘in’
  • units: ‘Pa’
  • low: 0.0
Float c1_PR_des

pressure ratio of first compressor at design conditions

  • default: ‘12.47’
  • iotype: ‘in’
  • vartypename: ‘Float’
Float coef_drag

capsule drag coefficient

  • default: ‘2.0’
  • iotype: ‘in’
  • vartypename: ‘Float’
Float hub_to_tip

hub to tip ratio for the compressor

  • default: ‘0.4’
  • iotype: ‘in’
  • vartypename: ‘Float’
Float length_row

length of each row of seats

  • default: ‘150.0’
  • iotype: ‘in’
  • units: ‘cm’
  • vartypename: ‘Float’
Int n_rows

number of rows of seats in the pod

  • default: ‘14’
  • iotype: ‘in’
Float pwr_marg

fractional extra energy requirement

  • default: ‘0.3’
  • iotype: ‘in’
  • vartypename: ‘Float’
Float solar_heating_factor

Fractional amount of solar radiation to consider in tube temperature calculations

  • default: ‘0.7’
  • iotype: ‘in’
  • low: 0.0
  • high: 1.0
  • vartypename: ‘Float’
Float tube_length

Length of entire Hyperloop

  • default: ‘563270.0’
  • iotype: ‘in’
  • units: ‘m’
  • vartypename: ‘Float’
configure()[source]

mission.py

class hyperloop.mission.Mission[source]

Bases: openmdao.main.component.Component

Place holder for real mission analysis. Could consider a pseudospectral optimal control approach

Float pwr_marg

fractional extra energy requirement

  • default: ‘0.3’
  • iotype: ‘in’
  • vartypename: ‘Float’
Float pwr_req

average power requriment for the mission

  • default: ‘420.0’
  • iotype: ‘in’
  • units: ‘kW’
  • vartypename: ‘Float’
Float speed_max

Maximum travel speed for the pod

  • default: ‘308.0’
  • iotype: ‘in’
  • units: ‘m/s’
  • vartypename: ‘Float’
Float tube_length

length of one trip

  • default: ‘563270.0’
  • iotype: ‘in’
  • units: ‘m’
  • vartypename: ‘Float’
Float energy

total energy storage requirements

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘kW*h’
  • vartypename: ‘Float’
Float time

travel time for a pod to make one trip

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘s’
  • vartypename: ‘Float’
execute()[source]

this is a VERY course approximation that takes the speed profile given in the original proposal as given. It just serves as a place holder for now. It’s better than nothing, but a real analysis is needed here

test_tube_temp.py

class hyperloop.test.test_tube_temp.TubeHeatBalance[source]

Bases: openmdao.main.assembly.Assembly

configure()[source]
class hyperloop.test.test_tube_temp.TubeWallTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_tube_temp()[source]

tube_limit_flow.py

class hyperloop.tube_limit_flow.TubeLimitFlow[source]

Bases: openmdao.main.component.Component

Finds the limit velocity for a body traveling through a tube

Float Mach_bypass

Mach in the air passing around the pod

  • default: ‘0.95’
  • iotype: ‘in’
  • vartypename: ‘Float’
Float Mach_pod

travel Mach of the pod

  • default: ‘1.0’
  • iotype: ‘in’
  • vartypename: ‘Float’
Float Ps_tube

static pressure in the tube

  • default: ‘99.0’
  • iotype: ‘in’
  • units: ‘Pa’
  • vartypename: ‘Float’
Float Ts_tube

static temperature in the tube

  • default: ‘292.1’
  • iotype: ‘in’
  • units: ‘degK’
  • vartypename: ‘Float’
Float radius_inlet

radius of the inlet at it’s largest point

  • default: ‘73.7’
  • iotype: ‘in’
  • units: ‘cm’
  • vartypename: ‘Float’
Float radius_tube

required radius for the tube

  • default: ‘111.5’
  • iotype: ‘in’
  • units: ‘cm’
  • vartypename: ‘Float’
Float W_excess

excess tube mass flow above the Kantrowitz limit

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘kg/s’
  • vartypename: ‘Float’
Float W_kant

Kantrowitz limit flow

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘kg/s’
  • vartypename: ‘Float’
Float W_tube

Tube demand flow

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘kg/s’
  • vartypename: ‘Float’
Float limit_Mach

pod travel Mach number where flow choking occurs

  • default: ‘0.0’
  • iotype: ‘out’
  • vartypename: ‘Float’
Float limit_speed

pod travel speed where flow choking occurs

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘m/s’
  • vartypename: ‘Float’
execute()[source]
hyperloop.tube_limit_flow.plot_data(comp, c='b')[source]

utility function to make the Kantrowitz Limit Plot

tube_wall_temp.py

tubeModel.py -
Determines the steady state temperature of the hyperloop tube. Calculates Q released/absorbed by hyperloop tube due to: Internal Convection, Tube Conduction, Ambient Natural Convection, Solar Flux In, Radiation Out

-original calculations from Jeff Berton, ported and extended by Jeff Chin

Compatible with OpenMDAO v0.8.1

class hyperloop.tube_wall_temp.TubeWallTemp[source]

Bases: openmdao.main.component.Component

Calculates Q released/absorbed by the hyperloop tube

FlowStation bearing_air

air exiting the air bearings

  • default: ‘<pycycle.flowstation.AirFlowStation object at 0x1124d0ad0>’
  • iotype: ‘in’
  • copy: None
  • vartypename: ‘FlowStation’
Float diameter_outer_tube

tube outer diameter

  • default: ‘2.23’
  • iotype: ‘in’
  • units: ‘m’
  • vartypename: ‘Float’
Float emissivity_tube

Emmissivity of the Tube

  • default: ‘0.5’
  • iotype: ‘in’
  • units: ‘W’
  • vartypename: ‘Float’
Float length_tube

Length of entire Hyperloop

  • default: ‘482803.0’
  • iotype: ‘in’
  • units: ‘m’
  • vartypename: ‘Float’
Float nn_incidence_factor

Non-normal incidence factor

  • default: ‘0.7’
  • iotype: ‘in’
  • vartypename: ‘Float’
FlowStation nozzle_air

air exiting the pod nozzle

  • default: ‘<pycycle.flowstation.AirFlowStation object at 0x1124d0a70>’
  • iotype: ‘in’
  • copy: None
  • vartypename: ‘FlowStation’
Float num_pods

Number of Pods in the Tube at a given time

  • default: ‘34.0’
  • iotype: ‘in’
  • units: ‘K’
  • vartypename: ‘Float’
Float q_total_solar

Solar Heat Absorbed by Tube

  • default: ‘375989751.0’
  • iotype: ‘in’
  • units: ‘W’
  • vartypename: ‘Float’
Float sb_constant

Stefan-Boltzmann Constant

  • default: ‘5.670373e-08’
  • iotype: ‘in’
  • units: ‘W/((m**2)*(K**4))’
  • vartypename: ‘Float’
Float solar_insolation

solar irradiation at sea level on a clear day

  • default: ‘1000.0’
  • iotype: ‘in’
  • units: ‘W/m**2’
  • vartypename: ‘Float’
Float temp_boundary

Average Temperature of the tube wall

  • default: ‘322.0’
  • iotype: ‘in’
  • units: ‘K’
  • vartypename: ‘Float’
Float temp_outside_ambient

Average Temperature of the outside air

  • default: ‘305.6’
  • iotype: ‘in’
  • units: ‘K’
  • vartypename: ‘Float’
Float Gr

Heat Radiated to the outside

  • default: ‘12730351223.0’
  • iotype: ‘out’
  • vartypename: ‘Float’
Float GrDelTL3

Heat Radiated to the outside

  • default: ‘1946216.7’
  • iotype: ‘out’
  • units: ‘1/((ft**3)*F)’
  • vartypename: ‘Float’
Float Nu

Heat Radiated to the outside

  • default: ‘232.4543713’
  • iotype: ‘out’
  • vartypename: ‘Float’
Float Pr

Heat Radiated to the outside

  • default: ‘0.707’
  • iotype: ‘out’
  • vartypename: ‘Float’
Float Ra

Heat Radiated to the outside

  • default: ‘8996312085.0’
  • iotype: ‘out’
  • vartypename: ‘Float’
Float area_convection

Convection Area

  • default: ‘3374876.115’
  • iotype: ‘out’
  • units: ‘W’
  • vartypename: ‘Float’
Float area_rad

Tube Radiating Area

  • default: ‘337486.1’
  • iotype: ‘out’
  • units: ‘m**2’
  • vartypename: ‘Float’
Float h

Heat Radiated to the outside

  • default: ‘0.845464094’
  • iotype: ‘out’
  • units: ‘W/((m**2)*K)’
  • vartypename: ‘Float’
Float heat_rate_pod

Heating Due to a Single Pods

  • default: ‘519763.0’
  • iotype: ‘out’
  • units: ‘W’
  • vartypename: ‘Float’
Float k

Heat Radiated to the outside

  • default: ‘0.02655’
  • iotype: ‘out’
  • units: ‘W/(m*K)’
  • vartypename: ‘Float’
Float q_per_area_nat_conv

Heat Radiated per Area to the outside

  • default: ‘7.9’
  • iotype: ‘out’
  • units: ‘W/(m**2)’
  • vartypename: ‘Float’
Float q_rad_per_area

Heat Radiated to the outside

  • default: ‘31.6’
  • iotype: ‘out’
  • units: ‘W/(m**2)’
  • vartypename: ‘Float’
Float q_rad_tot

Heat Radiated to the outside

  • default: ‘106761066.5’
  • iotype: ‘out’
  • units: ‘W’
  • vartypename: ‘Float’
Float q_total_in

Total Heat Absorbed/Added via Pods and Solar Absorption

  • default: ‘286900419.0’
  • iotype: ‘out’
  • units: ‘W’
  • vartypename: ‘Float’
Float q_total_out

Total Heat Released via Radiation and Natural Convection

  • default: ‘286900419.0’
  • iotype: ‘out’
  • units: ‘W’
  • vartypename: ‘Float’
Float ss_temp_residual

Residual of T_released - T_absorbed

  • default: ‘0.0’
  • iotype: ‘out’
  • units: ‘K’
  • vartypename: ‘Float’
Float total_heat_rate_pods

Heating Due to a All Pods

  • default: ‘17671942.0’
  • iotype: ‘out’
  • units: ‘W’
  • vartypename: ‘Float’
Float total_q_nat_conv

Total Heat Radiated to the outside via Natural Convection

  • default: ‘286900419.0’
  • iotype: ‘out’
  • units: ‘W’
  • vartypename: ‘Float’
Float viewing_angle

Effective Area hit by Sun

  • default: ‘1074256.0’
  • iotype: ‘out’
  • units: ‘m**2’
  • vartypename: ‘Float’
Float q_per_area_solar

Solar Heat Rate Absorbed per Area

  • default: ‘350.0’
  • units: ‘W/m**2’
  • vartypename: ‘Float’
Float surface_reflectance

Solar Reflectance Index

  • default: ‘0.5’
  • vartypename: ‘Float’
execute()[source]

Calculate Various Paramters