Modeling the temperature-dependent solubility of salts in organic solvents