In this section, we discuss the basic theory that forms the foundation of our microgel model. First, we discuss the cell model approximation that allows us to reduce the many-body problem of a microgel suspension to a single microgel. Afterwards, we shortly recall the equilibrium theory of acid and base reactions.