AerospacePackage 1.0
|
Models a tri_mode_engine. More...
#include <tri_mode_engine.h>
Inherits dsim_model.
Public Member Functions | |
tri_mode_engine (dsim_model_setup *setup) | |
Constructor. | |
~tri_mode_engine () | |
Destructor. | |
void | initialize_data () |
Initialize outlets and output variables. | |
void | initialization_complete () |
Finish initialization. | |
void | initialize_timestep () |
Computation done prior to numerical integration. | |
void | rhs (double t, double jd) |
Computation done during numerical integration. More... | |
void | complete_timestep () |
Computation done after numerical integration. | |
Models a tri_mode_engine.
Uses a table lookup for a turbofan, a turbofan with afterburner, a ramjet and a rocket engine
void tri_mode_engine::rhs | ( | double | t, |
double | jd | ||
) |
Computation done during numerical integration.
The right hand side applies the force and torque to the parent object and computes the mass derivative using the mass flow.