miguelmoreto / labcontrole

The LabControle is a simulation software for linear control systems. It is designed to be used as an auxiliary tool for teaching classical control system theory.
http://sites.google.com/site/controlelab/
9 stars 2 forks source link

Problem with discrete time simulation #15

Closed miguelmoreto closed 1 year ago

miguelmoreto commented 7 years ago

A message

Traceback (most recent call last): File "LabControle2.py", line 447, in onBtnSimul File "MySystem.pyc", line 715, in DiscreteSimulate File "scipy\signal\ltisys.pyc", line 568, in lsim2 ValueError: U must have the same number of rows as elements in T.

appears in the log file when the user sets the T parameter to 0,4 using the default LTI system.

miguelmoreto commented 3 years ago

This specific error was corrected some time ago. But there are other errors related with this. If the user sets the number of points/Dt in 21 (for example), there is an error of wrong array dimensions.

miguelmoreto commented 1 year ago

Fixed in version 3.