DPsim
Loading...
Searching...
No Matches
TurbineGovernor.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2026 Institute for Automation of Complex Power Systems, EONERC, RWTH Aachen University
2// SPDX-License-Identifier: MPL-2.0
3
4#pragma once
5
8
9namespace CPS {
10namespace Signal {
11
14 public SharedFactory<TurbineGovernor> {
15protected:
16 // ### Steam Turbine Parameters ####
29
30 // ### Regulator ####
33
34 // ### Speed Relay and servo motor ####
40 Real mLc1 = 0.1;
42 Real mLc2 = -1;
43
44 // ### Vaariables ###
46 Real mTm = 0;
52 Real mPb = 1;
56 Real mOm = 0;
63
65
68
69public:
72
76
78 void setParameters(Real Ta, Real Tb, Real Tc, Real Fa, Real Fb, Real Fc,
79 Real K, Real Tsr, Real Tsm);
81 void initialize(Real PmRef, Real Tm_init);
83 Real step(Real mOm, Real mOmRef, Real PmRef, Real dt);
84};
85} // namespace Signal
86} // namespace CPS
spdlog::level::level_enum Level
Definition Logger.h:33
TurbineGovernor(String name, CPS::Logger::Level logLevel)
Constructor with log level.
Real Psm_in
Input of servor motor.
Real mLc2
Closing rate limit.
Real mLc1
Opening rate limit.
void initialize(Real PmRef, Real Tm_init)
Real mFb
Fraction of total turbine power generated by IP section.
Real mTsm
Time constant of servo motor.
Real mTb
Time constant of reheater.
Real mTa
Time constant of main inlet volume and steam chest.
Real mFc
Fraction of total turbine power generated by LP section.
Real mTc
Time constant of cross over piping and LP inlet volumes.
Real mpVcv
Valve position changing rate.
Real step(Real mOm, Real mOmRef, Real PmRef, Real dt)
Performs an step to update field voltage value.
Real mTsr
Time constant of speed relay.
Real mFa
Fraction of total turbine power generated by HP section.
Real mTm
Mechanical Torque in pu (output of steam turbine)
Real mPmRef
Power Reference.
Real Psr_in
Input of speed realy.
void setParameters(Real Ta, Real Tb, Real Tc, Real Fa, Real Fb, Real Fc, Real K, Real Tsr, Real Tsm)
Initializes exciter parameters.
Real mOmRef
Speed reference.
SimSignalComp(String uid, String name, Logger::Level logLevel=Logger::Level::off)
std::string String
Definition Definitions.h:65
double Real
Definition Definitions.h:62