Replies: 1 comment 3 replies
-
Dear @artsinli, thank you for reaching out. That is a very good idea, I think. I tried it with a little test-script in the current dev version of TESPy: from tespy.networks import Network
nw = Network(
fluids=["R134a&R1234YF"],
p_unit="bar",
T_unit="C"
)
print("Well I'd like to print this, but the execution crashes silently befor this point.") Something just crashes silently in the background (no Error raised anywhere, execution just stops magically). I identified the section of code responsible for that but I do not yet understand why it does that. To fix it, TESPy will needs a way to handle the While this can be done rather quick, it seems there are two more things we need to do, before we can then make use of the binary mixtures of CoolProp:
There are ideas to rework the fluid property back-end #372, I would like to try to take this feature into consideration when working on that. It is however not on top of the priority list, so you might need to wait for it a little bit. I am sorry for that :(. Maybe we a group of interested users, who would like to contribute here. Best Francesco |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm a noob in python so I'm not sure if this has been thought of already. Currently I am looking to replace R134a with R513a (a mixture between R1234yf and R134a), and found this
https://tespy.readthedocs.io/en/main/modules/fluid_properties.html#tespy-fluid-properties-label
stating that liquid mixtures can't be used.
CoolProp can use mixtures (http://www.coolprop.org/fluid_properties/Mixtures.html). Couldn't you theoretically have a fluid object instead of an array that has mixture boolean property that calls the appropriate coolprop mixture functions within each module? Let me know what you think.
Beta Was this translation helpful? Give feedback.
All reactions