|
DPsim
|
Classes | |
| class | PreStep |
| class | Step |
Public Member Functions | |
| VCO (String name, Logger::Level logLevel=Logger::Level::off) | |
| void | setParameters (Real omegaNom) |
| Setter for VCO parameters. | |
| void | setSimulationParameters (Real timestep) |
| Setter for simulation parameters. | |
| void | setInitialValues (Real input_init, Real state_init, Real output_init) |
| Setter for initial values. | |
| void | signalPreStep (Real time, Int timeStepCount) |
| pre step operations | |
| void | signalStep (Real time, Int timeStepCount) |
| step operations | |
| void | signalAddPreStepDependencies (AttributeBase::List &prevStepDependencies, AttributeBase::List &attributeDependencies, AttributeBase::List &modifiedAttributes) |
| pre step dependencies | |
| void | signalAddStepDependencies (AttributeBase::List &prevStepDependencies, AttributeBase::List &attributeDependencies, AttributeBase::List &modifiedAttributes) |
| add step dependencies | |
| Task::List | getTasks () |
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 void | initialize (Real timeStep) |
| virtual void | initialize (Real omega, 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. | |
Public Member Functions inherited from CPS::IdentifiedObject | |
| IdentifiedObject (const String &uid, const String &name) | |
| IdentifiedObject (const String &name) | |
| 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< Real >::Ptr | mInputRef |
| Input reference which comes as measurement from outside of the class. | |
| const Attribute< Real >::Ptr | mInputPrev |
| Previous Input. | |
| const Attribute< Real >::Ptr | mInputCurr |
| Current Input. | |
| const Attribute< Real >::Ptr | mStatePrev |
| Previous State. | |
| const Attribute< Real >::Ptr | mStateCurr |
| Current State. | |
| const Attribute< Real >::Ptr | mOutputPrev |
| Previous Output. | |
| const Attribute< Real >::Ptr | mOutputCurr |
| Current Output. | |
Public Attributes inherited from CPS::IdentifiedObject | |
| const Attribute< String >::Ptr | mName |
| Human readable name. | |
| const Attribute< String >::Ptr | mUID |
| Unique identifier. | |
Protected Attributes | |
| Real | mOmegaNom |
| Nominal frequency (Input) | |
| Real | mTimeStep |
| Integration time step. | |
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 | |
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 |
Static Public Member Functions inherited from SharedFactory< VCO > | |
| static std::shared_ptr< VCO > | make (Args &&...args) |
| VCO::VCO | ( | String | name, |
| Logger::Level | logLevel = Logger::Level::off ) |
|
virtual |
Reimplemented from CPS::SimSignalComp.
| void VCO::setInitialValues | ( | Real | input_init, |
| Real | state_init, | ||
| Real | output_init ) |
| void VCO::setParameters | ( | Real | omegaNom | ) |
| void VCO::setSimulationParameters | ( | Real | timestep | ) |
| void VCO::signalAddPreStepDependencies | ( | AttributeBase::List & | prevStepDependencies, |
| AttributeBase::List & | attributeDependencies, | ||
| AttributeBase::List & | modifiedAttributes ) |
| void VCO::signalAddStepDependencies | ( | AttributeBase::List & | prevStepDependencies, |
| AttributeBase::List & | attributeDependencies, | ||
| AttributeBase::List & | modifiedAttributes ) |
| void VCO::signalPreStep | ( | Real | time, |
| Int | timeStepCount ) |
| void VCO::signalStep | ( | Real | time, |
| Int | timeStepCount ) |
| const Attribute<Real>::Ptr CPS::Signal::VCO::mInputCurr |
| const Attribute<Real>::Ptr CPS::Signal::VCO::mInputPrev |
| const Attribute<Real>::Ptr CPS::Signal::VCO::mInputRef |
|
protected |
| const Attribute<Real>::Ptr CPS::Signal::VCO::mOutputCurr |
| const Attribute<Real>::Ptr CPS::Signal::VCO::mOutputPrev |
| const Attribute<Real>::Ptr CPS::Signal::VCO::mStateCurr |
| const Attribute<Real>::Ptr CPS::Signal::VCO::mStatePrev |
|
protected |