AGI AgGator 11 Send comments on this topic.
SetIspAndMassFlowRate Method (IAgGatorPluginResultEvalEngineModel)
See Also 
Isp
Must be non-negative
MassFlowRate
Mass loss rate. May be entered as positive or negative number, but is always considered a mass loss, not a mass gain.





Description

Sets the current isp and mass flow rate. Computes the thrust using the rocket equation. Returns false on an error.

Syntax

[Visual Basic .NET]
Public Function SetIspAndMassFlowRate( _
   ByVal Isp As Double, _
   ByVal MassFlowRate As Double _
) As Boolean

[C#]
public bool SetIspAndMassFlowRate(
double Isp,
double MassFlowRate
);

[Managed C++]
public: bool SetIspAndMassFlowRate(
double Isp,
double MassFlowRate
);

[Java]
public bool setIspAndMassFlowRate(
double Isp,
double MassFlowRate
);

[Unmanaged C++]
public: HRESULT SetIspAndMassFlowRate(
double Isp,
double MassFlowRate,
VARIANT_BOOL * ReturnValue
);

Parameters

Isp
Must be non-negative
MassFlowRate
Mass loss rate. May be entered as positive or negative number, but is always considered a mass loss, not a mass gain.

Return Type

Returns false if Isp is negative

Remarks

Computes thrust from the rocket equation

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1