Skip to main content

Module table

Module table 

Source
Expand description

A Monte Carlo Run as a table: one row a sample, in index order, and one column an input it drew or a number its flight came to. hpr mc writes it as CSV (RunTable::csv), each number in the shortest form that reads back to the same bits, so a program reading the file gets the run’s own numbers.

The columns, in order:

  • index, a whole number, then outcome (flown or failed), failed_at (inputs or flight, empty for a flown sample) and reason (the error, empty for a flown sample): Sample, Outcome.
  • What the sample drew (Draw): drag_scale, wind_speed_scale, wind_turn_rad, rail_elevation_offset_rad and rail_azimuth_offset_rad; then for each stage n, counted from 1 at the nose, stage_n_dry_mass_scale and stage_n_cg_shift_m; for each motor of the flown configuration, motor_n_impulse_scale, motor_n_burn_time_scale and motor_n_ejection_delay_offset_s; for each recovery device, device_n_deployment_lag_offset_s.
  • What a flown sample’s flight came to (FlightSummary), empty for a failed sample or a number its flight doesn’t have: termination; apogee_m (height above the ground) and apogee_time_s; the peaks’ values rail_exit_speed_m_s, max_speed_m_s, max_mach, max_dynamic_pressure_pa, max_acceleration_m_s2, min_static_margin_cal, min_flight_margin_cal and max_angle_of_attack_rad; the landing of the part that keeps the nose (FlightSummary::nose_landing), landing_time_s, landing_east_m, landing_north_m, landing_distance_m, landing_latitude_deg, landing_longitude_deg and ground_hit_speed_m_s; for each part n that a separation dropped, part_n_landing_time_s, part_n_landing_east_m, part_n_landing_north_m and part_n_ground_hit_speed_m_s; and flags, the flags the flight raised (EnvelopeFlag: the operating envelope’s, and one for a rocket unstable under power), by name, separated by ;.

Structs§

Column
One column of a RunTable: its name, with its unit where it has one, and a value for each sample.
RunTable
A run as a table: the module’s docs list its columns.

Enums§

Values
A column’s values.