Modeling the Equilibria of Complex Supramolecular Systems