-
Notifications
You must be signed in to change notification settings - Fork 78
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
Issue680 update dependency bestest hydronic #681
Conversation
One comment. I did not add the new |
@jelgerjansen This PR proposes to move the code for the Let me know if this seems ok to you or if you see reasons we should keep the models within IDEAS, as was set up originally. Note also that since the model code would be duplicated from an original distribution in IDEAS, I've included reference to the IDEAS license in the BOPTEST license as part of this PR. |
Hi @dhblum, I think it is OK to move these models from IDEAS to BOPTEST. According to my knowledge, the main functionalities of both the component models in both models are also tested in other unit tests. Or do I miss something important here @Mathadon? I think it would also be possible to just keep the models in IDEAS, right? They will just be out-of-sync with those of BOPTEST. Although I don't see a reason to keep them in IDEAS. I noticed that the IDEAS v2.2.1 is referred to, but this was before the update of MSL to v4.0.0. Are you sure about the IDEAS version in the documentation? |
hey @jelgerjansen answering your second question. This version of the test case still uses Modelica 3.2.3 due to the legacy support of JModelica for compilation, hence IDEAS 2.2.1. We are moving away from JModelica and working to update all BOPTEST test cases to Modelica 4.0 and related version of the libraries (like IDEAS 3.0.0). |
Thanks @jelgerjansen. To your first question about unit tests: BOPTEST unit tests test the compilation and simulation of the full test case models with reference results produced and compared for BOPTEST KPI values and a selection of variable timeseries that are generated during the tests. I imagine the components of the models are unit tested in the IDEAS library, but you or @Mathadon may be able to confirm better. |
I see no reason to object against the proposed route if the BOPTEST maintainers think this is the best way overall :) |
Thank you both @jelgerjansen and @Mathadon. We will proceed with this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@EttoreZ Please address my two comments.
testcases/bestest_hydronic_heat_pump/models/BESTESTHydronicHeatPump/TestCase.mo
Show resolved
Hide resolved
…st_hydronic' into issue680_update_dependency_bestest_hydronic
@EttoreZ Yes, that sounds fine. Thanks for thinking strategically about it. Then just let me know if/when this PR is ready. |
Ok perfect, @dhblum PR should be ready now and I will work on the min max PR. |
This pull request is for #680. Modelica code of
BETEST_hydronic
andBESTEST_hydronic_heat_pump
was updated to NOT extend from model of IDEAS library, but instead duplicate it, to make test case Modelica code maintenance easier.