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
ThreeWayTable Valve #1227
Comments
It's not clear to me why you have to modify the parameter |
The replaceable valves |
@alexanderAKU : Would the commit 0e647cf address what you need? |
Ok I get it, the problem is that the The proposed change looks good! |
@mwetter the commit solves my problem. Thanks. |
The library contains a two way valve that has a table based flow characteristic (TwoWayTable). However, a three way valve with table-based characteristics does not exist. I tried to model a three way table-based valve in the same way as the model ThreeWayLinear or ThreeWayEqualPercentageLinear: I tried to redeclare the partial two way valve (res1 and res3) and use the TwoWayTable. However, this approach does not work because the parameter l in the partial valve (res1 and res3) is final as well as the parameter l in the model TwoWayTable.
I think it would be a good approach to release the "final" modifier in the PartialThreeWayValve because this model is a base class. The final modifier could be added in the child classes if needed.
Are there any suggestions how to solve this issue?
Best regards
The text was updated successfully, but these errors were encountered: