11 #include <dpsim-models/Base/Base_Ph3_PiLine.h>
12 #include <dpsim-models/CompositePowerComp.h>
13 #include <dpsim-models/EMT/EMT_Ph3_Capacitor.h>
14 #include <dpsim-models/EMT/EMT_Ph3_Inductor.h>
15 #include <dpsim-models/EMT/EMT_Ph3_Resistor.h>
16 #include <dpsim-models/Solver/MNAInterface.h>
36 std::shared_ptr<Capacitor> mSubParallelCapacitor0;
40 std::shared_ptr<Capacitor> mSubParallelCapacitor1;
46 PiLine(String
uid, String name, Logger::Level logLevel = Logger::Level::off);
48 PiLine(String name, Logger::Level logLevel = Logger::Level::off)
49 :
PiLine(name, name, logLevel) {}
69 AttributeBase::List &prevStepDependencies,
70 AttributeBase::List &attributeDependencies,
71 AttributeBase::List &modifiedAttributes)
override;
75 AttributeBase::List &attributeDependencies,
76 AttributeBase::List &modifiedAttributes,
Base class for composite power components.
PI-line dynamic phasor model.
PiLine(String uid, String name, Logger::Level logLevel=Logger::Level::off)
Defines UID, name and logging level.
SimPowerComp< Real >::Ptr clone(String copySuffix) override
DEPRECATED: Delete method.
void mnaParentPostStep(Real time, Int timeStepCount, Attribute< Matrix >::Ptr &leftVector) override
MNA post step operations.
void mnaCompUpdateVoltage(const Matrix &leftVector) override
Updates internal voltage variable of the component.
std::shared_ptr< Resistor > mSubParallelResistor0
Parallel Resistor submodel at Terminal 0.
void mnaParentAddPostStepDependencies(AttributeBase::List &prevStepDependencies, AttributeBase::List &attributeDependencies, AttributeBase::List &modifiedAttributes, Attribute< Matrix >::Ptr &leftVector) override
Add MNA post step dependencies.
void initializeFromNodesAndTerminals(Real frequency) override
Initializes component from power flow data.
PiLine(String name, Logger::Level logLevel=Logger::Level::off)
Defines name and logging level.
void mnaCompUpdateCurrent(const Matrix &leftVector) override
Updates internal current variable of the component.
void mnaParentPreStep(Real time, Int timeStepCount) override
MNA pre step operations.
std::shared_ptr< Inductor > mSubSeriesInductor
Series Inductance submodel.
std::shared_ptr< Resistor > mSubSeriesResistor
Series Resistor submodel.
std::vector< const Matrix * > mRightVectorStamps
solver
void mnaParentAddPreStepDependencies(AttributeBase::List &prevStepDependencies, AttributeBase::List &attributeDependencies, AttributeBase::List &modifiedAttributes) override
Add MNA pre step dependencies.
std::shared_ptr< Resistor > mSubParallelResistor1
Parallel resistor submodel at Terminal 1.
String uid()
Returns unique id.
Base class for all components that are transmitting power.