Пример #1
0
 public void setCapacitance(double cap) {
   this.capacitance = cap;
   this.timeConstant = cap * this.resistance;
   this.calcPolesZerosS();
   super.sDenom = ComplexPoly.rootsToPoly(this.sPoles);
   super.addDeadTimeExtras();
   this.setC = true;
 }
Пример #2
0
 public void setTimeConstant(double tau) {
   this.timeConstant = tau;
   this.calcPolesZerosS();
   super.sDenom = ComplexPoly.rootsToPoly(this.sPoles);
   super.addDeadTimeExtras();
 }