Skip to content

Water activity of Mt. Hua ion mixtures

View code · Download Python script · Download complete ZIP

Solve equilibrium at the measured humidity

Section titled “Solve equilibrium at the measured humidity”

Load 79 charge-balanced extracts and 15 pure-salt activity tables. Each uses the same dry volume and Kelvin correction at 90% RH. The study report documents the charge balance and missing sample.

Python · section 1

import matplotlib.pyplot as plt
from scripts.mt_hua_salts.activity_plots import plot
if "saved_data" in globals():
report = globals()["saved_data"]
else:
from scripts.mt_hua_salts.mixture_activity import simulate
report = simulate()

Thin lines connect predictions for one sample. The bold line is the group mean. The first step changes the pure-salt reference within ZSR. The second applies AIOMFAC to the full liquid mixture.

Python · section 2
plot(report)
plt.show()
Water activity of Mt. Hua ion mixtures: saved scientific figure
Water activity of Mt. Hua ion mixtures · saved execution output

Explore this topic: Nonideal mixtures