28 std::shared_ptr<EMT::Ph3::Resistor> mSubResistor;
30 std::shared_ptr<EMT::Ph3::Inductor> mSubInductor;
33 std::shared_ptr<EMT::Ph3::Resistor> mSubResistor2;
35 std::shared_ptr<EMT::Ph3::Inductor> mSubInductor2;
37 std::shared_ptr<EMT::Ph3::Resistor> mSubMagnetizingResistor;
39 std::shared_ptr<EMT::Ph3::Inductor> mSubMagnetizingInductor;
42 Matrix mMagnetizingResistance;
44 Matrix mMagnetizingInductance;
46 Real mNoLoadCurrent = 0.01;
48 Real mNoLoadLoss = 1e-3;
51 Bool mWithResistiveLosses;
54 UInt mReferenceTerminal = 0;
56 UInt nonReferenceTerminal()
const {
return 1 - mReferenceTerminal; }
60 Real mOrientationSign = 1.;
64 void resolveWindingRoles();
69 mNoLoadCurrent = noLoadCurrent;
70 mNoLoadLoss = noLoadLoss;
74 mReferenceWinding = referenceWinding;
79 Bool withResistiveLosses =
false);
AttributePointer< Attribute< T > > Ptr
CompositePowerComp(String uid, String name, Bool hasPreStep, Bool hasPostStep, Logger::Level logLevel)
String uid()
Returns unique id.
spdlog::level::level_enum Level
std::shared_ptr< SimPowerComp< VarType > > Ptr
Eigen::Matrix< Real, Eigen::Dynamic, Eigen::Dynamic, Eigen::ColMajor > Matrix
Dense matrix for real numbers.
std::complex< Real > Complex
Eigen::SparseMatrix< Real, Eigen::RowMajor > SparseMatrixRow
Sparse matrix for real numbers (row major).