To use the Phosphate data base in GEMS-PSI package, please download it to your hard disk and perform the following steps:

    
Unzip the downloaded zip file (contains a directory named "phosphate") into a temporary directory, e.g. as /Tempfiles/phosphate
    
Find where you have GEMS installed (on Windows, usually under C:\Users\"your name"\GEMS3\Gems3-app\Resources\DB.default).  
Under Linux, this may need a root password.
   
Close GEMS. Copy all files from /Tempfiles/phosphate into the DB.default directory.
 
Start GEMS and create a new project. In the "Selection of Independent Components..." dialog, turn on "Kernel(Nagra-PSI)" , "phosphate" and "Cemdata18" 
This will link the phosphate database files as a specific extension to the kernel PSI database. The phosphate database is fully compatible with Cemdata18, Zeolite21 and the PSI TDB.

 
Reference and further details to the magnesium phosphate data:
1.	Lothenbach, B., Xu, B., Winnefeld, F. (2019) Thermodynamic data for magnesium (potassium) phosphates. Applied Geochemistry, 111, 104450
2.	Xu, B., Lothenbach, B., Winnefeld, F. (2020) Influence of wollastonite on hydration and properties of magnesium potassium phosphate cements, Cement and Concrete Research, 131, 106012 
3.	Xu, B., Winnefeld, F., Lothenbach, B. (2021) Effect of temperature curing on properties and hydration of wollastonite blended magnesium potassium phosphate cements. Cement and Concrete Research, 142, 106370
4.	Xu, B., Winnefeld, F., Ma, B., Rentsch, D., Lothenbach, B. (2022) Influence of aluminum sulfate on properties and hydration of magnesium potassium phosphate cements, Cement and Concrete Research, 156, 106788
(note that two typing error in the Gibbs free energy had occured in the paper, which were corrected in the database: Gf(CaAlH(PO4)2 6H2O) = -4754.3 kJ/mol;  Gf(amorphous AlPO4 2H2O) = -2112.0 kJ/mol)  

version 1.0: 06-04-2020
version 1.01: 27-05-2020, incompatibility (referencing Lothenbach_ea:2019:pap) with Cemdata18 removed
version 1.02: 08-06-2022, update Ca-phosphate data (Xu ea 2021), addition of Al-phosphate data (Xu_ea 2022), correction of typing errors for Gf(CaAlH(PO4)2 6H2O) and Gf(amorphous AlPO4 2H2O)
	      23-07-2022: update solubility MgKPO4⋅H2O to log K = 10.75, based on Xu ea (2021)
 	      27-10-2022: correcting reaction definition for HAP (was wrong in version from 08-06-2022 and 23-07-2022)
	      22-06-2023: correcting reaction definition of CaK3H(PO4)2 (was wrong in version from 27-10-2022)


