Issue with chattering involving arrays in the Buildings library
— at Version 7
Please check Buildings.Controls.Continuous.Examples.SignalRanker. The simulation fails with
LOG_SUCCESS | info | The initialization finished successfully without homotopy method.
stdout | info | Chattering detected around time 7.45058059692e-13..7.45057922302e-11 (100 state events in a row with a total time delta less than the step size 0.0002). This can be a performance bottleneck. Use -lv LOG_EVENTS for more information. The zero-crossing was: sigRan.y[1] < sigRan.y[1 + 1]
assert | debug | Aborting simulation due to chattering being detected and the simulation flags requesting we do not continue further.
Change History
(7)
Milestone: |
1.17.0 → 1.18.0
|
Description: |
modified (diff)
|
Description: |
modified (diff)
|
I would need to check dumps from the backend and the generated C code to determine if the generated equations for the zero-crossings are correct. I'm not sure if all array equations are handled correctly.
This could become ugly with this example, so having a minimal working example would be great, but that sounds like an even harder task.
Of course it could be a problem in the simulation runtime as well.
Hard to tell how much time is needed for this ticket.