FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
Actuator Class Reference
+ Inheritance diagram for Actuator:
+ Collaboration diagram for Actuator:

Public Member Functions

 Actuator (std::string simObjectName, ISimObjectCreator *creator)
 
void OdeFcn (const double dT, const double *const adX, double *const adXDot) const
 
const double * OutLength (const double T, const double *const X)
 
const double * OutPower (const double T, const double *const X)
 
const double * OutEnergy (const double T, const double *const X)
 
Jacobian support for implicit integration

Both state derivatives are input-driven (speed and force are external ports); partial derivatives w.r.t. states are identically zero. The length-boundary clamp contributes zero derivative (per saturation rule).

bool HasJacobians () const override
 
void OdeJacobian (double T, const double *X, double *J, int nStates) override
 
int GetJacobianSparsity (int nStates, int *rowPtr, int *colIdx) override
 

Protected Attributes

ISignalPort * m_InSpeedRef
 
ISignalPort * m_InForce
 
int m_IStateLength
 
int m_IStateEnergy
 
double m_minForce
 
double m_maxForce
 
double m_minSpeed
 
double m_maxSpeed
 
double m_minLength
 
double m_maxLength
 
double m_power
 

The documentation for this class was generated from the following file: