DPsim
Loading...
Searching...
No Matches
CPS::Signal::PSS1A Class Reference

#include <PSS1A.h>

Inheritance diagram for CPS::Signal::PSS1A:
[legend]
Collaboration diagram for CPS::Signal::PSS1A:
[legend]

Public Member Functions

 PSS1A (const String &name)
 
 PSS1A (const String &name, CPS::Logger::Level logLevel)
 
void setParameters (std::shared_ptr< Base::PSSParameters > parameters) final
 
void initializeStates (Real omega, Real activePower, Real Vd, Real Vq) final
 Initializes PSS state variables from power-flow solution.
 
Real step (Real omega, Real activePower, Real Vd, Real Vq, Real dt) final
 
- 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)
 
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::Mapattributes () const
 
String name ()
 
String uid ()
 Returns unique id.
 
String type ()
 Get component type (cross-platform)
 
virtual String description ()
 
- Public Member Functions inherited from CPS::Base::PSS
virtual ~PSS ()=default
 
virtual void setParameters (std::shared_ptr< Base::PSSParameters > parameters)=0
 

Additional Inherited Members

- Public Types inherited from CPS::SimSignalComp
enum  Behaviour { Initialization , Simulation }
 
typedef std::shared_ptr< SimSignalCompPtr
 
typedef std::vector< PtrList
 
- Public Types inherited from CPS::TopologicalSignalComp
typedef std::shared_ptr< TopologicalSignalCompPtr
 
typedef std::vector< PtrList
 
- Public Types inherited from CPS::IdentifiedObject
typedef std::shared_ptr< IdentifiedObjectPtr
 
typedef std::vector< PtrList
 
- Static Public Member Functions inherited from SharedFactory< PSS1A >
static std::shared_ptr< PSS1A > make (Args &&...args)
 
- Public Attributes inherited from CPS::IdentifiedObject
const Attribute< String >::Ptr mName
 Human readable name.
 
const Attribute< String >::Ptr mUID
 Unique identifier.
 
- 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.
 

Detailed Description

Power system stabilizer type 1A Ref.: Milano - Power system modelling and scripting, page 371

Definition at line 41 of file PSS1A.h.

Constructor & Destructor Documentation

◆ PSS1A() [1/2]

CPS::Signal::PSS1A::PSS1A ( const String & name)
inlineexplicit

Definition at line 69 of file PSS1A.h.

◆ PSS1A() [2/2]

Signal::PSS1A::PSS1A ( const String & name,
CPS::Logger::Level logLevel )

Definition at line 9 of file PSS1A.cpp.

Member Function Documentation

◆ initializeStates()

void Signal::PSS1A::initializeStates ( Real omega,
Real activePower,
Real Vd,
Real Vq )
finalvirtual

Initializes PSS state variables from power-flow solution.

Implements CPS::Base::PSS.

Definition at line 63 of file PSS1A.cpp.

◆ setParameters()

void Signal::PSS1A::setParameters ( std::shared_ptr< Base::PSSParameters > parameters)
final

Definition at line 12 of file PSS1A.cpp.

◆ step()

Real Signal::PSS1A::step ( Real omega,
Real activePower,
Real Vd,
Real Vq,
Real dt )
finalvirtual
Returns
V_pss: stabilizing signal fed into the exciter

Implements CPS::Base::PSS.

Definition at line 95 of file PSS1A.cpp.


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