11 #include <dpsim-models/Base/Base_Ph1_Transformer.h>
12 #include <dpsim-models/CompositePowerComp.h>
13 #include <dpsim-models/SP/SP_Ph1_Capacitor.h>
14 #include <dpsim-models/SP/SP_Ph1_Inductor.h>
15 #include <dpsim-models/SP/SP_Ph1_Resistor.h>
16 #include <dpsim-models/Solver/MNAInterface.h>
17 #include <dpsim-models/Solver/PFSolverInterfaceBranch.h>
30 std::shared_ptr<SP::Ph1::Resistor> mSubResistor;
32 std::shared_ptr<SP::Ph1::Inductor> mSubInductor;
35 std::shared_ptr<SP::Ph1::Resistor> mSubSnubResistor1;
37 std::shared_ptr<SP::Ph1::Resistor> mSubSnubResistor2;
39 std::shared_ptr<SP::Ph1::Capacitor> mSubSnubCapacitor1;
41 std::shared_ptr<SP::Ph1::Capacitor> mSubSnubCapacitor2;
44 Real mSnubberResistance1;
46 Real mSnubberResistance2;
48 Real mSnubberCapacitance1;
50 Real mSnubberCapacitance2;
65 Real mBaseApparentPower;
79 Real mResistancePerUnit;
81 Real mReactancePerUnit;
83 Real mInductancePerUnit;
85 Complex mLeakagePerUnit;
87 Complex mMagnetizingPerUnit;
89 Real mRatioAbsPerUnit;
92 MatrixComp mY_element;
95 Bool mWithResistiveLosses;
117 Logger::Level logLevel = Logger::Level::off,
118 Bool withResistiveLosses =
false);
120 Transformer(String name, Logger::Level logLevel = Logger::Level::off)
127 void setParameters(Real nomVoltageEnd1, Real nomVoltageEnd2, Real ratioAbs,
128 Real ratioPhase, Real resistance, Real inductance);
130 void setParameters(Real nomVoltageEnd1, Real nomVoltageEnd2, Real ratedPower,
131 Real ratioAbs, Real ratioPhase, Real resistance,
169 AttributeBase::List &prevStepDependencies,
170 AttributeBase::List &attributeDependencies,
171 AttributeBase::List &modifiedAttributes)
override;
175 AttributeBase::List &attributeDependencies,
176 AttributeBase::List &modifiedAttributes,
Base class for composite power components.
String uid()
Returns unique id.
Common base class of all Component templates.
Base class for all components that are transmitting power.