SolverSettings.java 360 B

123456789101112131415
  1. package holeg.power_flow;
  2. public class SolverSettings {
  3. public int maxIterations;
  4. public double minError;
  5. public double maxError;
  6. public int jacobianRecalculationInterval;
  7. public SolverSettings() {
  8. maxIterations = 1000;
  9. minError = 1e-4;
  10. maxError = minError * 10;
  11. jacobianRecalculationInterval = 4;
  12. }
  13. }