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

Turbine governor model to be used with synchronous generator. More...

#include <TurbineGovernor.h>

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

Public Member Functions

 TurbineGovernor (String name)
 
 TurbineGovernor (String name, CPS::Logger::Level logLevel)
 Constructor with log level.
 
void setParameters (Real Ta, Real Tb, Real Tc, Real Fa, Real Fb, Real Fc, Real K, Real Tsr, Real Tsm)
 Initializes exciter parameters.
 
void initialize (Real PmRef, Real Tm_init)
 
Real step (Real mOm, Real mOmRef, Real PmRef, 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

Real mTa
 Time constant of main inlet volume and steam chest.
 
Real mTb
 Time constant of reheater.
 
Real mTc
 Time constant of cross over piping and LP inlet volumes.
 
Real mFa
 Fraction of total turbine power generated by HP section.
 
Real mFb
 Fraction of total turbine power generated by IP section.
 
Real mFc
 Fraction of total turbine power generated by LP section.
 
Real mK
 Main droop.
 
Real mTsr
 Time constant of speed relay.
 
Real mTsm
 Time constant of servo motor.
 
Real mLc1 = 0.1
 Opening rate limit.
 
Real mLc2 = -1
 Closing rate limit.
 
Real mTm = 0
 Mechanical Torque in pu (output of steam turbine)
 
Real mVcv = 0
 Valve position.
 
Real mpVcv = 0
 Valve position changing rate.
 
Real mPb = 1
 Boiler pressure.
 
Real mOmRef = 1
 Speed reference.
 
Real mOm = 0
 Speed.
 
Real mPmRef
 Power Reference.
 
Real Psr_in = 0
 Input of speed realy.
 
Real Psm_in = 0
 Input of servor motor.
 
Real AuxVar = 0
 
Real T1
 
Real T2
 
- 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< TurbineGovernor >
static std::shared_ptr< TurbineGovernor > 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

Turbine governor model to be used with synchronous generator.

Definition at line 18 of file TurbineGovernor.h.

Constructor & Destructor Documentation

◆ TurbineGovernor() [1/2]

CPS::Signal::TurbineGovernor::TurbineGovernor ( String name)
inline

Definition at line 76 of file TurbineGovernor.h.

◆ TurbineGovernor() [2/2]

CPS::Signal::TurbineGovernor::TurbineGovernor ( String name,
CPS::Logger::Level logLevel )
inline

Constructor with log level.

Definition at line 79 of file TurbineGovernor.h.

Member Function Documentation

◆ initialize()

void TurbineGovernor::initialize ( Real PmRef,
Real Tm_init )
virtual

Reimplemented from CPS::SimSignalComp.

Definition at line 40 of file TurbineGovernor.cpp.

◆ setParameters()

void TurbineGovernor::setParameters ( Real Ta,
Real Tb,
Real Tc,
Real Fa,
Real Fb,
Real Fc,
Real K,
Real Tsr,
Real Tsm )

Initializes exciter parameters.

Definition at line 15 of file TurbineGovernor.cpp.

◆ step()

Real TurbineGovernor::step ( Real mOm,
Real mOmRef,
Real PmRef,
Real dt )

Performs an step to update field voltage value.

Definition at line 60 of file TurbineGovernor.cpp.

Member Data Documentation

◆ AuxVar

Real CPS::Signal::TurbineGovernor::AuxVar = 0
protected

Definition at line 69 of file TurbineGovernor.h.

◆ mFa

Real CPS::Signal::TurbineGovernor::mFa
protected

Fraction of total turbine power generated by HP section.

Definition at line 29 of file TurbineGovernor.h.

◆ mFb

Real CPS::Signal::TurbineGovernor::mFb
protected

Fraction of total turbine power generated by IP section.

Definition at line 31 of file TurbineGovernor.h.

◆ mFc

Real CPS::Signal::TurbineGovernor::mFc
protected

Fraction of total turbine power generated by LP section.

Definition at line 33 of file TurbineGovernor.h.

◆ mK

Real CPS::Signal::TurbineGovernor::mK
protected

Main droop.

Definition at line 37 of file TurbineGovernor.h.

◆ mLc1

Real CPS::Signal::TurbineGovernor::mLc1 = 0.1
protected

Opening rate limit.

Definition at line 45 of file TurbineGovernor.h.

◆ mLc2

Real CPS::Signal::TurbineGovernor::mLc2 = -1
protected

Closing rate limit.

Definition at line 47 of file TurbineGovernor.h.

◆ mOm

Real CPS::Signal::TurbineGovernor::mOm = 0
protected

Speed.

Definition at line 61 of file TurbineGovernor.h.

◆ mOmRef

Real CPS::Signal::TurbineGovernor::mOmRef = 1
protected

Speed reference.

Definition at line 59 of file TurbineGovernor.h.

◆ mPb

Real CPS::Signal::TurbineGovernor::mPb = 1
protected

Boiler pressure.

Definition at line 57 of file TurbineGovernor.h.

◆ mPmRef

Real CPS::Signal::TurbineGovernor::mPmRef
protected

Power Reference.

Definition at line 63 of file TurbineGovernor.h.

◆ mpVcv

Real CPS::Signal::TurbineGovernor::mpVcv = 0
protected

Valve position changing rate.

Definition at line 55 of file TurbineGovernor.h.

◆ mTa

Real CPS::Signal::TurbineGovernor::mTa
protected

Time constant of main inlet volume and steam chest.

Definition at line 23 of file TurbineGovernor.h.

◆ mTb

Real CPS::Signal::TurbineGovernor::mTb
protected

Time constant of reheater.

Definition at line 25 of file TurbineGovernor.h.

◆ mTc

Real CPS::Signal::TurbineGovernor::mTc
protected

Time constant of cross over piping and LP inlet volumes.

Definition at line 27 of file TurbineGovernor.h.

◆ mTm

Real CPS::Signal::TurbineGovernor::mTm = 0
protected

Mechanical Torque in pu (output of steam turbine)

Definition at line 51 of file TurbineGovernor.h.

◆ mTsm

Real CPS::Signal::TurbineGovernor::mTsm
protected

Time constant of servo motor.

Definition at line 43 of file TurbineGovernor.h.

◆ mTsr

Real CPS::Signal::TurbineGovernor::mTsr
protected

Time constant of speed relay.

Definition at line 41 of file TurbineGovernor.h.

◆ mVcv

Real CPS::Signal::TurbineGovernor::mVcv = 0
protected

Valve position.

Definition at line 53 of file TurbineGovernor.h.

◆ Psm_in

Real CPS::Signal::TurbineGovernor::Psm_in = 0
protected

Input of servor motor.

Definition at line 67 of file TurbineGovernor.h.

◆ Psr_in

Real CPS::Signal::TurbineGovernor::Psr_in = 0
protected

Input of speed realy.

Definition at line 65 of file TurbineGovernor.h.

◆ T1

Real CPS::Signal::TurbineGovernor::T1
protected

Definition at line 71 of file TurbineGovernor.h.

◆ T2

Real CPS::Signal::TurbineGovernor::T2
protected

Definition at line 72 of file TurbineGovernor.h.


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