2 - def __init__(self, source=0j, feedType="Voltage", R=0, L=0, C=0, arrangement="Series"):
9
10 @property
13
14 @property
17
18 @property
21
22 @property
25
26 @property
29
30 @property
32 return self._arrangement
33
35 return 'Excitation(source=%(_source)r, feedType=%(_feedType)r, R=%(_R)r, L=%(_L)r, C=%(_C)r, arrangement=%(_arrangement)r)' % self.__dict__
36
39 - def __init__(self, R=50.0, L=0.0, C=0.0):
42 return 'SeriesRLC(R=%(_R)r, L=%(_L)r, C=%(_C)r)' % self.__dict__
43
46 - def __init__(self, R=50.0, L=0.0, C=0.0):
49 return 'ParallelRLC(R=%(_R)r, L=%(_L)r, C=%(_C)r)' % self.__dict__
50
51
52 -class RLpC(Excitation):
53 - def __init__(self, R=50.0, L=0.0, C=0.0):
56 return 'RLpC(R=%(_R)r, L=%(_L)r, C=%(_C)r)' % self.__dict__
57
58
59 -class Short(Excitation):
64
65
66 -class Open(Excitation):
71
78 return 'VoltageSource(V=%(_source)r, load=%(_load)r)' % self.__dict__
79
86 return 'CurrentSource(V=%(_source)r, load=%(_load)r)' % self.__dict__
87