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
.ExcitationSystems
.ExcitationSystem
import ExcitationSystem
19 class ExcDC2A(ExcitationSystem
):
20 """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.
23 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
):
24 """Initialises a new 'ExcDC2A' instance.
26 @param te: Exciter time constant (> 0.)
27 @param ke: Exciter field resistance line slope
28 @param e1: Field voltage value 1 (> 0.)
29 @param tc: Lead time constant
30 @param se2: Saturation factor at e2 (>= 0.)
31 @param tb: Lag time constant (>= 0.)
32 @param uelin: UEL input: if < 2, HV gate; if = 2, add to error signal
33 @param e2: Field voltage value 2. (> 0.)
34 @param tf: Rate feedback time constant, sec. (> 0.)
35 @param kf: Rate feedback gain (>= 0.)
36 @param vrmax: Maximum controller output
37 @param se1: Saturation factor at e1 (>= 0.)
38 @param ta: Time constant (> 0.)
39 @param ka: Gain (> 0.)
40 @param tr: Filter time constant (>= 0.)
41 @param exclim: If not 0, apply lower limit of 0. to exciter output
42 @param vrmin: Minimum controller output (< 0.)
44 #: Exciter time constant (> 0.)
47 #: Exciter field resistance line slope
50 #: Field voltage value 1 (> 0.)
56 #: Saturation factor at e2 (>= 0.)
59 #: Lag time constant (>= 0.)
62 #: UEL input: if < 2, HV gate; if = 2, add to error signal
65 #: Field voltage value 2. (> 0.)
68 #: Rate feedback time constant, sec. (> 0.)
71 #: Rate feedback gain (>= 0.)
74 #: Maximum controller output
77 #: Saturation factor at e1 (>= 0.)
80 #: Time constant (> 0.)
86 #: Filter time constant (>= 0.)
89 #: If not 0, apply lower limit of 0. to exciter output
92 #: Minimum controller output (< 0.)
95 super(ExcDC2A
, self
).__init
__(*args
, **kw_args
)
97 _attrs
= ["te", "ke", "e1", "tc", "se2", "tb", "uelin", "e2", "tf", "kf", "vrmax", "se1", "ta", "ka", "tr", "exclim", "vrmin"]
98 _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}
99 _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}