|
DPsim
|
#include <DecouplingLine.h>
Classes | |
| class | PostStep |
| class | PreStep |
Public Types | |
| typedef std::shared_ptr< DecouplingLine > | Ptr |
Public Types inherited from CPS::SimSignalComp | |
| enum | Behaviour { Initialization , Simulation } |
| typedef std::shared_ptr< SimSignalComp > | Ptr |
| typedef std::vector< Ptr > | List |
Public Types inherited from CPS::TopologicalSignalComp | |
| typedef std::shared_ptr< TopologicalSignalComp > | Ptr |
| typedef std::vector< Ptr > | List |
Public Types inherited from CPS::IdentifiedObject | |
| typedef std::shared_ptr< IdentifiedObject > | Ptr |
| typedef std::vector< Ptr > | List |
Public Member Functions | |
| DecouplingLine (String name, SimNode< Complex >::Ptr node1, SimNode< Complex >::Ptr node2, Real resistance, Real inductance, Real capacitance, Logger::Level logLevel=Logger::Level::info) | |
| DecouplingLine (String name, Logger::Level logLevel=Logger::Level::info) | |
| void | setParameters (SimNode< Complex >::Ptr node1, SimNode< Complex >::Ptr node2, Real resistance, Real inductance, Real capacitance) |
| void | initialize (Real omega, Real timeStep) |
| void | step (Real time, Int timeStepCount) |
| void | postStep () |
| Task::List | getTasks () |
| IdentifiedObject::List | getLineComponents () |
Public Member Functions inherited from CPS::SimSignalComp | |
| SimSignalComp (String uid, String name, Logger::Level logLevel=Logger::Level::off) | |
| SimSignalComp (String name, Logger::Level logLevel=Logger::Level::off) | |
| virtual | ~SimSignalComp () |
| virtual void | initialize (Real timeStep) |
| void | setBehaviour (Behaviour behaviour) |
| Set behavior of component, e.g. initialization. | |
Public Member Functions inherited from CPS::TopologicalSignalComp | |
| TopologicalSignalComp (String uid, String name, Logger::Level logLevel=Logger::Level::off) | |
| Basic constructor that takes UID, name and log level. | |
| TopologicalSignalComp (String name, Logger::Level logLevel=Logger::Level::off) | |
| Basic constructor that takes name and log level and sets the UID to name as well. | |
| virtual | ~TopologicalSignalComp () |
Public Member Functions inherited from CPS::IdentifiedObject | |
| IdentifiedObject () | |
| IdentifiedObject (const String &uid, const String &name) | |
| IdentifiedObject (const String &name) | |
| virtual | ~IdentifiedObject ()=default |
| AttributeBase::Ptr | attribute (const String &name) const |
| Return pointer to an attribute. | |
| template<typename T> | |
| Attribute< T >::Ptr | attributeTyped (const String &name) const |
| Return pointer to an attribute. | |
| const AttributeBase::Map & | attributes () const |
| String | name () |
| String | uid () |
| Returns unique id. | |
| String | type () |
| Get component type (cross-platform) | |
| virtual String | description () |
Public Attributes | |
| const Attribute< Complex >::Ptr | mSrcCur1Ref |
| const Attribute< Complex >::Ptr | mSrcCur2Ref |
| const Attribute< Matrix >::Ptr | mStates |
| FIXME: workaround for dependency analysis as long as the states aren't attributes. | |
Public Attributes inherited from CPS::IdentifiedObject | |
| const Attribute< String >::Ptr | mName |
| Human readable name. | |
| const Attribute< String >::Ptr | mUID |
| Unique identifier. | |
Protected Member Functions | |
| Complex | interpolate (std::vector< Complex > &data) |
Protected Attributes | |
| Real | mDelay |
| Real | mResistance |
| Real | mInductance |
| Real | mCapacitance |
| Real | mSurgeImpedance |
| std::shared_ptr< DP::SimNode > | mNode1 |
| std::shared_ptr< DP::SimNode > | mNode2 |
| std::shared_ptr< DP::Ph1::Resistor > | mRes1 |
| std::shared_ptr< DP::Ph1::Resistor > | mRes2 |
| std::shared_ptr< DP::Ph1::CurrentSource > | mSrc1 |
| std::shared_ptr< DP::Ph1::CurrentSource > | mSrc2 |
| Attribute< Complex >::Ptr | mSrcCur1 |
| Attribute< Complex >::Ptr | mSrcCur2 |
| std::vector< Complex > | mVolt1 |
| std::vector< Complex > | mVolt2 |
| std::vector< Complex > | mCur1 |
| std::vector< Complex > | mCur2 |
| UInt | mBufIdx = 0 |
| UInt | mBufSize |
| Real | mAlpha |
Protected Attributes inherited from CPS::SimSignalComp | |
| Bool | mBehaviour = Behaviour::Simulation |
Protected Attributes inherited from CPS::TopologicalSignalComp | |
| Logger::Log | mSLog |
| Component logger. | |
| Logger::Level | mLogLevel |
| Component logger control for internal variables. | |
Protected Attributes inherited from CPS::IdentifiedObject | |
| AttributeList::Ptr | mAttributes = AttributeList::make() |
| Attribute List. | |
Additional Inherited Members | |
Static Public Member Functions inherited from SharedFactory< DecouplingLine > | |
| static std::shared_ptr< DecouplingLine > | make (Args &&...args) |
Definition at line 21 of file DecouplingLine.h.
| typedef std::shared_ptr<DecouplingLine> CPS::Signal::DecouplingLine::Ptr |
Definition at line 44 of file DecouplingLine.h.
| DecouplingLine::DecouplingLine | ( | String | name, |
| SimNode< Complex >::Ptr | node1, | ||
| SimNode< Complex >::Ptr | node2, | ||
| Real | resistance, | ||
| Real | inductance, | ||
| Real | capacitance, | ||
| Logger::Level | logLevel = Logger::Level::info ) |
Definition at line 16 of file DecouplingLine.cpp.
| DecouplingLine::DecouplingLine | ( | String | name, |
| Logger::Level | logLevel = Logger::Level::info ) |
Definition at line 48 of file DecouplingLine.cpp.
| IdentifiedObject::List DecouplingLine::getLineComponents | ( | ) |
Definition at line 181 of file DecouplingLine.cpp.
|
virtual |
Reimplemented from CPS::SimSignalComp.
Definition at line 176 of file DecouplingLine.cpp.
Reimplemented from CPS::SimSignalComp.
Definition at line 88 of file DecouplingLine.cpp.
Definition at line 118 of file DecouplingLine.cpp.
| void DecouplingLine::postStep | ( | ) |
Definition at line 160 of file DecouplingLine.cpp.
| void DecouplingLine::setParameters | ( | SimNode< Complex >::Ptr | node1, |
| SimNode< Complex >::Ptr | node2, | ||
| Real | resistance, | ||
| Real | inductance, | ||
| Real | capacitance ) |
Definition at line 63 of file DecouplingLine.cpp.
Definition at line 125 of file DecouplingLine.cpp.
|
protected |
Definition at line 39 of file DecouplingLine.h.
|
protected |
Definition at line 37 of file DecouplingLine.h.
|
protected |
Definition at line 38 of file DecouplingLine.h.
|
protected |
Definition at line 26 of file DecouplingLine.h.
|
protected |
Definition at line 36 of file DecouplingLine.h.
|
protected |
Definition at line 36 of file DecouplingLine.h.
|
protected |
Definition at line 24 of file DecouplingLine.h.
|
protected |
Definition at line 26 of file DecouplingLine.h.
|
protected |
Definition at line 29 of file DecouplingLine.h.
|
protected |
Definition at line 29 of file DecouplingLine.h.
|
protected |
Definition at line 30 of file DecouplingLine.h.
|
protected |
Definition at line 30 of file DecouplingLine.h.
|
protected |
Definition at line 25 of file DecouplingLine.h.
|
protected |
Definition at line 31 of file DecouplingLine.h.
|
protected |
Definition at line 31 of file DecouplingLine.h.
Definition at line 32 of file DecouplingLine.h.
Definition at line 46 of file DecouplingLine.h.
Definition at line 32 of file DecouplingLine.h.
Definition at line 47 of file DecouplingLine.h.
FIXME: workaround for dependency analysis as long as the states aren't attributes.
Definition at line 50 of file DecouplingLine.h.
|
protected |
Definition at line 27 of file DecouplingLine.h.
|
protected |
Definition at line 36 of file DecouplingLine.h.
|
protected |
Definition at line 36 of file DecouplingLine.h.