Pourbaix diagram framework, and ion type for storing ions.