31 const Attribute<Matrix>::Ptr
mVdq0;
36 const Attribute<Matrix>::Ptr
mIdq0;
40 const Attribute<Matrix>::Ptr
mVdq;
44 const Attribute<Matrix>::Ptr
mIdq;
46 const Attribute<Complex>::Ptr
mPower;
51 Real mMechTorque_prev;
59 const Attribute<Real>::Ptr
mEf;
72 Real nomFreq, Real H, Real Ld, Real Lq,
73 Real L0, Real Ld_t, Real Td0_t);
76 Real nomFreq, Real H, Real Ld, Real Lq,
77 Real L0, Real Ld_t, Real Lq_t,
78 Real Td0_t, Real Tq0_t);
82 Real nomFreq, Real H, Real Ld, Real Lq,
83 Real L0, Real Ld_t, Real Lq_t,
84 Real Td0_t, Real Tq0_t, Real Ld_s,
85 Real Lq_s, Real Td0_s, Real Tq0_s,
88 void setInitialValues(Complex initComplexElectricalPower,
89 Real initMechanicalPower, Complex initTerminalVoltage);
92 void addGovernor(Real T3, Real T4, Real T5, Real Tc, Real Ts, Real R,
93 Real Pmin, Real Pmax, Real OmRef, Real TmRef);
95 addGovernor(std::shared_ptr<Signal::TurbineGovernorType1> turbineGovernor);
99 std::shared_ptr<Base::GovernorParameters> govParams,
100 std::shared_ptr<Base::Turbine> turbine,
101 std::shared_ptr<Base::TurbineParameters> turbineParams);
104 std::shared_ptr<Base::Turbine> turbine);
106 void addExciter(std::shared_ptr<Base::Exciter> exciter,
107 std::shared_ptr<Base::ExciterParameters> params);
109 void addExciter(std::shared_ptr<Base::Exciter> exciter);
112 void addExciter(Real Ta, Real Ka, Real Te, Real Ke, Real Tf, Real Kf,
115 void addPSS(std::shared_ptr<Base::PSS> pss,
116 std::shared_ptr<Base::PSSParameters> parameters);
118 void addPSS(std::shared_ptr<Base::PSS> pss);
129 Logger::Level logLevel);
131 void calculateVBRconstants();
133 void calculateResistanceMatrixConstants();
135 virtual void initializeResistanceMatrix() = 0;
145 void mnaCompInitialize(Real omega, Real timeStep,
146 Attribute<Matrix>::Ptr leftVector)
override;
149 AttributeBase::List &prevStepDependencies,
150 AttributeBase::List &attributeDependencies,
151 AttributeBase::List &modifiedAttributes)
override;
152 void mnaCompPreStep(Real time, Int timeStepCount)
override;
156 AttributeBase::List &attributeDependencies,
157 AttributeBase::List &modifiedAttributes,
158 Attribute<Matrix>::Ptr &leftVector)
override;
159 void mnaCompPostStep(Real time, Int timeStepCount,
160 Attribute<Matrix>::Ptr &leftVector)
final;
161 virtual void mnaCompPostStep(
const Matrix &leftVector) = 0;
299 std::shared_ptr<Base::PSS>
mPSS;