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

#include <Exciter.h>

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

Public Member Functions

 Exciter (const String &name)
 
 Exciter (const String &name, CPS::Logger::Level logLevel)
 Constructor with log level.
 
void setParameters (Real Ta, Real Ka, Real Te, Real Ke, Real Tf, Real Kf, Real Tr, Real maxVr=1.0, Real minVr=-0.9)
 Initializes exciter parameters.
 
void initialize (Real Vh_init, Real Vf_init)
 Initializes exciter variables.
 
Real step (Real mVd, Real mVq, Real dt)
 Performs an step to update field voltage value.
 
- 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 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.
 
- 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 ()
 

Protected Attributes

const Attribute< Real >::Ptr mVm
 Output of voltage transducer at time k-1.
 
const Attribute< Real >::Ptr mVh
 Input of voltage transducer.
 
const Attribute< Real >::Ptr mVis
 Output of stablizing feedback at time k.
 
const Attribute< Real >::Ptr mVr
 Regulator output at time k.
 
const Attribute< Real >::Ptr mVse
 Output of ceiling function at time k-1.
 
const Attribute< Real >::Ptr mEf
 Exciter output at time k (induced emf by the field current under no-load conditions)
 
- 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< 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
 
- Static Public Member Functions inherited from SharedFactory< Exciter >
static std::shared_ptr< Exciter > make (Args &&...args)
 
- Public Attributes inherited from CPS::IdentifiedObject
const Attribute< String >::Ptr mName
 Human readable name.
 
const Attribute< String >::Ptr mUID
 Unique identifier.
 

Detailed Description

AVR model type 1 Ref.: Milano - Power system modelling and scripting, page 363

Definition at line 18 of file Exciter.h.

Constructor & Destructor Documentation

◆ Exciter() [1/2]

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

Definition at line 70 of file Exciter.h.

◆ Exciter() [2/2]

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

Constructor with log level.

Definition at line 14 of file Exciter.cpp.

Member Function Documentation

◆ initialize()

void Signal::Exciter::initialize ( Real Vh_init,
Real Vf_init )
virtual

Initializes exciter variables.

Reimplemented from CPS::SimSignalComp.

Definition at line 49 of file Exciter.cpp.

◆ setParameters()

void Signal::Exciter::setParameters ( Real Ta,
Real Ka,
Real Te,
Real Ke,
Real Tf,
Real Kf,
Real Tr,
Real maxVr = 1.0,
Real minVr = -0.9 )

Initializes exciter parameters.

Definition at line 23 of file Exciter.cpp.

◆ step()

Real Signal::Exciter::step ( Real mVd,
Real mVq,
Real dt )

Performs an step to update field voltage value.

Definition at line 84 of file Exciter.cpp.

Member Data Documentation

◆ mEf

const Attribute<Real>::Ptr CPS::Signal::Exciter::mEf
protected

Exciter output at time k (induced emf by the field current under no-load conditions)

Definition at line 66 of file Exciter.h.

◆ mVh

const Attribute<Real>::Ptr CPS::Signal::Exciter::mVh
protected

Input of voltage transducer.

Definition at line 58 of file Exciter.h.

◆ mVis

const Attribute<Real>::Ptr CPS::Signal::Exciter::mVis
protected

Output of stablizing feedback at time k.

Definition at line 60 of file Exciter.h.

◆ mVm

const Attribute<Real>::Ptr CPS::Signal::Exciter::mVm
protected

Output of voltage transducer at time k-1.

Definition at line 56 of file Exciter.h.

◆ mVr

const Attribute<Real>::Ptr CPS::Signal::Exciter::mVr
protected

Regulator output at time k.

Definition at line 62 of file Exciter.h.

◆ mVse

const Attribute<Real>::Ptr CPS::Signal::Exciter::mVse
protected

Output of ceiling function at time k-1.

Definition at line 64 of file Exciter.h.


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