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 ExcAC4A(ExcitationSystem
):
24 """IEEE (1992/2005) AC4A Model The Type AC4A alternator-supplied controlled-rectifier excitation system is quite different from the other type ac systems. This high initial response excitation system utilizes a full thyristor bridge in the exciter output circuit. The voltage regulator controls the firing of the thyristor bridges. The exciter alternator uses an independent voltage regulator to control its output voltage to a constant value. These effects are not modeled; however, transient loading effects on the exciter alternator are included.
27 def __init__(self
, ka
=0.0, vimin
=0.0, tb
=0.0, tr
=0.0, tc
=0.0, ta
=0.0, kc
=0.0, vrmin
=0.0, vrmax
=0.0, vimax
=0.0, *args
, **kw_args
):
28 """Initialises a new 'ExcAC4A' instance.
30 @param ka: Gain (> 0.)
31 @param vimin: Minimum error signal (< 0.)
32 @param tb: Lag time constant (>= 0.)
33 @param tr: Filter time constant (>= 0.)
34 @param tc: Lead time constant
35 @param ta: Time constant (> 0.)
36 @param kc: Excitation system regulation (>= 0.)
37 @param vrmin: Minimum controller output (< 0.)
38 @param vrmax: Maximum controller output (> 0.)
39 @param vimax: Maximum error signal ( > 0.)
44 #: Minimum error signal (< 0.)
47 #: Lag time constant (>= 0.)
50 #: Filter time constant (>= 0.)
56 #: Time constant (> 0.)
59 #: Excitation system regulation (>= 0.)
62 #: Minimum controller output (< 0.)
65 #: Maximum controller output (> 0.)
68 #: Maximum error signal ( > 0.)
71 super(ExcAC4A
, self
).__init
__(*args
, **kw_args
)
73 _attrs
= ["ka", "vimin", "tb", "tr", "tc", "ta", "kc", "vrmin", "vrmax", "vimax"]
74 _attr_types
= {"ka": float, "vimin": float, "tb": float, "tr": float, "tc": float, "ta": float, "kc": float, "vrmin": float, "vrmax": float, "vimax": float}
75 _defaults
= {"ka": 0.0, "vimin": 0.0, "tb": 0.0, "tr": 0.0, "tc": 0.0, "ta": 0.0, "kc": 0.0, "vrmin": 0.0, "vrmax": 0.0, "vimax": 0.0}