1 # Copyright (C) 2010-2011 Richard Lincoln
3 # Permission is hereby granted, free of charge, to any person obtaining a copy
4 # of this software and associated documentation files (the "Software"), to
5 # deal in the Software without restriction, including without limitation the
6 # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
7 # sell copies of the Software, and to permit persons to whom the Software is
8 # furnished to do so, subject to the following conditions:
10 # The above copyright notice and this permission notice shall be included in
11 # all copies or substantial portions of the Software.
13 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
18 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
21 from CIM14
.IEC61970
.Dynamics
.ExcitationSystems
.ExcitationSystem
import ExcitationSystem
23 class ExcST5B(ExcitationSystem
):
24 """IEEE (2005) ST5B Model The Type ST5B excitation system is a variation of the Type ST1A model, with alternative overexcitation and underexcitation inputs and additional limits. The corresponding stabilizer models that can be used with these models are the Type PSS2B, PSS3B, or PSS4B.
27 def __init__(self
, tb2
=0.0, tb1
=0.0, tub2
=0.0, tuc1
=0.0, kr
=0.0, tob2
=0.0, tob1
=0.0, tc1
=0.0, toc1
=0.0, tub1
=0.0, tc2
=0.0, kc
=0.0, vrmax
=0.0, tuc2
=0.0, toc2
=0.0, t1
=0.0, tr
=0.0, vrmin
=0.0, *args
, **kw_args
):
28 """Initialises a new 'ExcST5B' instance.
30 @param tb2: Regulator lag time constant (>= 0.)
31 @param tb1: Regulator lag time constant (>= 0.)
32 @param tub2: UEL lag time constant (>= 0.)
33 @param tuc1: UEL lead time constant.
34 @param kr: Regulator gain (> 0.)
35 @param tob2: OEL lag time constant (>= 0.)
36 @param tob1: OEL lag time constant (>= 0.)
37 @param tc1: Regulator lead time constant
38 @param toc1: OEL lead time constant
39 @param tub1: UEL lag time constant (>= 0.)
40 @param tc2: Regulator lead time constant.
41 @param kc: Rectifier regulation factor (>= 0.)
42 @param vrmax: Maximum regulator output (> 0.)
43 @param tuc2: UEL lead time constant
44 @param toc2: OEL lead time constant
45 @param t1: Firing circuit time constant (>= 0.)
46 @param tr: Filter time constant (>= 0.)
47 @param vrmin: Minimum regulator output (< 0.)
49 #: Regulator lag time constant (>= 0.)
52 #: Regulator lag time constant (>= 0.)
55 #: UEL lag time constant (>= 0.)
58 #: UEL lead time constant.
61 #: Regulator gain (> 0.)
64 #: OEL lag time constant (>= 0.)
67 #: OEL lag time constant (>= 0.)
70 #: Regulator lead time constant
73 #: OEL lead time constant
76 #: UEL lag time constant (>= 0.)
79 #: Regulator lead time constant.
82 #: Rectifier regulation factor (>= 0.)
85 #: Maximum regulator output (> 0.)
88 #: UEL lead time constant
91 #: OEL lead time constant
94 #: Firing circuit time constant (>= 0.)
97 #: Filter time constant (>= 0.)
100 #: Minimum regulator output (< 0.)
103 super(ExcST5B
, self
).__init
__(*args
, **kw_args
)
105 _attrs
= ["tb2", "tb1", "tub2", "tuc1", "kr", "tob2", "tob1", "tc1", "toc1", "tub1", "tc2", "kc", "vrmax", "tuc2", "toc2", "t1", "tr", "vrmin"]
106 _attr_types
= {"tb2": float, "tb1": float, "tub2": float, "tuc1": float, "kr": float, "tob2": float, "tob1": float, "tc1": float, "toc1": float, "tub1": float, "tc2": float, "kc": float, "vrmax": float, "tuc2": float, "toc2": float, "t1": float, "tr": float, "vrmin": float}
107 _defaults
= {"tb2": 0.0, "tb1": 0.0, "tub2": 0.0, "tuc1": 0.0, "kr": 0.0, "tob2": 0.0, "tob1": 0.0, "tc1": 0.0, "toc1": 0.0, "tub1": 0.0, "tc2": 0.0, "kc": 0.0, "vrmax": 0.0, "tuc2": 0.0, "toc2": 0.0, "t1": 0.0, "tr": 0.0, "vrmin": 0.0}