28 const Attribute<Matrix>::Ptr
mVdq0;
33 const Attribute<Matrix>::Ptr
mIdq0;
37 const Attribute<Matrix>::Ptr
mVdq;
41 const Attribute<Matrix>::Ptr
mIdq;
46 Real mMechTorque_prev;
54 const Attribute<Real>::Ptr
mEf;
67 Real nomFreq, Real H, Real Ld, Real Lq,
68 Real L0, Real Ld_t, Real Td0_t);
71 Real nomFreq, Real H, Real Ld, Real Lq,
72 Real L0, Real Ld_t, Real Lq_t,
73 Real Td0_t, Real Tq0_t);
77 Real nomFreq, Real H, Real Ld, Real Lq,
78 Real L0, Real Ld_t, Real Lq_t,
79 Real Td0_t, Real Tq0_t, Real Ld_s,
80 Real Lq_s, Real Td0_s, Real Tq0_s,
83 void setInitialValues(Complex initComplexElectricalPower,
84 Real initMechanicalPower, Complex initTerminalVoltage);
87 void addGovernor(Real T3, Real T4, Real T5, Real Tc, Real Ts, Real R,
88 Real Pmin, Real Pmax, Real OmRef, Real TmRef);
90 addGovernor(std::shared_ptr<Signal::TurbineGovernorType1> turbineGovernor);
92 void addExciter(Real Ta, Real Ka, Real Te, Real Ke, Real Tf, Real Kf,
94 void addExciter(std::shared_ptr<Signal::Exciter> exciter);
105 Logger::Level logLevel);
107 void calculateVBRconstants();
109 void calculateResistanceMatrixConstants();
111 virtual void initializeResistanceMatrix() = 0;
121 void mnaCompInitialize(Real omega, Real timeStep,
122 Attribute<Matrix>::Ptr leftVector)
override;
125 AttributeBase::List &prevStepDependencies,
126 AttributeBase::List &attributeDependencies,
127 AttributeBase::List &modifiedAttributes)
override;
128 void mnaCompPreStep(Real time, Int timeStepCount)
override;
132 AttributeBase::List &attributeDependencies,
133 AttributeBase::List &modifiedAttributes,
134 Attribute<Matrix>::Ptr &leftVector)
override;
135 void mnaCompPostStep(Real time, Int timeStepCount,
136 Attribute<Matrix>::Ptr &leftVector)
final;
137 virtual void mnaCompPostStep(
const Matrix &leftVector) = 0;