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
bound inputs of valves #1223
Comments
The rational of the previous implementation was to avoid a non-differentiability at the boundary of the feasible domain. Not sure what the |
Ok, that's an argument, but a few thoughts:
|
Try using a limiter at the valve input, and run benchmarks to see how computing time changes. |
The model |
removed assert that checks phi > -0.2 see #1223
linked to #1221 : shouldn't we bound the inputs of valves to avoid non-physical situations? We have an assert now but it's set at
-0.2
, which is still quite large. I think it would be a better solution to guard the inputs using aphi=max(l, ...)
expression?The text was updated successfully, but these errors were encountered: