Fixing website and API documentation links
[PyCIM.git] / CIM14 / IEC61970 / Dynamics / ExcitationSystems / ExcST5B.py
blob11111975f18739f24c4891825b4fd41e743fd0de
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
19 # IN THE SOFTWARE.
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.
25 """
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.)
48 """
49 #: Regulator lag time constant (>= 0.)
50 self.tb2 = tb2
52 #: Regulator lag time constant (>= 0.)
53 self.tb1 = tb1
55 #: UEL lag time constant (>= 0.)
56 self.tub2 = tub2
58 #: UEL lead time constant.
59 self.tuc1 = tuc1
61 #: Regulator gain (> 0.)
62 self.kr = kr
64 #: OEL lag time constant (>= 0.)
65 self.tob2 = tob2
67 #: OEL lag time constant (>= 0.)
68 self.tob1 = tob1
70 #: Regulator lead time constant
71 self.tc1 = tc1
73 #: OEL lead time constant
74 self.toc1 = toc1
76 #: UEL lag time constant (>= 0.)
77 self.tub1 = tub1
79 #: Regulator lead time constant.
80 self.tc2 = tc2
82 #: Rectifier regulation factor (>= 0.)
83 self.kc = kc
85 #: Maximum regulator output (> 0.)
86 self.vrmax = vrmax
88 #: UEL lead time constant
89 self.tuc2 = tuc2
91 #: OEL lead time constant
92 self.toc2 = toc2
94 #: Firing circuit time constant (>= 0.)
95 self.t1 = t1
97 #: Filter time constant (>= 0.)
98 self.tr = tr
100 #: Minimum regulator output (< 0.)
101 self.vrmin = vrmin
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}
108 _enums = {}
109 _refs = []
110 _many_refs = []