39 Real mPrevTimeStep = 0;
43 Bool mMechMode =
false;
45 Real mMechSwitchDelay;
54 Attribute<Real>::Ptr mDeltaV;
55 Attribute<Real>::Ptr mBPrev;
56 Attribute<Real>::Ptr mViolationCounter;
68 mBN = QN / (nomVolt * nomVolt);
74 void setControllerParameters(Real T, Real K) {
80 void setMechModelParameter(Real deadband, Real switchDelay, Real maxPos,
81 Real minPos, Real nomVolt, Real RefVolt, Real BN,
88 mMechSwitchDelay = switchDelay;
98 mQN =
mBN * nomVolt * nomVolt;