Input (grade 10): is the number of particles of type i in the system and is the chemical potential for an i-type particle.
Output (grade 5): is the number of particles of type i in the system.