27 std::shared_ptr<DP::Ph1::Resistor> mSubResistor;
29 std::shared_ptr<DP::Ph1::Inductor> mSubInductor;
32 std::shared_ptr<DP::Ph1::Resistor> mSubResistor2;
34 std::shared_ptr<DP::Ph1::Inductor> mSubInductor2;
36 std::shared_ptr<DP::Ph1::Resistor> mSubMagnetizingResistor;
38 std::shared_ptr<DP::Ph1::Inductor> mSubMagnetizingInductor;
41 Real mMagnetizingResistance;
43 Real mMagnetizingInductance;
45 Real mNoLoadCurrent = 0.01;
47 Real mNoLoadLoss = 1e-3;
50 Bool mWithResistiveLosses;
53 UInt mReferenceTerminal = 0;
55 UInt nonReferenceTerminal()
const {
return 1 - mReferenceTerminal; }
59 Real mOrientationSign = 1.;
63 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).