11 #include <dpsim-models/Base/Base_Ph1_PiLine.h>
12 #include <dpsim-models/CompositePowerComp.h>
13 #include <dpsim-models/DP/DP_Ph1_Capacitor.h>
14 #include <dpsim-models/DP/DP_Ph1_Inductor.h>
15 #include <dpsim-models/DP/DP_Ph1_Resistor.h>
16 #include <dpsim-models/Solver/MNATearInterface.h>
37 std::shared_ptr<Capacitor> mSubParallelCapacitor0;
47 PiLine(String
uid, String name, Logger::Level logLevel = Logger::Level::off);
49 PiLine(String name, Logger::Level logLevel = Logger::Level::off)
50 :
PiLine(name, name, logLevel) {}
65 void mnaParentPostStep(Real time, Int timeStepCount,
69 AttributeBase::List &prevStepDependencies,
70 AttributeBase::List &attributeDependencies,
71 AttributeBase::List &modifiedAttributes)
override;
73 mnaParentAddPostStepDependencies(AttributeBase::List &prevStepDependencies,
74 AttributeBase::List &attributeDependencies,
75 AttributeBase::List &modifiedAttributes,
78 MNAInterface::List mnaTearGroundComponents()
override;
79 void mnaTearInitialize(Real omega, Real timeStep)
override;
80 void mnaTearApplyMatrixStamp(SparseMatrixRow &tearMatrix)
override;
81 void mnaTearApplyVoltageStamp(Matrix &voltageVector)
override;
82 void mnaTearPostStep(Complex voltage, Complex current)
override;
Base class for composite power components.
PI-line dynamic phasor model.
void mnaParentPreStep(Real time, Int timeStepCount) override
MNA pre and post step operations.
std::shared_ptr< Capacitor > mSubParallelCapacitor1
Parallel capacitor submodel at Terminal 1.
SimPowerComp< Complex >::Ptr clone(String copySuffix) override
DEPRECATED: Remove method.
void mnaCompUpdateCurrent(const Matrix &leftVector) override
Updates internal current variable of the component.
std::shared_ptr< Resistor > mSubParallelResistor1
Parallel resistor submodel at Terminal 1.
std::shared_ptr< Resistor > mSubSeriesResistor
Series Resistor submodel.
void initializeFromNodesAndTerminals(Real frequency) override
Initializes component from power flow data.
std::shared_ptr< Inductor > mSubSeriesInductor
Series Inductance submodel.
PiLine(String name, Logger::Level logLevel=Logger::Level::off)
Defines name and logging level.
PiLine(String uid, String name, Logger::Level logLevel=Logger::Level::off)
Defines UID, name and logging level.
std::shared_ptr< Resistor > mSubParallelResistor0
Parallel Resistor submodel at Terminal 0.
std::vector< const Matrix * > mRightVectorStamps
Right side vectors of subcomponents.
void mnaParentAddPreStepDependencies(AttributeBase::List &prevStepDependencies, AttributeBase::List &attributeDependencies, AttributeBase::List &modifiedAttributes) override
add MNA pre and post step dependencies
void mnaCompUpdateVoltage(const Matrix &leftVector) override
Updates internal voltage variable of the component.
String uid()
Returns unique id.
Base class for all components that are transmitting power.