# Software to predict equilibrium products in the ideal gas phase

I'm interested in software packages that can answer the following kind of question:

• If I mix 30mol% $$N_2$$ and 70mol% $$H_2$$ together at 2 bar and 2000C, what is the equilibrium composition after all reactions have reached equilibrium. Assume all reactants and products are ideal gases.

This is a relatively straightforward calculation. All that is required is knowledge of standard Gibbs Free Energies of formation and specific heat capacities for each species which may be formed. Of course, the challenge is guessing which species may be formed - here an obvious candidate is $$NH_3$$, but it is certainly possible that the formation of other species could lead to a lower value of the Gibbs Free Energy. A software package with a large database of standard Gibbs Free Energies and ideal gas heat capacities would be very useful here - you could simply select to search over all chemicals which you suspect may be formed, or instead you could minimise the Gibbs Free energy over 'all substances in the database' (at least those composed of the available chemical elements - $$N$$ and $$H$$ in this case.)

Does anyone know of any software packages (open source or otherwise) which could do these calculations?

• You mean 2 thousand Celsius degrees? That's pretty high, but I don't think things like NH could be favorable at such pressure. Sep 17 '19 at 18:32
• The CALPHAD community has various thermodynamics programs such as ThermCalc and Pandas that do this sort of thing. It mainly depends on what databases you have available. Sep 17 '19 at 19:00