|
DPsim
|
#include <SimSignalComp.h>
Public Types | |
| 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 | |
| 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) |
| virtual void | initialize (Real omega, Real timeStep) |
| virtual Task::List | getTasks () |
| 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 () |
Protected Attributes | |
| 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 | |
Public Attributes inherited from CPS::IdentifiedObject | |
| const Attribute< String >::Ptr | mName |
| Human readable name. | |
| const Attribute< String >::Ptr | mUID |
| Unique identifier. | |
Base class for all signal type components that have only unidirectional connections
Definition at line 17 of file SimSignalComp.h.
| typedef std::vector<Ptr> CPS::SimSignalComp::List |
Definition at line 28 of file SimSignalComp.h.
| typedef std::shared_ptr<SimSignalComp> CPS::SimSignalComp::Ptr |
Definition at line 27 of file SimSignalComp.h.
| Enumerator | |
|---|---|
| Initialization | |
| Simulation | |
Definition at line 19 of file SimSignalComp.h.
|
inline |
Definition at line 31 of file SimSignalComp.h.
|
inline |
Definition at line 35 of file SimSignalComp.h.
|
inlinevirtual |
Definition at line 38 of file SimSignalComp.h.
|
inlinevirtual |
Reimplemented in CPS::Signal::DecouplingIdealTransformer_DP_Ph1, CPS::Signal::DecouplingIdealTransformer_EMT_Ph1, CPS::Signal::DecouplingIdealTransformer_EMT_Ph3, CPS::Signal::DecouplingIdealTransformer_SP_Ph1, CPS::Signal::DecouplingLine, CPS::Signal::DecouplingLineEMT, CPS::Signal::DecouplingLineEMT_Ph3, CPS::Signal::FIRFilter, CPS::Signal::Integrator, CPS::Signal::PLL, CPS::Signal::PowerControllerVSI, CPS::Signal::VCO, and CPS::Signal::VoltageControllerVSI.
Definition at line 45 of file SimSignalComp.h.
Reimplemented in CPS::Signal::DecouplingIdealTransformer_DP_Ph1, CPS::Signal::DecouplingIdealTransformer_EMT_Ph1, CPS::Signal::DecouplingIdealTransformer_EMT_Ph3, CPS::Signal::DecouplingIdealTransformer_SP_Ph1, CPS::Signal::DecouplingLine, CPS::Signal::DecouplingLineEMT, CPS::Signal::DecouplingLineEMT_Ph3, and CPS::Signal::TurbineGovernor.
Definition at line 43 of file SimSignalComp.h.
|
inlinevirtual |
Reimplemented in CPS::Signal::FIRFilter.
Definition at line 41 of file SimSignalComp.h.
|
inline |
Set behavior of component, e.g. initialization.
Definition at line 47 of file SimSignalComp.h.
|
protected |
Determine state of the simulation, e.g. to implement special behavior for components during initialization
Definition at line 24 of file SimSignalComp.h.