-
Notifications
You must be signed in to change notification settings - Fork 84
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
Refactor actuator travel time #1926
Comments
This refactors the actuator models for #1926
Commit a1121d6 is an implementation that allows for the old functionality of using a 2nd order filter, but by default, the new model that linearly changes the actuator position is used. The model has now parameters for dampers and valves: and for fans: My suggestion is -- provided that numerical experiments are good which looks like to be the case based on ongoing tests -- to remove the 2nd order filter. Then the only option will be to have the linear travel time. The parameter Alternate names for discussion would be We could keep |
Todo:
|
Hi Michael, Thanks for looking into this issue. It could be relevant to include a closed-loop test at some point during the assessment. Below is a minimal example with two pressure controlling valves. One, Replacing the filter with the slew rate limiter with In processes where the dynamics are dominated by other components (thermal inertia etc.) and not by the actuator, the performance difference will be less pronounced. The modelThe resultsThe code
|
@justnielsen : Thanks for the example. We will watch out for control performance when doing the update. If we remove the option, we could move the old valves to the I agree that this generally moves away from the instability region. |
Discussion:
@FWuellhorst and @nytschgeusen : Can you please add AixLibs and BuildingSystems preference so that we can close on this. |
Sounds like a nice feature/update. I've used a slew rate filter in the past too and that worked without problems. I also check the MSL implementation and that looks ok. I'm just confused about the statement that the slew rate filter makes process dynamics faster. I see the valve open at a slower pace instead of faster in the picture you sent. And that's indeed what I'd expect from the model equations. So this would result in more instability in closed loop control. (But less instability from the time integrator! Also, larger time steps, this would explain the speedups in the Buildings benchmark?) I'd also propose to remove the old parameters and the proposed wording sounds good. |
@Mathadon : Thanks for the feedback. For small adjustments, the slew rate limiter should be faster. E.g., if riseTime=60 seconds, and the input jumps by 10%, it takes 6 seconds to get to the new position, whereas with the 2nd order filter it still takes 60 seconds to get to the 99.6% change, regardless of how big the jump in input is. |
@mwetter Fine for AixLib, thanks for fixing this issue. |
@mwetter Also fine for BuildingSystems. |
The current implementation of the actuator model, using the 2nd order filter, causes always similar time to make a set point change, regardless of the size of the set point change. A more realistic implementation would use a slew rate limiter.
This issue is to test the performance of using a slew rate limiter and if the performance is good, change the actuator model that is used for pumps, valves and dampers.
The implementation is also done at lbl-srg/modelica-buildings#3965 to allow for benchmarking across a larger set of test cases.
The development branch is
issue1926_actuatorTravel
The text was updated successfully, but these errors were encountered: