docs: def getChemicalPotential(self, solution):
          """Call solver in order to calculate chemical potential.
          """
          if isinstance(solution, Solution):
              solution = solution.getSolution()
  
          self.mu = self.solver.chemicalPotential(solution)
          return self.mu