11#include <dpsim-models/MNASimPowerComp.h>
13#include <dpsim-models/Base/Base_Ph1_Inductor.h>
14#include <dpsim-models/Solver/MNATearInterface.h>
31 Logger::Level logLevel = Logger::Level::off);
33 Inductor(String name, Logger::Level logLevel = Logger::Level::off)
36 SimPowerComp<Complex>::Ptr
clone(String name);
44 Attribute<Matrix>::Ptr leftVector);
53 Attribute<Matrix>::Ptr &leftVector);
57 AttributeBase::List &attributeDependencies,
58 AttributeBase::List &modifiedAttributes,
59 Attribute<Matrix>::Ptr &leftVector);
60 void mnaTearApplyMatrixStamp(SparseMatrixRow &tearMatrix);
String uid()
Returns unique id.
MNASimPowerComp(String uid, String name, Bool hasPreStep, Bool hasPostStep, Logger::Level logLevel)
Inductor(String name, Logger::Level logLevel=Logger::Level::off)
Defines name and log level.
void mnaCompInitialize(Real omega, Real timeStep, Attribute< Matrix >::Ptr leftVector)
Initializes internal variables of the component.
SimPowerComp< Complex >::Ptr clone(String name)
Returns a modified copy of the component with the given suffix added to the name and without.
Complex mSusceptance
susceptance [S]
void initializeFromNodesAndTerminals(Real frequency)
Initializes component from power flow data.
void mnaCompPostStep(Real time, Int timeStepCount, Attribute< Matrix >::Ptr &leftVector)
MNA post step operations.
void mnaCompUpdateCurrent(const Matrix &leftVector)
Update interface current from MNA system results.
Inductor(String uid, String name, Logger::Level logLevel=Logger::Level::off)
Defines UID, name and log level.
void mnaCompAddPostStepDependencies(AttributeBase::List &prevStepDependencies, AttributeBase::List &attributeDependencies, AttributeBase::List &modifiedAttributes, Attribute< Matrix >::Ptr &leftVector)
Add MNA post step dependencies.
void mnaCompUpdateVoltage(const Matrix &leftVector)
Update interface voltage from MNA system results.
void mnaCompApplySystemMatrixStamp(SparseMatrixRow &systemMatrix)
Stamps system matrix.