 |
JSBSim Flight Dynamics Model
1.1.11 (13 Feb 2022)
An Open Source Flight Dynamics and Control Software Library in C++
|
42 #include "math/FGTable.h"
43 #include "math/FGFunction.h"
166 double GetOxiFlowRate(
void)
const {
return OxidizerFlowRate;}
168 double GetMixtureRatio(
void)
const {
return MxR;}
170 double GetIsp(
void)
const {
return Isp;}
172 void SetMixtureRatio(
double mix) {MxR = mix;}
174 void SetIsp(
double isp) {Isp = isp;}
176 std::string GetEngineLabels(
const std::string& delimiter);
177 std::string GetEngineValues(
const std::string& delimiter);
208 double GetVacThrust(
void)
const {
return VacThrust;}
210 void bindmodel(FGPropertyManager* pm);
217 double ThrustVariation;
218 double TotalIspVariation;
220 double previousFuelNeedPerTank;
221 double previousOxiNeedPerTank;
222 double OxidizerExpended;
223 double TotalPropellantExpended;
226 double OxidizerFlowRate;
227 double PropellantFlowRate;
230 FGTable* ThrustTable;
231 FGFunction* isp_function;
234 void Debug(
int from);
double GetTotalImpulse(void) const
Gets the total impulse of the rocket.
Encapsulates the JSBSim simulation executive.
void SetTotalIspVariation(double var)
Sets the variation in total motor energy.
double GetThrustVariation(void) const
Returns the thrust variation, if any.
double GetTotalIspVariation(void) const
Returns the Total Isp variation, if any.
void Calculate(void)
Determines the thrust.
~FGRocket(void)
Destructor.
Models a generic rocket engine.
double GetVacTotalImpulse(void) const
Gets the total impulse of the rocket.
void SetThrustVariation(double var)
Sets the thrust variation for a solid rocket engine.
double CalcOxidizerNeed(void)
The oxidizer need is calculated based on power levels and flow rate for that power level.
double CalcFuelNeed(void)
The fuel need is calculated based on power levels and flow rate for that power level.
Base class for all engines.
FGRocket(FGFDMExec *exec, Element *el, int engine_number, struct FGEngine::Inputs &input)
Constructor.
bool GetFlameout(void)
Gets the flame-out status.