SOLUTION-units mol/kgwNa 0.5Cl 8.5K 8.0 Sylvite 0END
SOLUTION-units mol/kgwNa 0.5Cl 8.5 Sylvite 0K 8.0 Sylvite 0END
SOLUTION units mol/kgw Na 0.5 Cl 8.5 Sylvite 0 K 8.0 charge END
SOLUTION units mol/kgw Na 0.5 Cl 8.5 charge K 8.0 Sylvite 0 END
So, can you give an example of another system that you do not know how to solve? Please state which concentrations are fixed and which are variable (presumably because of precipitation of salts).
SOLUTION 1 units mol/kgw Na 0.5 Cl 16.5 Ca 8 EQUILIBRIUM_PHASES 1 Antarcticite 0 0 ENDSOLUTION 1 units mol/kgw -water 1 Na 0.5 Cl 16.5 Ca 8 EQUILIBRIUM_PHASES 1 Antarcticite 0 0 END
Elements Molality Moles Ca 7.229e+00 4.474e+00 Cl 1.527e+01 9.448e+00 Na 8.079e-01 5.000e-01
SOLUTION 1 units mol/kgw Na 0.5 Cl 16.5 charge Ca 8 Antarcticite 0 END
SOLUTION 1 -water 1 # kg -units mol/kgw K 2 S 1 pH 7 chargeEQUILIBRIUM_PHASES 1 Arcanite 0 100 # 100 molesREACTION_TEMPERATURE 1 -5.0 105.0 in 23 stepsSELECTED_OUTPUT 1 -reset false -file K2SO4.sel -pH true -temperature true -molalities K+ SO4-2 HSO4-
WARNING: Maximum iterations exceeded, 200WARNING: Maximum iterations exceeded, 200WARNING: The program has failed to converge to a numerical solution.The following equations were not satisfied:ERROR: Ca solution phase boundary has not converged. Residual: 1.076634e-01
Elements Molality Moles Ca 7.101e+00 7.101e+00 Equilibrium with Antarcticite Cl 1.470e+01 1.470e+01 Charge balance Na 5.000e-01 5.000e-01
SOLUTION 1 -water 1 # kg -units mol/kgw Mg 1 S 1 pH 7 charge
SOLUTION 1 units mol/kgw Na 0.5 Cl 16.5 Ca 8 EQUILIBRIUM_PHASES 1 Antarcticite 0 0 END
I do not see the problem with the concentration of Na increasing because of loss of water. It is a real effect. What is it that you want to happen? Add water until Na is again 0.5 mol/kgw? Tell me what you think should happen. I assume you expect antarcticite to precipitate; do you not expect water to be lost from solution?
I don't see how it is physically possible. With the sylvite, halite example, if you fix Na and Cl, you also fix the K by charge balance. So you need to let Cl adjust, include another ion, or allow charge imbalance to be able to allow K to be adjusted. Are you willing to allow one of these conditions?
PHASESFix_NaNa+ = Na+log_k 0SOLUTION 1 units mol/kgw Na 0.5 Cl 16.5 Ca 8 ENDUSE solution 1EQUILIBRIUM_PHASESAntarcticite 0 0Fix_Na 2.0 NaCl 10END
SOLUTION 1 units mol/kgw Na 0.5 Cl 16.5 Ca 8 ENDUSE solution 1REACTIONNaCl -10.4 mol in 10 stepsEQUILIBRIUM_PHASESAntarcticite 0 0USER_GRAPH 1 -axis_titles "NaCl removed, mol" "Na, mol/kgw" "" -initial_solutions false -connect_simulations true -plot_concentration_vs x -start10 graph_x rxn20 graph_y TOT("Na") -end -active trueEND