m-lundberg / simple-pid

A simple and easy to use PID controller in Python
MIT License
792 stars 216 forks source link

Pytest System Convergence #82

Open SputnikTheMighty opened 6 months ago

SputnikTheMighty commented 6 months ago

Hiya,

Can you explain the system model that you use for the convergence test? I don't really understand what this system is supposed to represent.


    def update_system(c, dt):
        # Calculate a simple system model
        return pv + c * dt - 1 * dt

Thanks!