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
.IEC61970
.Generation
.GenerationDynamics
.SteamSupply
import SteamSupply
19 class BWRSteamSupply(SteamSupply
):
20 """Boiling water reactor used as a steam supply to a steam turbine
23 def __init__(self
, lowerLimit
=0.0, pressureSetpointGA
=0.0, rfAux8
=0.0, rfAux3
=0.0, rfAux2
=0.0, highPowerLimit
=0.0, rodPattern
=0.0, rodPatternConstant
=0.0, integralGain
=0.0, rfAux7
=0.0, proportionalGain
=0.0, rfAux6
=0.0, pressureSetpointTC2
=0.0, rfAux1
=0.0, pressureSetpointTC1
=0.0, inCoreThermalTC
=0.0, upperLimit
=0.0, rfAux4
=0.0, pressureLimit
=0.0, rfAux5
=0.0, lowPowerLimit
=0.0, *args
, **kw_args
):
24 """Initialises a new 'BWRSteamSupply' instance.
26 @param lowerLimit: Initial Lower Limit
27 @param pressureSetpointGA: Pressure Setpoint Gain Adjuster
28 @param rfAux8: Coefficient for modeling the effect of off-nominal frequency and voltage on recirculation and core flow, which affects the BWR power output.
29 @param rfAux3: Coefficient for modeling the effect of off-nominal frequency and voltage on recirculation and core flow, which affects the BWR power output.
30 @param rfAux2: Coefficient for modeling the effect of off-nominal frequency and voltage on recirculation and core flow, which affects the BWR power output.
31 @param highPowerLimit: High Power Limit
32 @param rodPattern: Rod Pattern
33 @param rodPatternConstant: Constant Associated With Rod Pattern
34 @param integralGain: Integral Gain
35 @param rfAux7: Coefficient for modeling the effect of off-nominal frequency and voltage on recirculation and core flow, which affects the BWR power output.
36 @param proportionalGain: Proportional Gain
37 @param rfAux6: Coefficient for modeling the effect of off-nominal frequency and voltage on recirculation and core flow, which affects the BWR power output.
38 @param pressureSetpointTC2: Pressure Setpoint Time Constant
39 @param rfAux1: Coefficient for modeling the effect of off-nominal frequency and voltage on recirculation and core flow, which affects the BWR power output.
40 @param pressureSetpointTC1: Pressure Setpoint Time Constant
41 @param inCoreThermalTC: In-Core Thermal Time Constant
42 @param upperLimit: Initial Upper Limit
43 @param rfAux4: Coefficient for modeling the effect of off-nominal frequency and voltage on recirculation and core flow, which affects the BWR power output.
44 @param pressureLimit: Pressure Limit
45 @param rfAux5: Coefficient for modeling the effect of off-nominal frequency and voltage on recirculation and core flow, which affects the BWR power output.
46 @param lowPowerLimit: Low Power Limit
48 #: Initial Lower Limit
49 self
.lowerLimit
= lowerLimit
51 #: Pressure Setpoint Gain Adjuster
52 self
.pressureSetpointGA
= pressureSetpointGA
54 #: Coefficient for modeling the effect of off-nominal frequency and voltage on recirculation and core flow, which affects the BWR power output.
57 #: Coefficient for modeling the effect of off-nominal frequency and voltage on recirculation and core flow, which affects the BWR power output.
60 #: Coefficient for modeling the effect of off-nominal frequency and voltage on recirculation and core flow, which affects the BWR power output.
64 self
.highPowerLimit
= highPowerLimit
67 self
.rodPattern
= rodPattern
69 #: Constant Associated With Rod Pattern
70 self
.rodPatternConstant
= rodPatternConstant
73 self
.integralGain
= integralGain
75 #: Coefficient for modeling the effect of off-nominal frequency and voltage on recirculation and core flow, which affects the BWR power output.
79 self
.proportionalGain
= proportionalGain
81 #: Coefficient for modeling the effect of off-nominal frequency and voltage on recirculation and core flow, which affects the BWR power output.
84 #: Pressure Setpoint Time Constant
85 self
.pressureSetpointTC2
= pressureSetpointTC2
87 #: Coefficient for modeling the effect of off-nominal frequency and voltage on recirculation and core flow, which affects the BWR power output.
90 #: Pressure Setpoint Time Constant
91 self
.pressureSetpointTC1
= pressureSetpointTC1
93 #: In-Core Thermal Time Constant
94 self
.inCoreThermalTC
= inCoreThermalTC
96 #: Initial Upper Limit
97 self
.upperLimit
= upperLimit
99 #: Coefficient for modeling the effect of off-nominal frequency and voltage on recirculation and core flow, which affects the BWR power output.
103 self
.pressureLimit
= pressureLimit
105 #: Coefficient for modeling the effect of off-nominal frequency and voltage on recirculation and core flow, which affects the BWR power output.
109 self
.lowPowerLimit
= lowPowerLimit
111 super(BWRSteamSupply
, self
).__init
__(*args
, **kw_args
)
113 _attrs
= ["lowerLimit", "pressureSetpointGA", "rfAux8", "rfAux3", "rfAux2", "highPowerLimit", "rodPattern", "rodPatternConstant", "integralGain", "rfAux7", "proportionalGain", "rfAux6", "pressureSetpointTC2", "rfAux1", "pressureSetpointTC1", "inCoreThermalTC", "upperLimit", "rfAux4", "pressureLimit", "rfAux5", "lowPowerLimit"]
114 _attr_types
= {"lowerLimit": float, "pressureSetpointGA": float, "rfAux8": float, "rfAux3": float, "rfAux2": float, "highPowerLimit": float, "rodPattern": float, "rodPatternConstant": float, "integralGain": float, "rfAux7": float, "proportionalGain": float, "rfAux6": float, "pressureSetpointTC2": float, "rfAux1": float, "pressureSetpointTC1": float, "inCoreThermalTC": float, "upperLimit": float, "rfAux4": float, "pressureLimit": float, "rfAux5": float, "lowPowerLimit": float}
115 _defaults
= {"lowerLimit": 0.0, "pressureSetpointGA": 0.0, "rfAux8": 0.0, "rfAux3": 0.0, "rfAux2": 0.0, "highPowerLimit": 0.0, "rodPattern": 0.0, "rodPatternConstant": 0.0, "integralGain": 0.0, "rfAux7": 0.0, "proportionalGain": 0.0, "rfAux6": 0.0, "pressureSetpointTC2": 0.0, "rfAux1": 0.0, "pressureSetpointTC1": 0.0, "inCoreThermalTC": 0.0, "upperLimit": 0.0, "rfAux4": 0.0, "pressureLimit": 0.0, "rfAux5": 0.0, "lowPowerLimit": 0.0}