number of segments:
free energy of mixing
phase diagram