PyPhaseDiagram.to_dict now compares pressures of both phases. If they are different (e.g. when PyPhaseDiagram.spinodal was used as constructor), pressures for both phases are stored ("pressure liquid", "pressure vapor").
Added PyStateVec.to_dict method that calculates the same properties as PyPhaseDiagram.to_dict for the states stored in PyStateVec.
PyPhaseDiagram.to_dict
now compares pressures of both phases. If they are different (e.g. whenPyPhaseDiagram.spinodal
was used as constructor), pressures for both phases are stored ("pressure liquid", "pressure vapor").PyStateVec.to_dict
method that calculates the same properties asPyPhaseDiagram.to_dict
for the states stored inPyStateVec
.