DPsim
Classes | Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
CPS::Signal::DecouplingLine Class Reference
Inheritance diagram for CPS::Signal::DecouplingLine:
[legend]
Collaboration diagram for CPS::Signal::DecouplingLine:
[legend]

Classes

class  PostStep
 
class  PreStep
 

Public Types

typedef std::shared_ptr< DecouplingLinePtr
 
- Public Types inherited from CPS::SimSignalComp
enum  Behaviour { Initialization , Simulation }
 
typedef std::shared_ptr< SimSignalCompPtr
 
typedef std::vector< Ptr > List
 
- Public Types inherited from CPS::TopologicalSignalComp
typedef std::shared_ptr< TopologicalSignalCompPtr
 
typedef std::vector< Ptr > List
 
- Public Types inherited from CPS::IdentifiedObject
typedef std::shared_ptr< IdentifiedObjectPtr
 
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 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.
 
- 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)
 

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::SimNodemNode1
 
std::shared_ptr< DP::SimNodemNode2
 
std::shared_ptr< DP::Ph1::ResistormRes1
 
std::shared_ptr< DP::Ph1::ResistormRes2
 
std::shared_ptr< DP::Ph1::CurrentSourcemSrc1
 
std::shared_ptr< DP::Ph1::CurrentSourcemSrc2
 
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)
 

Detailed Description

Definition at line 21 of file DecouplingLine.h.


The documentation for this class was generated from the following files: