AerospacePackage 1.0
Public Member Functions | List of all members
h2o2engine Class Reference

Models a single H2/O2 engine such as the SSME. More...

#include <h2o2engine.h>

Inherits dsim_model.

Public Member Functions

 h2o2engine (dsim_model_setup *setup)
 Constructor.
 
 ~h2o2engine ()
 Destructor.
 
void * describe_setup (void *ds)
 Describe the setup commands.
 
bool parse_setup (const char *command, const char *data)
 Parse the setup commands. More...
 
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.
 

Detailed Description

Models a single H2/O2 engine such as the SSME.

It is assumed to be fed by turbopumps so the pressure is constant. The engine can be throttled over a preset throttle range.

Member Function Documentation

◆ parse_setup()

bool h2o2engine::parse_setup ( const char *  command,
const char *  data 
)

Parse the setup commands.

Processes commands.

◆ rhs()

void h2o2engine::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.


The documentation for this class was generated from the following files: