44 typedef std::shared_ptr<DecouplingLine>
Ptr;
70 :
Task(**line.
mName +
".MnaPreStep"), mLine(line) {
85 :
Task(**line.
mName +
".PostStep"), mLine(line) {
AttributePointer< Attribute< T > > Ptr
spdlog::level::level_enum Level
void execute(Real time, Int timeStepCount)
PostStep(DecouplingLine &line)
PreStep(DecouplingLine &line)
void execute(Real time, Int timeStepCount)
Attribute< Complex >::Ptr mSrcCur2
std::shared_ptr< DP::Ph1::CurrentSource > mSrc1
std::shared_ptr< DP::SimNode > mNode1
std::shared_ptr< DP::SimNode > mNode2
std::shared_ptr< DecouplingLine > Ptr
std::vector< Complex > mCur2
Attribute< Complex >::Ptr mSrcCur1
std::vector< Complex > mCur1
const Attribute< Complex >::Ptr mSrcCur1Ref
std::shared_ptr< DP::Ph1::CurrentSource > mSrc2
void setParameters(SimNode< Complex >::Ptr node1, SimNode< Complex >::Ptr node2, Real resistance, Real inductance, Real capacitance)
std::vector< Complex > mVolt2
Complex interpolate(std::vector< Complex > &data)
IdentifiedObject::List getLineComponents()
const Attribute< Matrix >::Ptr mStates
FIXME: workaround for dependency analysis as long as the states aren't attributes.
std::shared_ptr< DP::Ph1::Resistor > mRes1
const Attribute< Complex >::Ptr mSrcCur2Ref
void initialize(Real omega, Real timeStep)
void step(Real time, Int timeStepCount)
std::vector< Complex > mVolt1
DecouplingLine(String name, SimNode< Complex >::Ptr node1, SimNode< Complex >::Ptr node2, Real resistance, Real inductance, Real capacitance, Logger::Level logLevel=Logger::Level::info)
std::shared_ptr< DP::Ph1::Resistor > mRes2
std::shared_ptr< SimNode< VarType > > Ptr
SimSignalComp(String uid, String name, Logger::Level logLevel=Logger::Level::off)
std::vector< AttributeBase::Ptr > mModifiedAttributes
std::vector< AttributeBase::Ptr > mPrevStepDependencies
std::vector< AttributeBase::Ptr > mAttributeDependencies
struct dps_magma_data data
std::complex< Real > Complex