phasepy
phasepy copied to clipboard
Division Zero Error Zfactor
trafficstars
Running on ARM64 Android Termux perfectly
In [5] at file 2. Property calculation from Cubic EoS.ipynb
/data/data/com.termux/files/usr/lib/python3.9/site-packages/phasepy/cubic/cubicpure.py:426: RuntimeWarning: divide by zero encountered in divide zfactor = np.sqrt(a/ci*10**5/100**6)*10**-10
Dear Defencedog,
Apologies for the very late response. That warning is arising from a division by zero, Did you set an influence parameter ci when creating the component?
Gustavo