The development of quantum mechanical solvent effect models. Macroscopic electrostatic contributions