ibell / pdsim

Steady-State simulation code for positive displacement machines
MIT License
38 stars 25 forks source link

HEOS mix #78

Closed ibell closed 1 year ago

ibell commented 1 year ago

Fix the code in PDSim to allow for the use of multicomponent mixtures with the HEOS backend of CoolProp. The primary change is to convert all P,H and P,S flash calls to instead use newton iterations in PDSim rather than delegating those calls to CoolProp.