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();
65 Bool mUseSubcomponents =
true;
82 mNoLoadCurrent = noLoadCurrent;
83 mNoLoadLoss = noLoadLoss;
87 mReferenceWinding = referenceWinding;
92 Bool withResistiveLosses =
false);
97 Bool withResistiveLosses =
false);
100 Bool withResistiveLosses =
false)
102 withResistiveLosses) {}
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.
Eigen::Matrix< Real, rows, cols, Eigen::ColMajor > MatrixFixedSize
Dense matrix for real numbers with fixed dimension.
std::complex< Real > Complex
Eigen::SparseMatrix< Real, Eigen::RowMajor > SparseMatrixRow
Sparse matrix for real numbers (row major).