hyperloop.Python package¶
Subpackages¶
- hyperloop.Python.mission package
- Submodules
- hyperloop.Python.mission.body_frame_acceleration module
- hyperloop.Python.mission.eom module
- hyperloop.Python.mission.lat_long module
- hyperloop.Python.mission.mission_drag module
- hyperloop.Python.mission.mission_thrust module
- hyperloop.Python.mission.pod_thrust_and_drag module
- hyperloop.Python.mission.rhs module
- hyperloop.Python.mission.terrain module
- hyperloop.Python.mission.usgs_data_converter module
- Module contents
- hyperloop.Python.pod package
- Subpackages
- Submodules
- hyperloop.Python.pod.pod_geometry module
- hyperloop.Python.pod.pod_group module
- hyperloop.Python.pod.pod_mach module
- hyperloop.Python.pod.pod_mass module
- Module contents
- hyperloop.Python.tools package
- hyperloop.Python.tube package
- Submodules
- hyperloop.Python.tube.propulsion_mechanics module
- hyperloop.Python.tube.steady_state_vacuum module
- hyperloop.Python.tube.submerged_tube module
- hyperloop.Python.tube.tube_and_pylon module
- hyperloop.Python.tube.tube_group module
- hyperloop.Python.tube.tube_power module
- hyperloop.Python.tube.tube_vacuum module
- hyperloop.Python.tube.tube_wall_temp module
- hyperloop.Python.tube.tunnel_cost module
- Module contents
Submodules¶
hyperloop.Python.LIM module¶
Model for a Single Sided Linear Induction Motor(SLIM), using Circuit Model.
Evaluates thrust generated by a single, single sided linear induction motor using the simplified circuit model. Inspired from the paper: DESIGN OF A SINGLE SIDED LINEAR INDUCTION MOTOR(SLIM) USING A USER INTERACTIVE COMPUTER PROGRAM
-
class
hyperloop.Python.LIM.
Thrust
[source]¶ Bases:
openmdao.core.component.Component
-
acceleration
(P1, c_time, mass)[source]¶ Sub-module used to calculate acceleration using following eq. acceleration = (P1 / (2*mass*c_time))^0.5
-
phase_angle_calc
(f, L, R1)[source]¶ Sub-module used to calculate phase angle using following eq. phi = arctan((2*pi*f*L) / R1)
-
reactance_of_inductor
(f, L)[source]¶ Sub-module used to calculate reactance of inductor using following eq. slip = 2*pi*f*L
-
hyperloop.Python.angular_velocity321 module¶
-
class
hyperloop.Python.angular_velocity321.
AngularVelocity321
[source]¶ Bases:
openmdao.core.component.Component
Params: Yaw : float
Yaw angle (3-axis rotation) of body frame with respect to the inertial NED frame. Default value is 0.0 rad
Pitch : float
Pitch angle (2-axis rotation) of body fram with respect to the inertial NED frame. Default value is 0.0 rad
Roll : float
Roll angle (1-axis rotation) of body fram with respect to the inertial NED frame. Default value is 0.0 rad
Yaw rate : float
Yaw rate of pod body frame. Default value is .01 rad/s
Pitch rate : float
Pitch rate of pod body frame. Default value is .01 rad/s
Roll rate : float
Roll rate of pod body frame. Default value is 0.0 rad/s
Returns: Angular velocity : float
Returns the body fame angular velocity of the pod in rad/s
Notes
Evaluates the body frame angular velocity from 321 Euler angles and their derivatives Units are in radians and radians/s
-
solve_nonlinear
(p, u, r)[source]¶ Params: Yaw : float
Yaw angle (3-axis rotation) of body frame with respect to the inertial NED frame. Default value is 0.0 rad
Pitch : float
Pitch angle (2-axis rotation) of body fram with respect to the inertial NED frame. Default value is 0.0 rad
Roll : float
Roll angle (1-axis rotation) of body fram with respect to the inertial NED frame. Default value is 0.0 rad
Yaw rate : float
Yaw rate of pod body frame. Default value is .01 rad/s
Pitch rate : float
Pitch rate of pod body frame. Default value is .01 rad/s
Roll rate : float
Roll rate of pod body frame. Default value is 0.0 rad/s
Returns: Angular velocity : float
Returns the body fame angular velocity of the pod in rad/s
Notes
omega = [[s(psi)*s(theta), c(psi), 0], [c(psi)*s(theta), -s(psi), 0], [c(theta), 0,1]] * [[phi], [theta], [psi]]
-
hyperloop.Python.boundary_layer_sensitivity module¶
-
class
hyperloop.Python.boundary_layer_sensitivity.
BoundaryLayerSensitivity
[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
length_calc : bool
True calculates boundary layer thickness. False takes boundary layer thickness as an input. Default value is false.
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
Component is not a part of the system model, but is instead intended to analyze the sensitivity of tube area to the bounday layer thickness over the pod. Can be made to calculatee based on Reynolds number accourding to flat plate assumption or to vary boundary layer to account for boundary layer suction or some other version of flow control.
hyperloop.Python.sample_mission module¶
hyperloop.Python.ticket_cost module¶
-
class
hyperloop.Python.ticket_cost.
TicketCost
[source]¶ Bases:
openmdao.core.component.Component
Params: length_cost : float
Cost of materials per unit length. Default value is 2.437e6 USD/km
pod_cost : float
Cost per individual pod. Default value is 1.0e6 USD.
capital_cost : float
Estimate of overhead capital cost. Default value is 1.0e10 USD.
energy_cost : float
Cost of electricity. Default value is .13 USD/kWh
ib : float
Bond interest rate. Default value is .04
bm : float
Bond maturity. Default value is 20.0 years.
operating_time : float
operating time per day. Default value is 16.0*3600 s
JtokWh : float
Convert J to kWh. Default value is J/kWh
m_pod : float
Pod mass. Default value is 3100 kg
n_passengers : float
Number of passengers. Default value is 28.0
pod_period : float
Time in between pod departures. Default value is 120.0 s
avg_speed : float
average pod speed. Default value is 286.86 m/s
track_length : float
length of the track. Default value is 600e3 m
pod_power : float
Power consumption of the pod. Default value is 1.5e6 W
prop_power : float
power of an individual propulsion section. Default value is 350e3 W
vac_power : float
Power of the vacuum pumps. Default value is 71.049e6 W
alpha : float
percent of vacuum power used in steady state. Default value is .0001
vf : float
Pod top speed. Default value is 286.86 m/s
g : float
Gravity. Default value is 9.81 m/s/s
Cd : float
Pod drag coefficient. Default value is .2
S : float
Pod planform area. Default value is 40.42 m**2
p_tunnel : float
Tunnel pressure. Default value is 850.0 Pa
T_tunnel : float
Tunnel temperature. Default value is 320 K
R : float
Ideal gas constant. Default value is 287 J/kg/K
eta : float
Efficiency of propulsion system
D_mag : float
Magnetic drag. Default value is (9.81*3100.0)/200.0 N
thrust_time : float
Time spent during a propulsive section. Default value is 1.5 s
prop_period : float
distance between pripulsion sections. Defualt value is 25.0e3 km
Returns: ticket_cost : float
cost of individual ticket. Default value is 0.0 USD
prop_energy_cost : float
cost of energy used by propulsion section per year. Default value is 0.0 USD
Notes
This Component takes into account various cost figures from the system model and combines them to estimate tickt cost per passenger.