gustavochm

Results 40 comments of gustavochm

Hey funkvps, Could you provide the script to reproduce that error? Gustavo

I see, I just checked the example and that warning is due to the Grand Potential Difference being negative. This usually happens when the liquid and vapour phases do not...

Hi [YouHyin](https://github.com/YouHyin), I think there is a problem in your initial guesses for the VLLE. If you get the VLLE correctly you can easily construct the whole diagram. See below....

Hi JY, Thanks for bringing this up. This error: `SAFTpkgs/lib/python3.9/site-packages/sgtpy/vrmie_pure/ideal.py:25: RuntimeWarning: invalid value encountered in log a = np.log(rho * broglie_vol**3) - 1`. This error usually means that the density...

Hey JY, Many thanks for you kind words, they mean a lot to me! Regardless your questions. 1. The extra parameter (`ring`) was fitted for several geometries using molecular simulation...

Hi JY, To be honest, I haven't fitted any particular group for SAFT gamma by myself. But for it could be done using `scipy` and `sgtpy`. You would need to...

Hey! You can generate phase diagrams (P-T projection) by using the `flash` [function](https://github.com/gustavochm/phasepy/blob/master/examples/phasepy_equilibrium_two_phase_flash.ipynb) recursively. This function will attempt to solve the phase equilibria at given global composition, pressure and temperature...

Hi! Can you explain further with type or problems are you having? Is the flash routine directly diverging (e.g., getting nan) or is it converging to a single phase point...

Hey! Yes you are right, the two phase flash calculation are mean to compute two phases in equilibria at a given global composition (z), temperature and pressure. The flash can...

Hey Danlira, A trivial solution is usually obtained when the initial guess is poor (either in composition or pressure). I guess that for a 9 component mixture to generate a...