EngineCustom#
- class ansys.stk.core.stkobjects.astrogator.EngineCustom#
Bases:
IComponentInfo
,ICloneable
Custom engine model.
Overview#
Enable the specified control parameter. |
|
Disables the specified control parameter. |
|
Sees if the specified control is enabled. |
Get or set the earth surface gravity acceleration for Isp conversions. Uses Acceleration Dimension. |
|
Get or set the EvalFunction - custom function to call at every thrust evaluation. |
|
Get or set the PostFunction - custom function to call after all propagation ends. |
|
Get or set the PreFunction - custom function to call before any propagation begins. |
|
Get or set the SegStartFunction - custom function to call at the beginning of each segment. |
|
Get or set the UpdateFunction - custom function to call at the beginning of each integration step. |
|
Return whether or not the control parameters can be set. |
Import detail#
from ansys.stk.core.stkobjects.astrogator import EngineCustom
Property detail#
- property EngineCustom.g: float#
Get or set the earth surface gravity acceleration for Isp conversions. Uses Acceleration Dimension.
- property EngineCustom.eval_function_name: str#
Get or set the EvalFunction - custom function to call at every thrust evaluation.
- property EngineCustom.post_function_name: str#
Get or set the PostFunction - custom function to call after all propagation ends.
- property EngineCustom.pre_function_name: str#
Get or set the PreFunction - custom function to call before any propagation begins.
- property EngineCustom.seg_start_function_name: str#
Get or set the SegStartFunction - custom function to call at the beginning of each segment.
Method detail#
- EngineCustom.enable_control_parameter(self, param: ControlEngineCustom) None #
Enable the specified control parameter.
- Parameters:
param :
ControlEngineCustom
- Returns:
- EngineCustom.disable_control_parameter(self, param: ControlEngineCustom) None #
Disables the specified control parameter.
- Parameters:
param :
ControlEngineCustom
- Returns:
- EngineCustom.is_control_parameter_enabled(self, param: ControlEngineCustom) bool #
Sees if the specified control is enabled.
- Parameters:
param :
ControlEngineCustom
- Returns: