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

#include <ExciterDC1Simp.h>

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

Public Member Functions

 ExciterDC1Simp (const String &name, CPS::Logger::Level logLevel=Logger::Level::info)
 Constructor.
 
void setParameters (std::shared_ptr< Base::ExciterParameters > parameters) final
 Initializes exciter parameters.
 
void initializeStates (Real Vh_init, Real Vf_init) final
 Initializes exciter variables.
 
Real step (Real mVd, Real mVq, Real dt, Real Vpss=0) final
 Performs an step to update field voltage value.
 
- Public Member Functions inherited from CPS::Base::Exciter
virtual ~Exciter ()=default
 
virtual void setParameters (std::shared_ptr< Base::ExciterParameters > parameters)=0
 Sets exciter parameters.
 
- 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 ()
 

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< ExciterDC1Simp >
static std::shared_ptr< ExciterDC1Simp > 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

AVR model type 1 Simplified model of IEEE DC1 type exciter. It does not model the time constants Tb and Tc which are normally small and thereby ignored. Ref.: Milano - Power system modelling and scripting, page 363

Definition at line 47 of file ExciterDC1Simp.h.

Constructor & Destructor Documentation

◆ ExciterDC1Simp()

ExciterDC1Simp::ExciterDC1Simp ( const String & name,
CPS::Logger::Level logLevel = Logger::Level::info )

Constructor.

Definition at line 9 of file ExciterDC1Simp.cpp.

Member Function Documentation

◆ initializeStates()

void ExciterDC1Simp::initializeStates ( Real Vh_init,
Real Vf_init )
finalvirtual

Initializes exciter variables.

init value of transducer output

init value of stabilizing feedback output

ceiling function

init value of amplifier output

init value of amplifier input

check initial conditions

Implements CPS::Base::Exciter.

Definition at line 77 of file ExciterDC1Simp.cpp.

◆ setParameters()

void ExciterDC1Simp::setParameters ( std::shared_ptr< Base::ExciterParameters > parameters)
final

Initializes exciter parameters.

Definition at line 15 of file ExciterDC1Simp.cpp.

◆ step()

Real ExciterDC1Simp::step ( Real mVd,
Real mVq,
Real dt,
Real Vpss = 0 )
finalvirtual

Performs an step to update field voltage value.

Implements CPS::Base::Exciter.

Definition at line 123 of file ExciterDC1Simp.cpp.


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