SOLUTION-units mol/kgwCa 10S(6) 10EQUILIBRIUM_PHASESGypsum 0 0SAVE solution 2END
If you are talking about the mass of water in hydrated minerals, it is accounted for and removed from the solution. The following example precipitates about 10 mol of CaCO3:2H2O, so about 20 mol of H2O are removed from solution. The solution that is saved has only 0.64 kg of water. Code: [Select]SOLUTION-units mol/kgwCa 10S(6) 10EQUILIBRIUM_PHASESGypsum 0 0SAVE solution 2END
-start...x = <some formula>PUT(x)...-endMIX 2H2O -1GET(x) # this is a quantity of reaction added to system(i know that it's not possible to use GET outside BASIC fragments, but this is something a would want to get)
You can write code from Basic and then run it with INCLUDE$. Look at example 8 (and 21).You can also use IPhreeqc in programming languages of PhreeqcCOM in scripting languages (VBA in Excel for example).