-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LimPID with integrator reset #494
Comments
It would be nice to get some feedback about the two options you can see in my fork: issue494_resetIntPID So, what do you think is the best? It would be nice to receive some feedback. |
Hi! The question arises however if we should do
or
c) is an option as well since we do not want to overload the user with complex options. Good documentation should however be sufficient to deal with this. |
Thanks a lot for your recommendations! I now decided to choose Option b) and use the edge() function. Also you can choose the value to reinit with. |
I want to enhance
Annex60.Controls.Continuous.LimPID
. When a boolean input becomes true, the integrator should be reset.The problem is easy to solve as long as you are not in pedantic mode.
But to satisfy pedantic criteria I can only see the solution to copy the whole source code of
Modelica.Blocks.Continuous.LimPID
instead of extending it. Because then the integrator can be replaced by an own integrator model including a boolean input to reset/reinit() the outputy.
I will show the two possibilities in a new fork.
The text was updated successfully, but these errors were encountered: