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)
57 AttributeBase::List &attributeDependencies,
58 AttributeBase::List &modifiedAttributes,
60 void mnaTearApplyMatrixStamp(SparseMatrixRow &tearMatrix);
String uid()
Returns unique id.
Base class for all MNA components that are transmitting power.
Static phasor inductor model.
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.
Base class for all components that are transmitting power.