SharpFluids icon indicating copy to clipboard operation
SharpFluids copied to clipboard

Fluid.UpdateHT not supported?

Open mpiccoli-advantech opened this issue 3 years ago • 3 comments

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

mpiccoli-advantech avatar Oct 18 '21 09:10 mpiccoli-advantech

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 avatar Oct 18 '21 10:10 MadsKirkFoged

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

MadsKirkFoged avatar Oct 18 '21 10:10 MadsKirkFoged

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.

mpiccoli-advantech avatar Oct 22 '21 15:10 mpiccoli-advantech