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;
44 Bool mUseSubcomponents =
true;
54 MatrixComp mDirectMagnetizingPrevCurrentFactor;
59 Real mNoLoadCurrent = 0.01;
61 Real mNoLoadLoss = 1e-3;
64 Bool mWithResistiveLosses;
67 UInt mReferenceTerminal = 0;
69 UInt nonReferenceTerminal()
const {
return 1 - mReferenceTerminal; }
73 Real mOrientationSign = 1.;
77 void resolveWindingRoles();
83 mNoLoadCurrent = noLoadCurrent;
84 mNoLoadLoss = noLoadLoss;
88 mReferenceWinding = referenceWinding;
93 Bool withResistiveLosses =
false);
96 Bool withResistiveLosses =
false);
102 Bool withResistiveLosses =
false)
104 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.
std::complex< Real > Complex
Eigen::Matrix< Complex, Eigen::Dynamic, Eigen::Dynamic, Eigen::ColMajor > MatrixComp
Dense matrix for complex numbers.
Eigen::SparseMatrix< Real, Eigen::RowMajor > SparseMatrixRow
Sparse matrix for real numbers (row major).