19 std::shared_ptr<DP::Ph3::Resistor> mSubResistor;
20 std::shared_ptr<DP::Ph3::Resistor> mSubResistor2;
21 std::shared_ptr<DP::Ph3::Inductor> mSubInductor;
22 std::shared_ptr<DP::Ph3::Inductor> mSubInductor2;
23 std::shared_ptr<DP::Ph3::Resistor> mSubMagnetizingResistor;
24 std::shared_ptr<DP::Ph3::Inductor> mSubMagnetizingInductor;
27 Matrix mMagnetizingResistance;
29 Matrix mMagnetizingInductance;
31 Real mNoLoadCurrent = 0.01;
33 Real mNoLoadLoss = 1e-3;
35 Bool mSubCompCreated =
false;
37 Bool mWithResistiveLosses;
40 UInt mReferenceTerminal = 0;
42 UInt nonReferenceTerminal()
const {
return 1 - mReferenceTerminal; }
46 Real mOrientationSign = 1.;
50 void resolveWindingRoles();
52 void createSubComponents()
override;
57 mNoLoadCurrent = noLoadCurrent;
58 mNoLoadLoss = noLoadLoss;
62 mReferenceWinding = referenceWinding;
67 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).