Fermentation Mass Balancing: Part 5 – Worked example

Finally! We’ve done all the waffling about the topic, now we can get straight to it! It’s hard to explain mass balancing with words, so I think working through an example will be the most effective way of explaining a mass balance.

Note: This exercise was taken from Doran’s book: Bioprocess Engineering Principles. I HIGHLY recommend getting this book, it’s basically the bible of bioprocessing. If you want to buy it, click the photo to be taken to the amazon page:

Bioprocess Engineering Principles by Pauline M. Doran: Click on photo to get amazon link!

Continuous Acetic Acid Fermentation

C2H5OH (ethanol) + O2 -> CH3COOH (acetic acid) + H20

The production target is 2kg of acetic acid per hour. However the maximum acetic acid tolerated by cells is 12% mass acetic acid (only 12% of the outlet stream can be acetic acid). Air is pumped into the fermenter at 200gmol per hour.
What minimum amount of ethanol is required?
What minimum amount of water must be used to dilute the output stream to 12% acetic acid?
What is the composition of the outlet gas?

First, lets define the assumptions:

  • Steady state
  • No system leakage
  • 100% conversion of ethanol to acetic acid
  • O2 and ethanol available to all cells
  • Inlet air and outlet gas are dry
  • Feed has the density of water: 1kg/m3
  • Other feed components are negligible
  • Inlet air has composition of 21% O2 and 79% N2

Define mass balance equations:

We know N2 is not involved in any reactions by looking at the chemical equation. So for the total mass of the process and N2:

Mass in = Mass out

We can see from the chemical equation that ethanol and oxygen are converted to water and acetic acid, so the equation for these will be:

Mass in + Mass generated = Mass out + Mass consumed

Define basis:

Since this is a continuous process, we have to decide a point for where we will do the mass balance. To make things more simple, let’s say that we’ll do this mass balance for an hour of fermentation – then we can define the input and output as a constant amount. Also, we should stick to one unit to make it easier to double check our answers. Let’s choose kilograms since the acetic acid is given in kg.

Make a flow sheet

I don’t know why this is important (besides visualising the process) but you will have to do it in your exams, so here is what the flow sheet for this process will look like:

Process flow sheet for continuous acetic acid fermentation (made with draw.io)
Process flow sheet for continuous acetic acid fermentation

Calculations!

Now we know that there is 200gmol of inlet air. As mass = MW x moles, we can find out the mass of the inlet air by determining the mass of O2 and N2. Since we assume the composition of air is 21% O2 and 79% N2, we can find the molar mass:

  • Moles of O2: 21% of 200 = 0.21 x 200 = 42 moles
  • Moles of N2: 79% of 200 = 0.79 x 2oo = 158 moles

To find the mass in grams:

Mass = MW x moles

  • O2: 42 x (16 x 2) = 42 x 32 = 1344g = 1.344kg
  • N2: 98 x (14 x 2) = 158 x 28 = 4424g = 4.424kg

Now that we know the mass of O2 and N2, we can find the total mass of the inlet air:

1.344 + 4.424 = 5.768kg

So the total mass of the inlet air is 5.768kg!

Now, we want 2kg/hr of acetic acid, which is also 12% of the product stream. To find the total weight of the product stream is then just the mass of acetic acid divided by the percentage/100:

Mass of product stream = 2 / (12/100) = 2/ 0.12 = 16.67kg

So now we know the total mass of the product stream. Since we assumed that the rest of the media is negligible, the only other component of the product stream is water. So the mass of water would be:

Total mass – mass of acetic acid = 16.67kg – 2kg = 14.67kg

And voila! Now we know the total mass of 2 streams.

Stoichiometric mass balances

Now lets find the mass of everything in the equations!

We know that there is 2kg of acetic acid. With this and the chemical equation, we can find the masses of every other molecule in the equation.

C2H5OH (ethanol) + O2 -> CH3COOH (acetic acid) + H20

From the chemical equation we can see that for 1 mole of acetic acid produced, there is 1 mole of ethanol and oxygen used and 1 mole of water produced. Lets convert our 2kg of acetic acid in to moles:

2kg = 2000g
Moles = Mass/ MW = 2000g / (12+3+12+16+16+1)
= 2000/ 60 = 33.3 gmol

So for every mole of acetic acid produced, 33.3 moles of ethanol and oxygen are used, and 3.33 moles of water is formed. Let’s convert them into mass:

Mass = Moles x MW

  • Ethanol: 33.3 x 46 = 1582g = 1.582kg
  • Oxygen: 33.3 x 32 = 1065g = 1.065kg
  • Water: 33.3 x 18 = 599.4g = 0.599kg

We know how much water there is in the product stream. So, if 0.599kg of water is produced for 2kg of ethanol, then the water that was added in the feed stream must be the mass of water in the product stream – mass of water produced in the process

14.67kg – 0.599kg = 14.07kg water in feed stream

We also now know the amount of ethanol required to make 2kg of acetic acid. Thus to find the total amount of the feed stream we only need to add the mass of acetic acid and the mass of water in the feed stream together:

14.07 + 1.582 = 15.652kg (total mass of feed stream)

Now for the gas! We know that 1.065kg of oxygen is used to make 2kg of acetic acid. Therefore, to find the amount of oxygen leaving the system (that hasn’t been used), we only need to subtract the oxygen used from the amount of oxygen that entered the reactor in the inlet air:

1.344 – 1.065 = 0.279kg O2 in outlet air

Since nitrogen is not involved in the equation, the mass of nitrogen is the same going in and going out. Therefore the total mass of the outlet gas is:

4.424 + 0.279 = 4.703kg mass of outlet gas

And were done! Lets put it in a table to see if we have filled everything in:

ININOUTOUT
FEED STREAMINLET AIRPRODUCT STREAMOUTLET GAS
WATER14.07X14.67X
ETHANOL1.582X0X
ACETIC ACIDXX2X
OXYGENX1.344X0.279
NITROGEN X4.424X4.424
TOTAL15.6525.76816.674.703

Since the total mass balance for the process is mass in = mass out, we can check if we’ve done our mass balance properly:

Feed stream + inlet air = Product stream + outlet gas
= 15.652 + 5.768 = 16.67 + 4.703
21.4kg = 21.4
kg

Everything adds up!

And thats how you do a mass balance! If you have any questions, please leave a comment and I will get back to you ASAP! Also, I know how difficult it is to understand this, so I will go through more examples in the future since thats the best way to learn mass balances in my opinion. If you have any of your own mass balance problems please let me know so I can go through them!

Fermentation Mass Balancing: Part 4 – Assumptions

In bioprocessing it’s usually difficult to calculate things exactly due to the complexity of biological processes. Therefore we tend to make a lot of assumptions.

In your exams or even at work you will need to put all the assumptions you make when doing a mass balance, so I thought I’d write a list of all the common ones that you can use.

Common Assumptions

  • No system leakage (best assumption!!)
  • Inlet air and outlet gas are dry (liquid does not leave system)
  • Cell broth has density of water: 1kg/m3
  • Complete conversion of input material (nutrients to product)
  • Composition of inlet air is 21% mol O2, 79% N2
  • Mass of cells inoculated at start of process is negligible (mainly for batch processes)
  • CO2 leaves in outlet gas
  • Other media components can be ignored
  • O2 and nutrients are available to all cells (vessel broth is homogenous)

There are probably more examples of assumptions you can make, but these are generally applicable to all processes. If you have any questions or want me to add anything, leave a comment and I will get to it ASAP!

Fermentation Mass Balancing: Part 2 – Rules

In my previous post I explained (briefly) what mass balancing was. Here I will go over the rules and equations used for mass balancing.

Mass Balancing: General equation

The most important equation that covers all aspects of mass balancing is this:

[Mass in + mass generated] – [Mass out + Mass consumed] = Mass accumulated

Pretty self-explanatory, right? Mass in is the amount of what you put into the system, mass generated is the mass of anything generated inside the system, mass out is the mass of what leaves the system, mass consumed is the mass of what is consumed in the reactor and mass accumulated is the mass of anything that is still inside the system.
This equation can apply to the whole unit operation (the mass of everything all together) or to individual components (water, nutrients, product).

However, depending on the type of process or material you have, you can simplify the equation.

Change in Process variables

A fermentation can be split into 2 states:

  • Steady state: In this state, process variables do not change with time. This means that there is also no change in mass for each component over time. This state generally applies to continuous fermentation, where input, output and the system are the same over time.
  • Unsteady state: Process variables change over time. This is the case for batch or semi-batch operations, where material is not added or removed from the reactor at a constant rate. Due to this, the mass of different components may differ at different stages of the fermentation.

Depending on the state of the process, the mass balance equation will change!

Mass Balance: Simplified equations

Steady state

Since mass does not change over time, there is no accumulation of mass within the reactor/ system. Therefore, the equation can be simplified to these terms:

Mass in + Mass generated = Mass out + Mass consumed

If there are no reactions occurring in a steady state process, meaning the molecules in that component do not interact with each other (i.e. cell mass), there is no mass generated or consumed. Then, the equation can further be simplified to:

Mass in = Mass out

Both these equations can be applied to either the process as a whole (if the above is applicable) or to individual components.

Unsteady state

In an unsteady state process, we should use the general equation. However, we tend to assume (at least at the bachelor degree level) there is no accumulation by assuming total conversion of input to output. Why? This is simpler, and in a batch or semi-batch process the unconverted nutrients tends to be a very small value. We also only do a mass balance of the whole process, not random time points, since this is more useful and much easier.

Therefore, if we assume no accumulation:

Mass in + Mass generated = Mass out + Mass consumed

No reaction

For some components of the process, there is no reaction occurring between them and other components, resulting in no accumulation, generation or consumption. This applies to elements (hydrogen, oxygen, nitrogen) since they can’t be broken down. It can also apply to other components but always double check that they aren’t reactive! In this case, the amount entering should be the same as the amount leaving, in which case:

Mass in = Mass out

Overall process

Mass cannot be created or destroyed, it can only be transferred. Because of this, for the whole process, regardless of whether its steady, unsteady, batch or continuous, the mass of everything entering the reactor will always be the same as the mass of everything leaving the reactor. This is because reactors are closed systems, and do not allow free exchange of mass in or out of the vessel. Therefore, the mass balance for the whole process will be:

MASS IN = MASS OUT



Those are all the rules! My advice would be to use the general equation for each component, and if there is no accumulation/ consumption / generation, just cross them out of the equation. Usually though, the only equations you need are:

MASS IN = MASS OUT

for components with no reaction, and

MASS IN + MASS GENERATED = MASS OUT + MASS CONSUMED


for components with reactions

If you want to know whether you can use the mass in = mass out equation, you can use this guide:

Does mass in = mass out?

Material

Without reaction With reaction
Total mass Yes   Yes
Total number of moles
Yes  

No
Mass of the total amount of molecules
Yes

No

Number of moles of a molecule
Yes No
Mass of an element Yes Yes
Number of moles of an element Yes Yes

This is complicated and hard to explain with words, so I will do some working out of example questions in later posts to help you understand it better. However, if you have any questions about these rules, please leave a comment and I will get back to you ASAP!

Fermentation mass balancing: Part 1 – Intro

Mass balancing is a fundamental part of bioprocessing that is used to determine the amount of a component coming in or out of a system. A process stream is usually made up of multiple components. For example, feed entering the reactor will contain nutrients, water, growth hormones, etc. whilst the stream leaving the reactor will contain product, cells, waste (ammonia, carbon dioxide) and many other components!

We want to know how much of each component is entering, leaving or inside the reactor or system so that we can characterise the process and understand it better. However, with so many reactions occurring in biological processes, we won’t always know how much of each component there is off the top of our head! This is where mass balancing comes in.

Mass balancing is the calculation of what is going in or out of the system based on what information we have. For example, if we know x amount of cells and x amount of feed are going into the reactor, what is the amount of product and waste produced?
Remember: we need to know one side of the equation (in or out) to figure out the other!

In broader terms, mass balances refer to the balancing of mass going in and out of a system. A system can be anything that has a clearly defined boundary that separates it from the external environment. For example, a cell has a cell membrane, a water bottle has plastic walls, a bioreactor has metal walls. There are 3 main types of systems:

  • Open: Allows energy and matter exchange freely with external environment
  • Closed: Only allows energy exchange freely with external environment
  • Isolated: Does not allow energy or matter exchange with external environment

In most bioprocesses, the system (bioreactor) is closed – matter cannot be exchanged freely with the surroundings. When matter is exchanged in the reactor, it is because we intentionally add or remove components.

a simple diagram of a system. things go in, things come out.
A simple diagram of a system.

Remember: matter cannot disappear! It can only be transferred. Therefore when we add a component to a system we expect to either stay in the system, come out or be transformed into another component.

Now that we know what mass balances are, lets move on to how to do them! If this post wasn’t clear, please leave a comment and I will try to explain it in simpler terms.

Sterilisation: Quick Intro

This is a quick introduction to sterilisation. We will go through this sterilisation in more detail in its own post, but since it is quite complicated this will just be a brief explanation so you understand the concept.

What is sterilisation?

Sterilisation is the removal or prevention of contamination at any point throughout the process.

Why do we need sterilisation?

Contamination is a big no-no in the industry. If your cell culture is contaminated, you must discard it. This is because contaminants can cause danger to the end user of the product. If your product is contaminated with bacteria and someone ingests/ injects it, they could get seriously sick. Therefore regulatory bodies require that there is no contamination present at any point of the process. Also, contaminants can compete with your cell line for nutrients and oxygen in the broth, which will reduce cell numbers, and could stop production of your product.

Levels of sterilisation required

  • No sterilisation: Process does not need to be sterile. This is mainly for processes that do not create a product that will be ingested i.e. Waste water treatment.
  • Protected fermentation: For processes that require some degree of sterility but do not tend to get contaminated if treated properly i.e. disinfection of needles, pasteurisation of milk.
  • Unprotected fermentation: Require a high degree of sterility due to high likelihood of contamination if exposed to the external environment. This goes for bioprocesses that grow cells in media since media contains many components (nutrients, oxygen, etc.) that are highly favourable by contaminants i.e. bacteria.

Examples of contaminants

  • Bacteria
  • Viruses
  • Mycoplasm
  • Fungi

How do you avoid contamination?

Bioreactors usually operate as closed systems, meaning they do not exchange any material with the environment around it. Here are some methods of preventing contamination in reactors:

  • Sterilise the reactor and any ancillary equipment (parts that you attach to the reactor)
  • Sterilise whatever is going into the reactor (air, buffers, media, nutrients, etc.)
  • Introduce a pure inoculate (cell culture) and feed. Before introducing the cells into the reactor make sure they are not contaminated (using a viable cell count to detect unusual growth). The feed should also be sterilised before introducing it to the reactor.
  • Maintain an aseptic operation. Make sure the bioreactor is properly sealed and there are no cracks or holes that expose it to the external environment.

Methods of sterilisation

Inactivation/ killing of viable microbes

This can be done by:

  • Heat treatment (heating the components to a high temperature to kill contaminants)
  • Irradiation
  • Chemical treatment (using strong chemicals i.e. disinfectants to kill contaminants)

Physical Removal of microbes

  • This can be done using filtration or centrifugation.

If you have any questions, please leave a comment below and I will get back to you ASAP!

Bioreactor requirements

What does a bioreactor need to do?

In order to successfully expand cells without any trouble, a reactor must meet these requirements:

  • Operate aseptically: The reactor must be sealed and sterilised so that contamination will not occur during the process. This is important as contaminants not only compete with your cells for nutrients but also can harm your customer if it is in the final product. Contaminated cell cultures must be discarded according to regulatory bodies.
  • Agitate and aerate effectively: Cells need oxygen to survive, hence effective aeration is needed. Effectively agitated broths produce homogeneous flow: where all the liquid has the same concentrations of oxygen, nutrients, pH buffer, etc. This is important as we want all cells to be exposed to the same conditions so that they grow and proliferate in the same way e.g. if a region of the liquid has too little oxygen all the cells in that region will die.
  • Control: We must be able to control the conditions in the reactor (temperature, pH, air flow rate) not only so that the cells are growing in conditions we know optimise survival and growth, but to ensure that we have an idea of what conditions the cells are in and therefore predict how are cells will proliferate and grow.
  • Minimise evaporation: We don’t want the liquid in the reactor evaporating since it contains cells and useful nutrients. Evaporation also means that our predictions of what is happening inside the reactor won’t be accurate.
  • Allow monitoring/ sampling: So that we can analyse and understand what is happening in the culture.
  • Minimise labour: More labour = more staff. Staff cost money!
  • Maximise computer control: Also to reduce cost of staff. Automation can also reduce human error.
  • Geometric similarity for scale-up: The reactor dimensions (i.e. height of vessel to diameter of vessel ratio, number of impellers, impeller diameter to vessel diameter etc. ) affect the conditions inside the reactor and thus cell growth. Therefore it is much simpler to scale-up cell expansion by maintaining the same reactor dimensions throughout upstream processing.
  • Flexible operation: In case of reactor failure, change of cell culture, fermentation modes or reactor types (see Fermentation modes and Types of reactors), a process must be flexible and allow easy changes. One example is to increase the number of reactors you have.

If you have any questions, please leave a comment below and I will get back to you as soon as possible!

What is upstream processing?

Textbook definition: Upstream processing refers to the stage of bioprocessing where cells are grown to the desired quantity in bioreactors, and all stages related to this such as cell isolation, cell cultivation, media preparation, cell banking & storage to culture expansion until harvest.

Basically, upstream processing is everything related to mass-production of the cells and product. 

A simple diagram of the upstream process stage of a bioprocess.
  • Innoculation: Introduction of the cells to media to initiate cell expansion.
  • Cell expansion: Increasing the amount of cells by scaling up the process.

Upstream processing is important as in order to make a scientific breakthrough into a product on the market it must be able to made in large quantities at a low cost.

As cells are living organisms, designing an upstream process is complex and many factors must be taken into account, i.e. oxygen dispersion, shear sensitivity of the cells, nutrient concentrations, etc. We will go through all of these factors in later posts. Due to the cells complex nature it is usually necessary to start the process at a small-scale and then increase the size of the vessel in increments.

Ensuring the cells produce the desired amount of product is also a part of upstream processing, but we will put the genetic engineering sections in our “Everything you need to know about cells” category as it seems more relevant to cells, and instead focus on optimising upstream conditions to maximise product synthesis. 

Design a site like this with WordPress.com
Get started