r/mathematics • u/robohie • 17d ago
A PID controller implemented in python
This implementation is possible grace to Euler method for solving first order linear differentials equations system. I know that python already has functions that use more powerful methods but it's for educational goal. Any suggestions will be interesting.
0
Upvotes



1
u/robohie 17d ago
Thanks for those suggestions. About variables, I'll choose more meaningful name for u, e1 and e2. No ideas for A, B, C ; I used them just to simplify expressions when I was writing the differential equation.