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 ExcDC2A(ExcitationSystem
):
24 """IEEE (1992/2005) DC2A Model The model is used to represent field-controlled dc commutator exciters with continuously acting voltage regulators having supplies obtained from the generator or auxiliary bus. It differs from the Type DC1A model only in the voltage regulator output limits, which are now proportional to terminal voltage <i>V</i><i><sub>T</sub></i>. It is representative of solid-state replacements for various forms of older mechanical and rotating amplifier regulating equipment connected to dc commutator exciters.
27 def __init__(self
, te
=0.0, ke
=0.0, e1
=0.0, tc
=0.0, se2
=0.0, tb
=0.0, uelin
=0.0, e2
=0.0, tf
=0.0, kf
=0.0, vrmax
=0.0, se1
=0.0, ta
=0.0, ka
=0.0, tr
=0.0, exclim
=0.0, vrmin
=0.0, *args
, **kw_args
):
28 """Initialises a new 'ExcDC2A' instance.
30 @param te: Exciter time constant (> 0.)
31 @param ke: Exciter field resistance line slope
32 @param e1: Field voltage value 1 (> 0.)
33 @param tc: Lead time constant
34 @param se2: Saturation factor at e2 (>= 0.)
35 @param tb: Lag time constant (>= 0.)
36 @param uelin: UEL input: if < 2, HV gate; if = 2, add to error signal
37 @param e2: Field voltage value 2. (> 0.)
38 @param tf: Rate feedback time constant, sec. (> 0.)
39 @param kf: Rate feedback gain (>= 0.)
40 @param vrmax: Maximum controller output
41 @param se1: Saturation factor at e1 (>= 0.)
42 @param ta: Time constant (> 0.)
43 @param ka: Gain (> 0.)
44 @param tr: Filter time constant (>= 0.)
45 @param exclim: If not 0, apply lower limit of 0. to exciter output
46 @param vrmin: Minimum controller output (< 0.)
48 #: Exciter time constant (> 0.)
51 #: Exciter field resistance line slope
54 #: Field voltage value 1 (> 0.)
60 #: Saturation factor at e2 (>= 0.)
63 #: Lag time constant (>= 0.)
66 #: UEL input: if < 2, HV gate; if = 2, add to error signal
69 #: Field voltage value 2. (> 0.)
72 #: Rate feedback time constant, sec. (> 0.)
75 #: Rate feedback gain (>= 0.)
78 #: Maximum controller output
81 #: Saturation factor at e1 (>= 0.)
84 #: Time constant (> 0.)
90 #: Filter time constant (>= 0.)
93 #: If not 0, apply lower limit of 0. to exciter output
96 #: Minimum controller output (< 0.)
99 super(ExcDC2A
, self
).__init
__(*args
, **kw_args
)
101 _attrs
= ["te", "ke", "e1", "tc", "se2", "tb", "uelin", "e2", "tf", "kf", "vrmax", "se1", "ta", "ka", "tr", "exclim", "vrmin"]
102 _attr_types
= {"te": float, "ke": float, "e1": float, "tc": float, "se2": float, "tb": float, "uelin": float, "e2": float, "tf": float, "kf": float, "vrmax": float, "se1": float, "ta": float, "ka": float, "tr": float, "exclim": float, "vrmin": float}
103 _defaults
= {"te": 0.0, "ke": 0.0, "e1": 0.0, "tc": 0.0, "se2": 0.0, "tb": 0.0, "uelin": 0.0, "e2": 0.0, "tf": 0.0, "kf": 0.0, "vrmax": 0.0, "se1": 0.0, "ta": 0.0, "ka": 0.0, "tr": 0.0, "exclim": 0.0, "vrmin": 0.0}