| |
- error(v1, v2)
- Returns the relative error with respect to the first value.
- run_vehicle(vehicle_type, span_lengths, axle_spacing, axle_wt, num_user_nodes, space_to_trailing_load, distributed_load, cl_max_moment, cl_max_moment_qtr_pt, cl_max_shear_end, cl_max_shear_qtr_pt, cl_max_shear_ctr, cl_max_pier_reac)
- Runs program input for a series of span lenghts and outputs the results.
Args:
span_lengths (list of floats): all the span lengths to be run
axle_spacing (list of floats): the spacing between each axle
axle_wt (list of floats): weight of each axle
num_user_nodes (int): number of analysis nodes input by the user
space_to_trailing_load (float): distance from last discrete axle to
beginning of distributed load
distributed_load (float): uniformly distributed trailing load magnitude
cl_max_moment (list of floats): max moment in span from AREMA Table
cl_max_moment_qtr_pt (list of floats): max moment at 1/4 point of span
from AREMA Table
cl_max_shear_end (list of floats): max shear at end of span from AREMA
Table
cl_max_shear_qtr_pt (list of floats): max shear at 1/4 point of span
from AREMA Table
cl_max_shear_ctr (list of floats): max shear at center of span from
AREMA Table
cl_max_pier_reac (list of floats): max pier (or floorbeam) reaction
for equal length, adjacent spans from
AREMA Table
Returns:
None
Notes:
1. Outputs values from program for each span length
2. Outputs values from AREMA Table for each span length
3. Outputs the error of the program with respect to the AREMA Table
values where possible. (The AREMA Tables are incomplete.)
- test_alt()
- Setup input for running Alternate Live Load.
Inputs the Alternate loading with the following inputs:
span_lengths = [5.0,6.0,7.0,8.0,9.0,10.0,11.0,12.0,13.0,14.0,16.0,
18.0,20.0,24.0,28.0,32.0,36.0,40.0,45.0,50.0,55.0,
60.0,70.0,80.0,90.0,100.0,120.0,140.0,160.0,180.0,
200.0,250.0,300.0,350.0,400.0]
axle_spacing_alt = [5.00, 6.00, 5.00]
axle_wt_alt = [100.00, 100.00, 100.00, 100.00]
space_to_trailing_load_alt = 0.0
distributed_load_alt = 0.0
num_user_nodes = 21
Args:
None
Returns:
None
Notes:
Outputs results
- test_e80()
- Setup input for E80 Live Load
Inputs the E80 loading including a trailing loading with the following inputs:
span_lengths = [5.0,6.0,7.0,8.0,9.0,10.0,11.0,12.0,13.0,14.0,16.0,
18.0,20.0,24.0,28.0,32.0,36.0,40.0,45.0,50.0,55.0,
60.0,70.0,80.0,90.0,100.0,120.0,140.0,160.0,180.0,
200.0,250.0,300.0,350.0,400.0]
axle_spacing_e80 = [8.00, 5.00, 5.00, 5.00, 9.00, 5.00, 6.00,
5.00, 8.00, 8.00, 5.00, 5.00, 5.00, 9.00,
5.00, 6.00, 5.00]
axle_wt_e80 = [40.00, 80.00, 80.00, 80.00, 80.00, 52.00, 52.00,
52.00, 52.00, 40.00, 80.00, 80.00, 80.00, 80.00,
52.00, 52.00, 52.00, 52.00]
space_to_trailing_load_e80 = 5.0
distributed_load_e80 = 8.0
num_user_nodes = 21
Args:
None
Returns:
None
Notes:
Outputs results
- user_verification()
- Runs two tests one for E80 and one for Alternate.
|