AttributePointer< Attribute< T > > Ptr
void updateVoltage(const Matrix &leftVector)
void mnaCompApplySystemMatrixStamp(SparseMatrixRow &systemMatrix)
Stamps system matrix.
void mnaCompApplyRightSideVectorStamp(Matrix &rightVector)
virtual void specificInitialization()=0
Function to initialize the specific variables of each SG model.
virtual ~SynchronGeneratorIter()
Matrix parkTransform(Real theta, const Matrix &abcVector)
virtual void correctorStep()=0
SynchronGeneratorIter(const String &name, Logger::Level logLevel)
Bool hasParameterChanged() override
Mark that parameter changes so that system matrix is updated.
virtual void stepInPerUnit()=0
Model specific step.
void mnaCompPostStep(const Matrix &leftVector)
void mnaCompInitialize(Real omega, Real timeStep, Attribute< Matrix >::Ptr leftVector)
SynchronGeneratorIter(const String &uid, const String &name, Logger::Level logLevel)
Constructor.
String uid()
Returns unique id.
spdlog::level::level_enum Level
MNASyncGenInterface()
Constructor.
Eigen::Matrix< Real, Eigen::Dynamic, Eigen::Dynamic, Eigen::ColMajor > Matrix
Dense matrix for real numbers.
Eigen::SparseMatrix< Real, Eigen::RowMajor > SparseMatrixRow
Sparse matrix for real numbers (row major).