STK AgPropagatorWrappersSend 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.
Windows





Windows & Linux

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
);
[Unmanaged C++]
public: HRESULT SetIspAndMassFlowRate(
    double Isp,
    double MassFlowRate,
    VARIANT_BOOL * pReturn
);
[Java]
public bool setIspAndMassFlowRate(
    double Isp,
    double MassFlowRate
);

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

© 2024 Analytical Graphics, Inc. All Rights Reserved.