From: Ben G. <no...@gi...> - 2021-03-17 10:36:53
|
Branch: refs/heads/master Home: https://github.com/python-control/python-control Commit: 12635500e42d89cb4abfbb0fed88d2d6b5594e72 https://github.com/python-control/python-control/commit/12635500e42d89cb4abfbb0fed88d2d6b5594e72 Author: jpp <jua...@gm...> Date: 2021-03-12 (Fri, 12 Mar 2021) Changed paths: M control/tests/timeresp_test.py Log Message: ----------- Added 5 test for step_info: 1) System Type 1 - Step response not stationary: G(s)=1/s(s+1) 2) SISO system with under shoot response and positive final value G(s)=(-s+1)/(s²+s+1) 3) Same system that 2) with k=-1 4) example from matlab online help https://www.mathworks.com/help/control/ref/stepinfo.html G(s)=(s²+5s+5)/(s^4+1.65s^3+6.5s+2) with stepinfo output: RiseTime: 3.8456 SettlingTime: 27.9762 SettlingMin: 2.0689 SettlingMax: 2.6873 Overshoot: 7.4915 Undershoot: 0 Peak: 2.6873 PeakTime: 8.0530 5) example from matlab online help https://www.mathworks.com/help/control/ref/stepinfo.html A = [0.68 -0.34; 0.34 0.68]; B = [0.18 -0.05; 0.04 0.11]; C = [0 -1.53; -1.12 -1.10]; D = [0 0; 0.06 -0.37]; sys = StateSpace(A,B,C,D,0.2); examine the response characteristics for the response from the first input to the second output of sys. with stepinfo output: RiseTime: 0.4000 SettlingTime: 2.8000 SettlingMin: -0.6724 SettlingMax: -0.5188 Overshoot: 24.6476 Undershoot: 11.1224 Peak: 0.6724 PeakTime: 1 Commit: f9641709f8f4b647715ad1e71a2533a8d3757ec0 https://github.com/python-control/python-control/commit/f9641709f8f4b647715ad1e71a2533a8d3757ec0 Author: jpp <jua...@gm...> Date: 2021-03-12 (Fri, 12 Mar 2021) Changed paths: M control/timeresp.py Log Message: ----------- Solve issue #337, #565 and #564 Commit: 018d12818b7ab19924eca82a71124d9dbb9835b1 https://github.com/python-control/python-control/commit/018d12818b7ab19924eca82a71124d9dbb9835b1 Author: jpp <jua...@gm...> Date: 2021-03-16 (Tue, 16 Mar 2021) Changed paths: M control/timeresp.py Log Message: ----------- optimize the code and solve problems with MIMO systems converting to SISO systems from input=0 to output =0 solve problems with non stationary systems doing SteadyStateValue= nan when y_final is inf Commit: 81ae64f80222f97338af3b52d53b42a993300e3c https://github.com/python-control/python-control/commit/81ae64f80222f97338af3b52d53b42a993300e3c Author: Ben Greiner <co...@bn...> Date: 2021-03-17 (Wed, 17 Mar 2021) Changed paths: M control/tests/timeresp_test.py Log Message: ----------- fix comment format Commit: 258c9c2f02e79ad4cd5a04328ddfa435d30b1d18 https://github.com/python-control/python-control/commit/258c9c2f02e79ad4cd5a04328ddfa435d30b1d18 Author: Ben Greiner <co...@bn...> Date: 2021-03-17 (Wed, 17 Mar 2021) Changed paths: M control/tests/timeresp_test.py M control/timeresp.py Log Message: ----------- Merge pull request #567 from juanodecc/step_info_improve_jpp Step info improve jpp Compare: https://github.com/python-control/python-control/compare/0f951e19fc36...258c9c2f02e7 |