Next-Balance / selftest.json
Lamapi's picture
Publish Next Balance
573eba1 verified
Raw History Blame Contribute Delete
2.66 kB
{"cases": [{"scenario": {"payload0": 2.5, "t_load": 4.0, "dm": 5.0, "c0": 3.5, "F0": 2.0, "t_fric": 7.0, "fric_gain": 2.5, "delay": 3, "noise": 0.002, "T": 12.0, "seed": 7}, "ctrl": "pid", "expected": {"max_deviation_m": 0.21246549316426738, "settling_time_s": 1.9100000000000001, "settled": true, "control_energy_kN2s": 0.08585167617097979, "step_overshoot_m": 0.16121816396249167, "final_error_m": 0.0012782173124000207, "iae_ms": 0.42688203186966583}}, {"scenario": {"payload0": 2.5, "t_load": 4.0, "dm": 5.0, "c0": 3.5, "F0": 2.0, "t_fric": 7.0, "fric_gain": 2.5, "delay": 3, "noise": 0.002, "T": 12.0, "seed": 7}, "ctrl": "adaptive", "expected": {"max_deviation_m": 0.2399659109836748, "settling_time_s": 5.130000000000001, "settled": true, "control_energy_kN2s": 0.07724842430435602, "step_overshoot_m": 0.054537633646371764, "final_error_m": 0.002987176552042059, "iae_ms": 0.37910133631047316}}, {"scenario": {"payload0": 1.2, "t_load": 4.0, "dm": 11.0, "c0": 3.5, "F0": 2.0, "t_fric": 7.0, "fric_gain": 5.0, "delay": 6, "noise": 0.006, "T": 12.0, "seed": 3}, "ctrl": "pid", "expected": {"max_deviation_m": 0.6834092876786254, "settling_time_s": 7.99, "settled": false, "control_energy_kN2s": 0.19103139746244666, "step_overshoot_m": 0.7949034817694149, "final_error_m": 0.09350074369439826, "iae_ms": 2.16975488168198}}, {"scenario": {"payload0": 1.2, "t_load": 4.0, "dm": 11.0, "c0": 3.5, "F0": 2.0, "t_fric": 7.0, "fric_gain": 5.0, "delay": 6, "noise": 0.006, "T": 12.0, "seed": 3}, "ctrl": "adaptive", "expected": {"max_deviation_m": 0.7547817053580321, "settling_time_s": 5.710000000000001, "settled": true, "control_energy_kN2s": 0.2350248077818673, "step_overshoot_m": 0.07555317278466955, "final_error_m": 0.005155713014521002, "iae_ms": 1.1971782729946825}}, {"scenario": {"payload0": 3.9, "t_load": 4.0, "dm": -1.0, "c0": 3.5, "F0": 2.0, "t_fric": 7.0, "fric_gain": 1.0, "delay": 0, "noise": 0.0, "T": 12.0, "seed": 1}, "ctrl": "pid", "expected": {"max_deviation_m": 0.015467357512746749, "settling_time_s": 1.38, "settled": true, "control_energy_kN2s": 0.03196562041711937, "step_overshoot_m": 0.0723706591534844, "final_error_m": 8.959023124899268e-05, "iae_ms": 0.19405905613476956}}, {"scenario": {"payload0": 3.9, "t_load": 4.0, "dm": -1.0, "c0": 3.5, "F0": 2.0, "t_fric": 7.0, "fric_gain": 1.0, "delay": 0, "noise": 0.0, "T": 12.0, "seed": 1}, "ctrl": "adaptive", "expected": {"max_deviation_m": 0.03149865678202102, "settling_time_s": 0.8499999999999996, "settled": true, "control_energy_kN2s": 0.032041379768356255, "step_overshoot_m": 0.05414471009417465, "final_error_m": 0.0011271943141129004, "iae_ms": 0.22001462294797086}}]}