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; }
public void setTimeConstant(double tau) { this.timeConstant = tau; this.calcPolesZerosS(); super.sDenom = ComplexPoly.rootsToPoly(this.sPoles); super.addDeadTimeExtras(); }