Zachary W. Huang

Home Projects Blog Guides Resume

A Chemical Equilibrium Simulator

The code can be found here

One day, while in AP Chemistry, I decided to write a simulator for chemical equilibrium in Python.

My goals:

  • to apply my knowledge of chemical equilibrium (forward/backward reactions & Le Chatelier’s Principle)
  • to generate nice-looking plots


As seen above, increasing the amount of product (at t=30) shifts the equilibrium from the product (C) towards the reactants (A & B).
RSS icon github logo linkedin logo

Zachary W. Huang © 2021-2024