27 Logger::Level logLevel = Logger::Level::off);
45 void trapezoidalCurrentStates();
54 Real nomPower, Real nomVolt, Real nomFreq, Int poleNumber,
55 Real nomFieldCur, Real Rs, Real Ll, Real Lmd, Real Lmq, Real Rfd,
56 Real Llfd, Real Rkd, Real Llkd, Real Rkq1, Real Llkq1, Real Rkq2,
57 Real Llkq2, Real inertia, Real initActivePower, Real initReactivePower,
58 Real initTerminalVolt, Real initVoltAngle, Real initMechPower);
66 Real electricalTorque()
const;
68 Real rotationalSpeed()
const;
70 Real rotorPosition()
const;
72 void step(MatrixComp &voltage, Real time);
78 Attribute<Matrix>::Ptr leftVector)
override = 0;
81 void mnaStep(Matrix &systemMatrix, Matrix &rightVector, Matrix &leftVector,
84 void mnaCompApplyRightSideVectorStamp(Matrix &rightVector)
override;
86 void mnaCompApplySystemMatrixStamp(SparseMatrixRow &systemMatrix)
override;
94 AttributeBase::List &attributeDependencies,
95 AttributeBase::List &modifiedAttributes,
96 Attribute<Matrix>::Ptr &leftVector)
override;
97 void mnaCompPostStep(Real time, Int timeStepCount,
98 Attribute<Matrix>::Ptr &leftVector)
override;
void mnaCompAddPostStepDependencies(AttributeBase::List &prevStepDependencies, AttributeBase::List &attributeDependencies, AttributeBase::List &modifiedAttributes, Attribute< Matrix >::Ptr &leftVector) override
Add MNA post step dependencies.
void setParametersFundamentalPerUnit(Real nomPower, Real nomVolt, Real nomFreq, Int poleNumber, Real nomFieldCur, Real Rs, Real Ll, Real Lmd, Real Lmq, Real Rfd, Real Llfd, Real Rkd, Real Llkd, Real Rkq1, Real Llkq1, Real Rkq2, Real Llkq2, Real inertia, Real initActivePower, Real initReactivePower, Real initTerminalVolt, Real initVoltAngle, Real initMechPower)