rocketpal.core.flight_simulation module

class rocketpal.core.flight_simulation.FlightSimulation(config, output_folder, motor_file_path, motor_config, parachutes, airbrakes, rail_button_config, nosecone_config, power_off_drag_curve_file_path, power_on_drag_curve_file_path, fins_config, launch_location, weather_config)[source]

Bases: object

Parameters:
config: SimulationConfig
environment: Environment
export_results()[source]
Return type:

None

flight: Flight
motor: SolidMotor
output_folder: Path
rocket: Rocket
show_input_info()[source]
Return type:

None

show_results()[source]
Return type:

None

simulate()[source]
Return type:

None

stochastic_airbrakes: list[StochasticAirBrakes]
stochastic_environment: StochasticEnvironment
stochastic_flight: StochasticFlight
stochastic_motor: StochasticSolidMotor
stochastic_parachutes: list[StochasticParachute]
stochastic_rocket: StochasticRocket
rocketpal.core.flight_simulation.wind_speed_and_direction_to_east_and_north(wind_speed, wind_direction)[source]
Parameters:
  • wind_speed (float)

  • wind_direction (float)

Return type:

tuple[float, float]