Python port of the MATLAB Model Free Control scripts by Danial Waleed. Code is written in a Jupyter Notebook to mimic MATLAB's scripting structure.
Figure 1. MATLAB Block Diagram Script Structure
- Identify if the overshoot during the step is due to non-linearities or implementation differences from MATLAB
- Add in saturation limits to better mimic a physical system
- Rename variables for better documentation
- Move functions from the main loop into isolated functions
- Add animations of the pendulum in MATLAB and Python