Implementing RDF/XML serialisation using meta-data attributes.
[PyCIM.git] / schemata / CIM14 / Dynamics / ExcitationSystems / ExcAC1A.py
blob0fcaaa3f2449180f6bdea55677f2fa5e06cdd9c6
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.
21 """
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.)
45 """
46 #: Minimum exciter control signal (< 0.)
47 self.vrmin = vrmin
49 #: Filter time constant (>= 0.)
50 self.tr = tr
52 #: Maximum exciter control signal (> 0.)
53 self.vrmax = vrmax
55 #: AVR time constant (> 0.)
56 self.ta = ta
58 #: Rate feedback gain (>= 0.)
59 self.kf = kf
61 #: Exciter time constant (> 0.)
62 self.te = te
64 #: AVR gain (> 0.)
65 self.ka = ka
67 #: Maximum AVR output (> 0.)
68 self.vamax = vamax
70 #: TGR lag time constant (>= 0.)
71 self.tb = tb
73 #: Field voltage value 1 (> 0.)
74 self.e1 = e1
76 #: Exciter internal reactance (>= 0.)
77 self.kd = kd
79 #: Saturation factor at e1 (>= 0.)
80 self.se1 = se1
82 #: Minimum AVR output (< 0.)
83 self.vamin = vamin
85 #: Exciter field resistance constant
86 self.ke = ke
88 #: Rectifier regulation factor (>= 0.)
89 self.kc = kc
91 #: Rate feedback time constant (> 0.)
92 self.tf = tf
94 #: TGR lead time constant
95 self.tc = tc
97 #: Field voltage value 2. (> 0.)
98 self.e2 = e2
100 #: Saturation factor at e2 (>= 0.)
101 self.se2 = se2
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}
108 _enums = {}
109 _refs = []
110 _many_refs = []