Python external functions: ExternallyCalculatedScalarImposedMotion

This class is a Python equivalent of the C external function type TScalarStructValue. OrcaFlex itself creates this type in the Python namespace and passes an instance of this class as an attribute of the ExternalFunctionInfo parameter to the Python external function methods if the external function is being used to calculate turbine generator motion or turbine blade pitch motion. The Python external function can modify the values of the instance attributes to return motion data to OrcaFlex.

Construction

Instances of this class are created by OrcaFlex.

Attributes and methods

See the documentation for the C external function type TScalarStructValue for a description of each field.

Value, Velocity, Acceleration

These scalar attributes are Python float values.

See also

TScalarStructValue, ExternalFunctionInfo.