1 # Copyright (C) 2010 Richard Lincoln
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either
6 # version 2.1 of the License, or (at your option) any later version.
8 # This library is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 # Lesser General Public License for more details.
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with this library; if not, write to the Free Software
15 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA, USA
17 from CIM14
.Dynamics
.TurbineGovernors
.TurbineGovernor
import TurbineGovernor
19 class GovSteam0(TurbineGovernor
):
20 """A simplified steam turbine-governor model.
23 def __init__(self
, t2
=0.0, t1
=0.0, vmin
=0.0, dt
=0.0, vmax
=0.0, mwbase
=0.0, r
=0.0, t3
=0.0, *args
, **kw_args
):
24 """Initialises a new 'GovSteam0' instance.
26 @param t2: Numerator time constant of T2/T3 block
27 @param t1: Steam bowl time constant
28 @param vmin: Minimum valve position, p.u. of mwcap
29 @param dt: Turbine damping coefficient
30 @param vmax: Maximum valve position, p.u. of mwcap
31 @param mwbase: Base for power values (> 0.)
32 @param r: Permanent droop
33 @param t3: Reheater time constant
35 #: Numerator time constant of T2/T3 block
38 #: Steam bowl time constant
41 #: Minimum valve position, p.u. of mwcap
44 #: Turbine damping coefficient
47 #: Maximum valve position, p.u. of mwcap
50 #: Base for power values (> 0.)
56 #: Reheater time constant
59 super(GovSteam0
, self
).__init
__(*args
, **kw_args
)
61 _attrs
= ["t2", "t1", "vmin", "dt", "vmax", "mwbase", "r", "t3"]
62 _attr_types
= {"t2": float, "t1": float, "vmin": float, "dt": float, "vmax": float, "mwbase": float, "r": float, "t3": float}
63 _defaults
= {"t2": 0.0, "t1": 0.0, "vmin": 0.0, "dt": 0.0, "vmax": 0.0, "mwbase": 0.0, "r": 0.0, "t3": 0.0}