Marine systems simulation
CCIEngine Class Reference
+ Inheritance diagram for CCIEngine:
+ Collaboration diagram for CCIEngine:

Public Member Functions

 CCIEngine (const string &simobjectname, ISimObjectCreator *const creator)
 The constructor sets the pointer to the output object and the parser object.
 
const double * out_CC_IMEP (const double T, const double *const X)
 Output functions.
 
const double * out_CC_IP (const double T, const double *const X)
 
const double * out_CC_Lambda (const double T, const double *const X)
 
const double * out_CC_M_CC (const double T, const double *const X)
 
const double * out_CC_T_ExP (const double T, const double *const X)
 
const double * out_CC_W_ExP (const double T, const double *const X)
 
const double * out_CC_W_fuel (const double T, const double *const X)
 
const double * out_CC_W_InM (const double T, const double *const X)
 
const double * out_CC_X (const double T, const double *const X)
 
const double * out_InM_p (const double T, const double *const X)
 
const double * out_ExM_p (const double T, const double *const X)
 
const double * out_CS_M_eng (const double T, const double *const X)
 
const double * out_CS_N_eng (const double T, const double *const X)
 
const double * out_CS_P_eng (const double T, const double *const X)
 
const double * out_TC_K_cmp (const double T, const double *const X)
 
const double * out_TC_M_trb (const double T, const double *const X)
 
const double * out_TC_M_cmp (const double T, const double *const X)
 
const double * out_TC_PR_cmp (const double T, const double *const X)
 
const double * out_TC_PR_trb (const double T, const double *const X)
 
const double * out_TC_T_cmp (const double T, const double *const X)
 
const double * out_TC_W_cmp (const double T, const double *const X)
 
const double * out_TC_W_trb (const double T, const double *const X)
 
const double * out_TC_N_TC (const double T, const double *const X)
 
const double * out_IC_T_IC (const double T, const double *const X)
 
const double * out_ECU_FuelPrCyc (const double T, const double *const X)
 
const double * out_ECU_MaxFuelPrCyc (const double T, const double *const X)
 
const double * out_ECU_WGOpening (const double T, const double *const X)
 
void OdeFcn (const double T, const double *const X, double *const XDot, const bool bIsMajorTimeStep)
 Calculates the state derivatives.
 

Protected Member Functions

bool LoadParameterFile (ISimObjectCreator *creator)
 Loads engine parameters from xml file.
 
double IntegratorAntiWindup (const double *const adX, StateType *p_StateInfo, double Dot)
 
double CalcInM ()
 
void CalcCC ()
 
double CalcExM ()
 
double CalcTC ()
 
double CalcCS (const double T, const double *const X)
 
void CalcIC ()
 
double CalcECUWG (const double T, const double *const X)
 
double CalcECUMaxFuelPrCycle (const double T, const double *const X)
 
double CalcECUFuelPrCycle (const double T, const double *const X)
 
double PIController (PIType *p_PI, StateType *p_State, const double *const adX)
 

Protected Attributes

ModParType m_ModPar
 Model parameters.
 
StateType mS_p_InM
 States.
 
StateType mS_p_ExM
 
StateType mS_N_eng
 
StateType mS_N_TC
 
StateType mS_PI_N_eng
 
StateType mS_PI_Lambda
 
StateType mS_PI_WG
 
ModelInType m_InMod
 Model input indexes.
 
ModVarType m_Var
 Model variables used in the different submodels.
 
CPrintDuringExec * m_Print
 

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