11 #include <dpsim-models/AttributeList.h>
12 #include <dpsim-models/Definitions.h>
34 explicit Transformer(CPS::AttributeList::Ptr attributeList)
35 :
mRatio(attributeList->create<Complex>(
"ratio")){};
38 void setParameters(Real nomVoltageEnd1, Real nomVoltageEnd2, Real ratedPower,
39 Real ratioAbs, Real ratioPhase, Matrix resistance,
44 **
mRatio = std::polar<Real>(ratioAbs, ratioPhase);