C# Class RealFuels.SolverRF

Inheritance: SolverEngines.EngineSolver
Exibir arquivo Open project: NathanKell/ModularFuelSystem Class Usage Examples

Public Methods

Method Description
CalculatePerformance ( double airRatio, double commandedThrottle, double flowMult, double ispMult ) : void
GetArea ( ) : double
GetEmissive ( ) : double
GetEngineTemp ( ) : double
GetFXPower ( ) : float
GetFXRunning ( ) : float
GetFXSpool ( ) : float
GetFXThrottle ( ) : float
GetRunning ( ) : bool
InitializeOverallEngineData ( double nMinFlow, double nMaxFlow, FloatCurve nAtmosphereCurve, FloatCurve nAtmCurve, FloatCurve nVelCurve, FloatCurve nAtmCurveIsp, FloatCurve nVelCurveIsp, bool nDisableUnderwater, double nThrottleResponseRate, double nChamberNominalTemp, double nMachLimit, double nMachMult, double nFlowMultMin, double nFlowMultCap, double nFlowMultSharp, double nVaryThrust, float nSeed ) : void
SetPartTemp ( double tmp ) : void
SetPropellantStatus ( bool pressureOK, bool ullageOK ) : void
SetScale ( double newScale ) : void
UpdateThrustRatio ( double r ) : void

Protected Methods

Method Description
FlowMult ( ) : double
MachTemp ( ) : double

Method Details

CalculatePerformance() public method

public CalculatePerformance ( double airRatio, double commandedThrottle, double flowMult, double ispMult ) : void
airRatio double
commandedThrottle double
flowMult double
ispMult double
return void

FlowMult() protected method

protected FlowMult ( ) : double
return double

GetArea() public method

public GetArea ( ) : double
return double

GetEmissive() public method

public GetEmissive ( ) : double
return double

GetEngineTemp() public method

public GetEngineTemp ( ) : double
return double

GetFXPower() public method

public GetFXPower ( ) : float
return float

GetFXRunning() public method

public GetFXRunning ( ) : float
return float

GetFXSpool() public method

public GetFXSpool ( ) : float
return float

GetFXThrottle() public method

public GetFXThrottle ( ) : float
return float

GetRunning() public method

public GetRunning ( ) : bool
return bool

InitializeOverallEngineData() public method

public InitializeOverallEngineData ( double nMinFlow, double nMaxFlow, FloatCurve nAtmosphereCurve, FloatCurve nAtmCurve, FloatCurve nVelCurve, FloatCurve nAtmCurveIsp, FloatCurve nVelCurveIsp, bool nDisableUnderwater, double nThrottleResponseRate, double nChamberNominalTemp, double nMachLimit, double nMachMult, double nFlowMultMin, double nFlowMultCap, double nFlowMultSharp, double nVaryThrust, float nSeed ) : void
nMinFlow double
nMaxFlow double
nAtmosphereCurve FloatCurve
nAtmCurve FloatCurve
nVelCurve FloatCurve
nAtmCurveIsp FloatCurve
nVelCurveIsp FloatCurve
nDisableUnderwater bool
nThrottleResponseRate double
nChamberNominalTemp double
nMachLimit double
nMachMult double
nFlowMultMin double
nFlowMultCap double
nFlowMultSharp double
nVaryThrust double
nSeed float
return void

MachTemp() protected method

protected MachTemp ( ) : double
return double

SetPartTemp() public method

public SetPartTemp ( double tmp ) : void
tmp double
return void

SetPropellantStatus() public method

public SetPropellantStatus ( bool pressureOK, bool ullageOK ) : void
pressureOK bool
ullageOK bool
return void

SetScale() public method

public SetScale ( double newScale ) : void
newScale double
return void

UpdateThrustRatio() public method

public UpdateThrustRatio ( double r ) : void
r double
return void