-
Notifications
You must be signed in to change notification settings - Fork 83
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
Use Xi as input for source models & removing BaseProperties #882
Comments
Both are worthwhile, but maybe we can move Can you check whether removing |
Using this example
I get following translation/simulation times (seconds) for 1e5 steps. With
Without
The low simulation times in the second case may however be due to alias variable eliminations.. I'll make |
I verified the analysis with
which results in comparable results. The clue could be that the |
added option for Xi input in sources see #882
Translation/simulation times for the example above (n=200), commit 1aa9676: Old implementation with input verification: 20s / 3.7 s |
to update connections of IBPSA.Fluid.Sources.MassFlowSource_h and IBPSA.Fluid.Sources.MassFlowSource_T
Currently, the models in
IBPSA.Fluid.Sources
allow the use of an input forX
, while in many casesX
is not directly available. E.g. aFluidPort
only contains the independent fractionsXi
. I would like to add the option to useXi
as an input instead ofX
to avoid having to do obsolete computations to computeX
fromXi
. This process is error-prone and annoying since you're often working with multidimensional vectors. I can't see any downside if we add this option in an advanced tab to avoid confusion with users about the difference between usingX
andXi
as an input.A related issue: these models instantiate
Medium.BaseProperties
. I'm not sure why this is the case, possibly to the check consistency ofX
, temperatures that are out of the bounds, etc? In any case, I'd like to add the option to remove this instantiation since it introduces additional equations and/or translation time to the problem.Any remarks before I implement this?
The text was updated successfully, but these errors were encountered: