11 #include <dpsim-models/Base/Base_Ph1_Transformer.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/MNAInterface.h>
27 std::shared_ptr<DP::Ph1::Resistor> mSubResistor;
29 std::shared_ptr<DP::Ph1::Inductor> mSubInductor;
32 std::shared_ptr<DP::Ph1::Resistor> mSubSnubResistor1;
34 std::shared_ptr<DP::Ph1::Resistor> mSubSnubResistor2;
36 std::shared_ptr<DP::Ph1::Capacitor> mSubSnubCapacitor1;
38 std::shared_ptr<DP::Ph1::Capacitor> mSubSnubCapacitor2;
41 Real mSnubberResistance1;
43 Real mSnubberResistance2;
45 Real mSnubberCapacitance1;
47 Real mSnubberCapacitance2;
50 Bool mWithResistiveLosses;
55 Logger::Level logLevel = Logger::Level::off,
56 Bool withResistiveLosses =
false);
58 Transformer(String name, Logger::Level logLevel = Logger::Level::off)
65 void setParameters(Real nomVoltageEnd1, Real nomVoltageEnd2, Real ratioAbs,
66 Real ratioPhase, Real resistance, Real inductance);
68 void setParameters(Real nomVoltageEnd1, Real nomVoltageEnd2, Real ratedPower,
69 Real ratioAbs, Real ratioPhase, Real resistance,
91 AttributeBase::List &prevStepDependencies,
92 AttributeBase::List &attributeDependencies,
93 AttributeBase::List &modifiedAttributes)
override;
97 AttributeBase::List &attributeDependencies,
98 AttributeBase::List &modifiedAttributes,
Base class for composite power components.
String uid()
Returns unique id.
Base class for all components that are transmitting power.