Example #1
0
 public Break1P(double switchTime, bool initialState, Pin1Phase in_pin, Pin1Phase out_pin) : base()
 {
     this.switchTime = switchTime;
     this.state      = initialState;
     this.in_pin     = in_pin;
     this.out_pin    = out_pin;
 }
 public Connection3P1P(Pin3Phase abc_pin, Pin1Phase a_pin, Pin1Phase b_pin, Pin1Phase c_pin) : base()
 {
     this.abc_pin = abc_pin;
     this.a_pin   = a_pin;
     this.b_pin   = b_pin;
     this.c_pin   = c_pin;
 }
Example #3
0
 public Switch2Way1P(bool state, Pin1Phase in_pin, Pin1Phase out1_pin, Pin1Phase out2_pin) : base()
 {
     this.state    = state;
     this.in_pin   = in_pin;
     this.out1_pin = out1_pin;
     this.out2_pin = out2_pin;
 }
Example #4
0
 public LoadY(Complex32 zA, Complex32 zB, Complex32 zC, Pin3Phase in_pin, Pin1Phase n_pin) : base()
 {
     this.zA     = zA;
     this.zB     = zB;
     this.zC     = zC;
     this.in_pin = in_pin;
     this.n_pin  = n_pin;
 }
 public VoltageSource(float amp, float phase, float frequency, Pin1Phase in_pin, Pin1Phase out_pin) : base()
 {
     this.amp       = amp;
     this.phase     = phase;
     this.frequency = frequency;
     this.in_pin    = in_pin;
     this.out_pin   = out_pin;
 }
Example #6
0
 public ShortCircuit(Pin3Phase in_pin, Pin3Phase out_pin, Pin1Phase a_pin, Pin1Phase b_pin, Pin1Phase c_pin) : base()
 {
     this.in_pin  = in_pin;
     this.out_pin = out_pin;
     this.a_pin   = a_pin;
     this.b_pin   = b_pin;
     this.c_pin   = c_pin;
 }
 public Transformer(float k, Pin1Phase inp_pin, Pin1Phase ins_pin, Pin1Phase outp_pin, Pin1Phase outs_pin) : base()
 {
     this.k        = k;
     this.inp_pin  = inp_pin;
     this.ins_pin  = ins_pin;
     this.outp_pin = outp_pin;
     this.outs_pin = outs_pin;
 }
Example #8
0
 public GeneratorY(float peak, float phase, float frequency, Complex32 z, Pin3Phase out_pin, Pin1Phase n_pin) : base()
 {
     this.peak      = peak;
     this.phase     = phase;
     this.z         = z;
     this.out_pin   = out_pin;
     this.n_pin     = n_pin;
     this.frequency = frequency;
 }
Example #9
0
 public DynamicShortCircuit(double startTime, double endTime, Pin3Phase in_pin, Pin3Phase out_pin, Pin1Phase a_pin, Pin1Phase b_pin, Pin1Phase c_pin) : base()
 {
     this.startTime = startTime;
     this.endTime   = endTime;
     this.in_pin    = in_pin;
     this.out_pin   = out_pin;
     this.a_pin     = a_pin;
     this.b_pin     = b_pin;
     this.c_pin     = c_pin;
 }
Example #10
0
 public TransformerDy(Complex32 zp, Complex32 zs, double xm, double rc, double k, int group, Pin3Phase in_pin, Pin3Phase out_pin, Pin1Phase out_n_pin) : base()
 {
     if (group < 0 || group > 5)
     {
         throw new Exception($"Некорректное значение для параметра \"Group\": {group}");
     }
     this.group     = group;
     this.zp        = zp;
     this.zs        = zs;
     this.xm        = xm;
     this.rc        = rc;
     this.k         = k;
     this.in_pin    = in_pin;
     this.out_pin   = out_pin;
     this.out_n_pin = out_n_pin;
 }
Example #11
0
 public Scope1P(Pin1Phase in_pin, Pin1Phase out_pin, string label) : base()
 {
     this.in_pin  = in_pin;
     this.out_pin = out_pin;
     this.label   = label;
 }
 public Capacitor(float capacitance, Pin1Phase in_pin, Pin1Phase out_pin) : base()
 {
     this.capacitance = capacitance;
     this.in_pin      = in_pin;
     this.out_pin     = out_pin;
 }
 public Connection1P(Pin1Phase in_pin, Pin1Phase out_pin) : base()
 {
     this.in_pin  = in_pin;
     this.out_pin = out_pin;
 }
 public Ground(Pin1Phase in_pin) : base()
 {
     this.in_pin = in_pin;
 }
 public Resistor(float resistance, Pin1Phase in_pin, Pin1Phase out_pin) : base()
 {
     this.resistance = resistance;
     this.in_pin     = in_pin;
     this.out_pin    = out_pin;
 }
 public Inductor(float inductance, Pin1Phase in_pin, Pin1Phase out_pin) : base()
 {
     this.inductance = inductance;
     this.in_pin     = in_pin;
     this.out_pin    = out_pin;
 }