On the Implementation of Energy Simulators with Emphasis on Chemical Equilibrium Gasifier Models