Representation of a chemical system of interacting species: Ions and biomolecules in solution, as an example