top of page

29. maj 2025

||

By Humzaa Imtiaz Ullah

Simulating a Mixer in Python

In this tutorial, we walk through a basic example of how to perform a material balance on a mixing tank using Python. This script allows users to enter flow rates and concentrations for two incoming streams, and it calculates both the outlet flow rate and the outlet concentration based on the principles of mass balance.

This example is part of a broader series, and in the video linked below, I explain the code in detail—perfect if you're new to Python or want to understand the logic behind it.

📺 Watch the full video tutorial below.


Here’s the Python code we use in the video:


We are always looking for feedback!
So if you wish to see something added or improved, then do reach out to us!

ChemEnggLife - Main Logo - white background.png

Chemical Engineering Life

ChemEnggLife

Discovering the interesting world of chemical engineering, as told by Chemical engineers themselves.

Quick Links

  • LinkedIn
  • Instagram
  • Facebook

Subscribe and Stay Updated!

©2023 by ChemEnggLife

bottom of page