-
Notifications
You must be signed in to change notification settings - Fork 84
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
New refrigerant package #1093
Comments
Hi all, within the Refrigerant Package, we found a simople model of R410A. As you can see here: https://github.com/RWTH-EBC/AixLib/tree/development/AixLib/Media/Refrigerants we had to rename our R410A to R410A_HEoS. Ensureing consistent naming, it would be helpful to rename or move your recent R410A model. All the best, |
Regarding the issue @cvering pointed out on the conflict with the already implemented R410A model:
Or,
|
Some thoughts about refrigerant models: whenever there is a function e.g. |
Hey all! Thank you for the hints. We will prove this :) All the best, Christian |
If |
The same argument holds for from_dp though, where we do not use the exact mathematical inverse.
|
A basic test for numerical consistency could look similar to: |
It seems a quite similar check is already used: |
Hello everyone, How is this project going? |
There is CO2 in HelmholtzMedia, but as it uses the full Helmholtz energy equation of state for everyhting, it is a bit slow. Testing it should be easy, feel free to file issues. For a big speedup, some spline based approach like SBTL would have to be used. |
Hello Icsgoulart! Thank you for your request. I haven't merged my CO2 model, yet. You can use this model: https://github.com/RWTH-EBC/AixLib/tree/issue665_newRefrigerantsModelsR744R32 until I find some time to merge it here. All the best Christian |
Thank you! |
Dear Icsgoulart, thank you for interest in using our models. You can start a new Issue within the AixLib, if you have detailed questions on a recent model. The workflow is described in our wiki. Nevertheless, we are developing our models in Dymola and we only prove OpenModelica checks. Therefore, I cannot guarantee that our models run in OpenModelica. |
I wanted to use |
Hey Carles, thanks for your contribution. I guess your approach is the same as MassimoCimmino developed for his heat pump model published at Modelica Conference 2017. These are (I guess) polynomial functions that were fitted to measurement data leading to fast evaluation of thermodynamic states. This model is already available in the master branch. In #1180 are more detailed fluid property models which base on the reduced Helmholtz Equation of State (HEoS), which yields wider validity area (and often better accuracy). Thus, we will merge the detailed property models soon. Since there are naming conflicts (e.g. R134a from MassimoCimmino and R134a from HEoS), we need to carefully distinguish between the two (and any further). |
Hi @cvering, |
@carlesRT If it can help you with your issue while #1180 is still in development. I have an old branch here that links the @cvering : This is something to eventually consider to make the existing model compatible with your refrigerant models. |
Thanks @MassimoCimmino, I will have a look and cross check it with my results. |
What is the problem?
Currently, there are no refrigerant models within the IBPSA library. Therefore, we want to add different refrigerants (R134a and probably R410A, R32, R744 and R290).
Why do we want to solve it?
The refrigerants can be used, for example, for detailed heat pumps and refrigerating machines simulation models
How do we want to solve it?
We will use the approach presented by Sangi et al. (see paper “A Medium Model for the Refrigerant Propane for Fast and Accurate Dynamic Simulations”; http://www.ebc.eonerc.rwth-aachen.de/go/id/dncb/file/227214). Sangi et al. calculated functions for the density, specific enthalpy and specific entropy for the three different regimes supercooled, superheated and two-phase. Focusing on high accuracy, we need to have six regions, that need to be implemented. These are not necessarily thermodyanmic regions, but they allow good fitting results within our model development. The regression functions were polynomial and fitted to the inverse energy equation of state.
Who do we think will benefit from our solution?
We think that everyone will benefit from the models who needs refrigerants without using external media libraries. Moreover, the presented approach allows a fast and accurate simulation and, therefore, contributes to everyone who will focus the simulation speed.
The text was updated successfully, but these errors were encountered: