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 ExcAC1A(ExcitationSystem
):
20 """IEEE (1992/2005) AC1A Model The model represents the field-controlled alternator-rectifier excitation systems designated Type AC1A. These excitation systems consist of an alternator main exciter with non-controlled rectifiers.
23 def __init__(self
, vrmin
=0.0, tr
=0.0, vrmax
=0.0, ta
=0.0, kf
=0.0, te
=0.0, ka
=0.0, vamax
=0.0, tb
=0.0, e1
=0.0, kd
=0.0, se1
=0.0, vamin
=0.0, ke
=0.0, kc
=0.0, tf
=0.0, tc
=0.0, e2
=0.0, se2
=0.0, *args
, **kw_args
):
24 """Initialises a new 'ExcAC1A' instance.
26 @param vrmin: Minimum exciter control signal (< 0.)
27 @param tr: Filter time constant (>= 0.)
28 @param vrmax: Maximum exciter control signal (> 0.)
29 @param ta: AVR time constant (> 0.)
30 @param kf: Rate feedback gain (>= 0.)
31 @param te: Exciter time constant (> 0.)
32 @param ka: AVR gain (> 0.)
33 @param vamax: Maximum AVR output (> 0.)
34 @param tb: TGR lag time constant (>= 0.)
35 @param e1: Field voltage value 1 (> 0.)
36 @param kd: Exciter internal reactance (>= 0.)
37 @param se1: Saturation factor at e1 (>= 0.)
38 @param vamin: Minimum AVR output (< 0.)
39 @param ke: Exciter field resistance constant
40 @param kc: Rectifier regulation factor (>= 0.)
41 @param tf: Rate feedback time constant (> 0.)
42 @param tc: TGR lead time constant
43 @param e2: Field voltage value 2. (> 0.)
44 @param se2: Saturation factor at e2 (>= 0.)
46 #: Minimum exciter control signal (< 0.)
49 #: Filter time constant (>= 0.)
52 #: Maximum exciter control signal (> 0.)
55 #: AVR time constant (> 0.)
58 #: Rate feedback gain (>= 0.)
61 #: Exciter time constant (> 0.)
67 #: Maximum AVR output (> 0.)
70 #: TGR lag time constant (>= 0.)
73 #: Field voltage value 1 (> 0.)
76 #: Exciter internal reactance (>= 0.)
79 #: Saturation factor at e1 (>= 0.)
82 #: Minimum AVR output (< 0.)
85 #: Exciter field resistance constant
88 #: Rectifier regulation factor (>= 0.)
91 #: Rate feedback time constant (> 0.)
94 #: TGR lead time constant
97 #: Field voltage value 2. (> 0.)
100 #: Saturation factor at e2 (>= 0.)
103 super(ExcAC1A
, self
).__init
__(*args
, **kw_args
)
105 _attrs
= ["vrmin", "tr", "vrmax", "ta", "kf", "te", "ka", "vamax", "tb", "e1", "kd", "se1", "vamin", "ke", "kc", "tf", "tc", "e2", "se2"]
106 _attr_types
= {"vrmin": float, "tr": float, "vrmax": float, "ta": float, "kf": float, "te": float, "ka": float, "vamax": float, "tb": float, "e1": float, "kd": float, "se1": float, "vamin": float, "ke": float, "kc": float, "tf": float, "tc": float, "e2": float, "se2": float}
107 _defaults
= {"vrmin": 0.0, "tr": 0.0, "vrmax": 0.0, "ta": 0.0, "kf": 0.0, "te": 0.0, "ka": 0.0, "vamax": 0.0, "tb": 0.0, "e1": 0.0, "kd": 0.0, "se1": 0.0, "vamin": 0.0, "ke": 0.0, "kc": 0.0, "tf": 0.0, "tc": 0.0, "e2": 0.0, "se2": 0.0}