Using regSquare function in partial valve models to improve robustness #118
Labels
enhancement
New feature or request
p::FlowControl
Concerns package FlowControl or Undirected.FlowControl
wontfix
This will not be worked on
Currently, the
Modelica.Fluid.Utilities.regSquare
function is not used in the valve models, but only in theFlowResistance
. Adding theregSquare
function could improve robustness in edge cases.The default range, where the regularization starts (
delta=0.01
) leads to high deviations in the results in edge cases, when the valve is fully closed and the actual mass flow is much smaller than the reference mass flow. Future tests should investigate, how the robustness can be improved using theregSquare
functions with different regularization rangesdelta
.The text was updated successfully, but these errors were encountered: