11 #include <dpsim-models/Base/Base_Ph3_Resistor.h>
12 #include <dpsim-models/Definitions.h>
13 #include <dpsim-models/Logger.h>
14 #include <dpsim-models/MNASimPowerComp.h>
15 #include <dpsim-models/Solver/MNAInterface.h>
28 Logger::Level logLevel = Logger::Level::off);
30 Resistor(String name, Logger::Level logLevel = Logger::Level::off)
40 void mnaCompInitialize(Real omega, Real timeStep,
45 void mnaCompUpdateVoltage(
const Matrix &leftVector)
override;
47 void mnaCompUpdateCurrent(
const Matrix &leftVector)
override;
52 AttributeBase::List &attributeDependencies,
53 AttributeBase::List &modifiedAttributes,
55 void mnaCompPostStep(Real time, Int timeStepCount,
SimPowerComp< Complex >::Ptr clone(String name) override
Returns a modified copy of the component with the given suffix added to the name and without.
void initializeFromNodesAndTerminals(Real frequency) override
Initializes component from power flow data.
void mnaCompApplySystemMatrixStamp(SparseMatrixRow &systemMatrix) override
Stamps system matrix.
Resistor(String name, Logger::Level logLevel=Logger::Level::off)
Defines name and logging level.
Resistor(String uid, String name, Logger::Level logLevel=Logger::Level::off)
Defines UID, name and logging level.
void mnaCompAddPostStepDependencies(AttributeBase::List &prevStepDependencies, AttributeBase::List &attributeDependencies, AttributeBase::List &modifiedAttributes, Attribute< Matrix >::Ptr &leftVector) override
Add MNA post step dependencies.
String uid()
Returns unique id.
Base class for all MNA components that are transmitting power.
Base class for all components that are transmitting power.