Fixing website and API documentation links
[PyCIM.git] / CIM14 / IEC61970 / Dynamics / ExcitationSystems / ExcAC4A.py
blob564cfef827ed4807f58a7def39eecd201e2d33ec
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 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.
25 """
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.)
40 """
41 #: Gain (> 0.)
42 self.ka = ka
44 #: Minimum error signal (< 0.)
45 self.vimin = vimin
47 #: Lag time constant (>= 0.)
48 self.tb = tb
50 #: Filter time constant (>= 0.)
51 self.tr = tr
53 #: Lead time constant
54 self.tc = tc
56 #: Time constant (> 0.)
57 self.ta = ta
59 #: Excitation system regulation (>= 0.)
60 self.kc = kc
62 #: Minimum controller output (< 0.)
63 self.vrmin = vrmin
65 #: Maximum controller output (> 0.)
66 self.vrmax = vrmax
68 #: Maximum error signal ( > 0.)
69 self.vimax = vimax
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}
76 _enums = {}
77 _refs = []
78 _many_refs = []