MadsKirkFoged / SharpFluids

Lightweight CoolProp C# Wrapper - for easy fluid properties lookups
MIT License
30 stars 9 forks source link

Fluid.UpdateHT not supported? #25

Open mpiccoli-advantech opened 3 years ago

mpiccoli-advantech commented 3 years ago

When I call methods for updating thermophysical properties of the fluid, the only one method that does not work properly throwing me an exception is UpdateHT: System.ApplicationException: 'This pair of inputs [HmassT_INPUTS] is not yet supported' This exception is due to an effective non-implemented method or there’s some bug inside?

Thank you

MadsKirkFoged commented 3 years ago

It is not (yet) implemented by CoolProp and it is therefore not supported by this system either. I have just added a more clear Exception for the UpdateHT().

MadsKirkFoged commented 3 years ago

I have had a few times I needed the UpdateHT but I always found other ways of obtaining the same functionality. Feel free to create a post/comment if you need help figuring out how to setup your calculations

mpiccoli-advantech commented 3 years ago

Thank you for the reply. I was trying the functionalities of the package and i found that but if it's a CoolProp 'problem' it's ok. I'll setup the calculations in other way to perform the same result if I'll need to.