38 RxLine(String
uid, String name, Logger::Level logLevel = Logger::Level::off);
40 RxLine(String name, Logger::Level logLevel = Logger::Level::off)
41 :
RxLine(name, name, logLevel) {}
43 SimPowerComp<Real>::Ptr
clone(String name);
52 Attribute<Matrix>::Ptr leftVector);
59 void mnaCompUpdateVoltage(
const Matrix &leftVector);
60 void mnaCompUpdateCurrent(
const Matrix &leftVector);
64 AttributeBase::List &prevStepDependencies,
65 AttributeBase::List &attributeDependencies,
66 AttributeBase::List &modifiedAttributes)
override;
68 AttributeBase::List &attributeDependencies,
69 AttributeBase::List &modifiedAttributes) {
70 mAttributeDependencies.push_back(
71 line.mSubResistor->attribute(
"right_vector"));
72 mAttributeDependencies.push_back(
73 line.mSubInductor->attribute(
"right_vector"));
74 mModifiedAttributes.push_back(line.attribute(
"right_vector"));
80 AttributeBase::List &attributeDependencies,
81 AttributeBase::List &modifiedAttributes,
82 Attribute<Matrix>::Ptr &leftVector)
override;
85 AttributeBase::List &attributeDependencies,
86 AttributeBase::List &modifiedAttributes,
87 Attribute<Matrix>::Ptr &leftVector) {
88 mAttributeDependencies.push_back(leftVector);
89 mAttributeDependencies.push_back(line.mSubInductor->attribute(
"i_intf"));
90 mModifiedAttributes.push_back(line.attribute(
"i_intf"));
91 mModifiedAttributes.push_back(line.attribute(
"v_intf"));
void mnaCompAddPostStepDependencies(AttributeBase::List &prevStepDependencies, AttributeBase::List &attributeDependencies, AttributeBase::List &modifiedAttributes, Attribute< Matrix >::Ptr &leftVector) override
Add MNA post step dependencies.
void mnaCompAddPreStepDependencies(AttributeBase::List &prevStepDependencies, AttributeBase::List &attributeDependencies, AttributeBase::List &modifiedAttributes) override
Add MNA pre step dependencies.
RxLine(String uid, String name, Logger::Level logLevel=Logger::Level::off)
Defines UID, name, logging level.