Skip to main content

Model your TFF process

A guided workflow for building a TFF model that predicts process performance like permeate flux, product concentration and buffer exchange from your membrane, product and buffer characteristics, so engineers and scientists can replicate a TFF process virtually and improve it.

TFF modelling in Novasign Studio

The tangential flow filtration (TFF) model workflow in Novasign Studio is the framework you build your TFF model in, covering batch, fed-batch and continuous concentration, batch and constant-volume diafiltration, and recovery. You bring the run data you already have, the workflow walks you through describing the membrane and the dissolved components, and the model applies to a product from any modality.

Once the model is trained you can run scenarios in silico, conditions that have never been run on a membrane, and see how the process would have behaved. From there the model suggests which conditions are worth testing next and which setpoints, buffer volumes and excipient concentrations move you towards the objective you are optimizing for, and decide which of them are worth performing.

You define the model once and retrain it on every new experiment, from early development across scale-up to manufacturing.

The supported operations

The workflow describes every operation a TFF step is built from with the same handful of concepts: the membrane, the molecules in the feed and the buffers that are added. What changes between a concentration and a buffer exchange is which buffers are added, and the way you describe the membrane stays the same.

Concentration, diafiltration and recovery phases define the TFF process, and every one of them can be defined in the model, optimized and used for what-if scenarios to improve the process.

Batch concentration

What it does
Retains the product while volume leaves as permeate
How it is described
A recirculating feed and a permeate outflow

Fed-batch concentration

What it does
Processes more volume than the retentate vessel holds at once
How it is described
The same, plus an unconcentrated load as a second inflow

Continuous concentration

What it does
Holds the retentate at a steady concentration while feed enters
How it is described
A feed inflow with a permeate and a bleed on the way out

Diafiltration

What it does
Exchanges the buffer around the product
How it is described
A diafiltration-buffer inflow against the permeate, at constant volume or in batches

Recovery

What it does
Retrieves the product left in the system at the end
How it is described
A flush inflow and the recovered retentate as its own outflow

Every component is defined with its own rejection coefficient, from fully retained to freely passing, so the same balance that concentrates a product also lets a salt through. Contact Novasign if your operation is not mentioned.

Generating the data

In TFF the experiment is part of the modelling method, which saves a significant amount of time. A TFF model trains on concentration-diafiltration-concentration (C-D-C) runs, the ones where the process parameters are held at their setpoints while the retentate concentrates, and if you already have those it will use them. Each experiment allows the model to learn the influence of one set of conditions. This can be improved so that one experiment provides information about multiple conditions.

The recurrent nature of TFF opens a shorter route. The retentate and the permeate can be returned to the vessel, so the retentate concentration stays constant. That makes the material attributes and the process parameters controllable, and the data can be screened exactly where it is needed: transmembrane pressure and feed flow move across the full range the device, the membrane and the product quality allow, inside a single run. Because the parameters move together rather than one at a time, what comes out is a design space that takes interactions into account.

That is an intensified design of experiments, and it is the default way Novasign Studio operates in TFF modelling. Training data is collected in hours instead of over several days, and the resulting model has already seen the conditions a production run can reach.

Setting up the TFF model

Setup has two halves, your TFF process and the machine learning.

In the words you already use

Each half keeps its own vocabulary: process parameters and quality attributes for your process, loss functions and checkpoints for the machine learning.

The bioprocess side: parameters, components and buffers

Whichever controller software your runs were recorded with, the data can come in. Exports from Repligen and Cytiva systems come in as CSV or Parquet files, a Qubicon system connects directly, and custom-built infrastructure connects through the custom-code node. Historian exports come in as CSV or Parquet files.

Raw process data rarely arrives ready to model, which is why data processing is part of Novasign Studio in its own right: the dataframe nodes that clean and align a run work in the same workflow. What matters for the user is that the processing is reusable. You set it up once and it runs again on the next run, the same way the TFF model does.

The setup then walks you through your process.

TFF Model
1

Initial configuration

The volume the retentate starts at, the membrane area, the time base, and the run IDs that separate one run from the next.

2

Process parameters

The parameters that are recorded and actively set during the run, and that the model should account for: transmembrane pressure, feed flow and feed pressure, among others.

3

Components

Everything that is in the system or can enter it, whether present at the start, added later or accumulating over the process. Set the product, aggregates, host-cell protein and buffer salts and define your material attributes and quality attributes, each with its rejection coefficient.

4

Buffers

Every buffer and flow into or out of the system that was recorded: the diafiltration buffer during buffer exchange and the unconcentrated load during a fed-batch concentration on the way in, the permeate, a bleed and sampling on the way out.

Every column is defined with its unit, bar, mL/min or min, so the mass balances stay dimensionally consistent and nobody has to rescale a column by hand to make them add up.

The machine learning side: model training, tuning and selection

Trials save checkpoints as they train, and the model you carry forward is selected from them, as for every Studio model.

  1. 1

    Train

    Training fits the model to your data, with defaults tuned for TFF processes rather than for machine learning in general.

  2. 2

    Tune

    Tick tunable next to a setting and the tuner sweeps it in one pass instead of one candidate at a time.

  3. 3

    Select

    The selector chooses between the candidates, automatically in most cases or against criteria of your own.

Model Selector

Running simulations and the digital twin

With a trained model you can simulate runs that were not performed. The digital twin takes the trained TFF model, adds a simulation configuration, and returns time-resolved simulations of everything the model was trained on: the process parameters, the product and excipient concentrations, and the quality attributes, whether that is the time-resolved prediction of relevant parameters in a C-D-C process or the time the entire process takes, so you can reduce time in the lab.

What you ask the digital twin for

Which question you put to the twin depends on the phase of the lifecycle the process is in.

  • Screening

    Do this membrane and these process parameters influence the process at all?

    Vary them across the space and watch what the flux, the concentration and the critical quality attributes do. A parameter that moves nothing is one fewer to characterize.

  • Optimization

    Which conditions give the best performance at acceptable quality?

    State the objective and the ranges to optimize within, and run the simulations inside that space. Every in-silico run can be read in a table or a chart. The visualizations and statistics show you which experiments are worth performing. Once the model has earned your trust, the workflow proposes the next set of experiments for you.

  • Characterization

    How robust is the process inside its design space?

    Restrict the acceptable ranges of your critical quality attributes and what remains is a design space. Vary the process inputs inside it, and how much the outputs move is your answer on robustness.

  • Scale-up

    Which conditions are suitable for the move to a larger system?

    Of the conditions that give acceptable results at lab scale, which ones are technically possible at scale, using the membrane and system characteristics of each scale?

Configuring a simulation

A simulation adds the initial state of the system and the phases of the process to what the trained model already knows.

The initial state is the volume and the concentrations the retentate starts at. Changing it is how you simulate a different scale or a different starting material.

A phase is a section of the TFF process, and which ones you have depends on the objective: a batch concentration on its own; a continuous concentration; concentration, diafiltration and concentration when the buffer has to be exchanged as well; a fed-batch concentration when there is more volume than the vessel holds; and a recovery phase at the end. Each phase is defined by three things.

1

Process parameters

Every phase has its own set of setpoints.

2

Buffers

The inflows are the diafiltration buffer during buffer exchange and the unconcentrated load during a fed-batch concentration. The outflows are the permeate, a bleed or a sampling stream.

3

Stop criterion

A time, a volume or a target concentration. The first to fire ends the phase and starts the next.

TFF Process Simulator

The common process setups are preconfigured, so a standard concentration and buffer exchange is a matter of picking one, while a sequence that was not executed in the lab can be built up from scratch, phase by phase.

Generating the in-silico runs

The digital twin lets you run the process in silico for a new set of inputs.

The example below is a set of C-D-C runs of one process in which transmembrane pressure, feed flow and the diafiltration concentration were varied systematically. Move the sliders and the twin shows the protein concentration, the permeate flux, the diavolumes exchanged and the retentate volume for each condition, over the time that run takes.

TFF Use Case

Simulation inputs

2 bar
500 LMH
90 g/L

Transmembrane pressure (bar) 2 bar; Feed flow (LMH) 500 LMH; Diafiltration concentration (g/L) 90 g/L; Protein concentration at the end of the run 141.34 g/L at 175 min; Retentate volume at the end of the run 0.058 L at 175 min

Predicted value

  • Protein concentration

    141.34 g/L

    at the end of the run · at 175 min

  • Retentate volume

    0.058 L

    at the end of the run · at 175 min

The runs are Novasign’s own, from its internal TFF modelling work, and the figure was built by Novasign.

The same simulation can be read at the end of the process. The process optimizer shows the time to the final concentration across transmembrane pressure and feed flow, one diafiltration concentration at a time, marks the shortest time inside that slice and plots how that shortest time changes across every diafiltration concentration. Once the protein is concentrated far enough for a gel layer to form on the membrane, the flux drops, so the shortest time, 161 minutes, sits at a diafiltration concentration of 80 g/L and not at the top of the range. Which condition you run is yours.

Process Optimizer

Simulation inputs

77.5 g/L

Shortest process time

161.1 min

shortest inside the current diafiltration concentration

Diafiltration concentration
77.5 g/L
Transmembrane pressure
2.5 bar
Feed flow
600 LMH

Shortest process time per diafiltration concentration

A grid of process time in minutes from a TFF simulation, over 16 transmembrane pressures from 1 to 2.5 bar and 16 feed flows from 300 to 600 LMH, for the diafiltration concentration chosen on a slider. Blue cells are shorter processes and red cells longer ones. 1585 of the 7936 cells, at low pressure and feed flow, do not reach the final concentration inside the 500-minute horizon and are shown at 500 minutes. A readout gives the shortest process time inside the current diafiltration concentration with the transmembrane pressure and feed flow it is reached at, and the grid marks that cell. A second plot gives the shortest process time for every diafiltration concentration: 190.1 minutes at 40 grams per litre, falling to 161 minutes at 80 grams per litre and rising again to 174.7 minutes at 115 grams per litre, with the current diafiltration concentration marked. Shortest process time: Process time 161.10 min, shortest inside the current diafiltration concentration.
Process time and the current diafiltration concentrationProcess time 161.1–500 min; Shortest process time 161.10 min; Transmembrane pressure 2.5 bar, Feed flow 600 LMH
Shortest process time per diafiltration concentration, Diafiltration concentration 40 g/L190.1 min
Shortest process time per diafiltration concentration, Diafiltration concentration 42.5 g/L185.1 min
Shortest process time per diafiltration concentration, Diafiltration concentration 45 g/L181.5 min
Shortest process time per diafiltration concentration, Diafiltration concentration 47.5 g/L178.3 min
Shortest process time per diafiltration concentration, Diafiltration concentration 50 g/L175 min
Shortest process time per diafiltration concentration, Diafiltration concentration 52.5 g/L172.1 min
Shortest process time per diafiltration concentration, Diafiltration concentration 55 g/L169.8 min
Shortest process time per diafiltration concentration, Diafiltration concentration 57.5 g/L168.2 min
Shortest process time per diafiltration concentration, Diafiltration concentration 60 g/L166.9 min
Shortest process time per diafiltration concentration, Diafiltration concentration 62.5 g/L165.7 min
Shortest process time per diafiltration concentration, Diafiltration concentration 65 g/L164.6 min
Shortest process time per diafiltration concentration, Diafiltration concentration 67.5 g/L163.6 min
Shortest process time per diafiltration concentration, Diafiltration concentration 70 g/L162.7 min
Shortest process time per diafiltration concentration, Diafiltration concentration 72.5 g/L161.9 min
Shortest process time per diafiltration concentration, Diafiltration concentration 75 g/L161.3 min
Shortest process time per diafiltration concentration, Diafiltration concentration 77.5 g/L161.1 min
Shortest process time per diafiltration concentration, Diafiltration concentration 80 g/L161 min
Shortest process time per diafiltration concentration, Diafiltration concentration 82.5 g/L161.1 min
Shortest process time per diafiltration concentration, Diafiltration concentration 85 g/L161.2 min
Shortest process time per diafiltration concentration, Diafiltration concentration 87.5 g/L161.6 min
Shortest process time per diafiltration concentration, Diafiltration concentration 90 g/L162.3 min
Shortest process time per diafiltration concentration, Diafiltration concentration 92.5 g/L162.9 min
Shortest process time per diafiltration concentration, Diafiltration concentration 95 g/L163.6 min
Shortest process time per diafiltration concentration, Diafiltration concentration 97.5 g/L164.3 min
Shortest process time per diafiltration concentration, Diafiltration concentration 100 g/L165.3 min
Shortest process time per diafiltration concentration, Diafiltration concentration 102.5 g/L166.3 min
Shortest process time per diafiltration concentration, Diafiltration concentration 105 g/L167.3 min
Shortest process time per diafiltration concentration, Diafiltration concentration 107.5 g/L168.8 min
Shortest process time per diafiltration concentration, Diafiltration concentration 110 g/L170.6 min
Shortest process time per diafiltration concentration, Diafiltration concentration 112.5 g/L172.6 min
Shortest process time per diafiltration concentration, Diafiltration concentration 115 g/L174.7 min

Bring one membrane and one run. Leave with conditions you can set.

Bring the TFF step you are developing and the membrane you are developing it on. We design the first experiment with your team, run it, and build the model with you in Novasign Studio, so what comes out is a digital twin of your own process. From there the workflow is yours: design the next experiment, retrain on it and run the simulations, with us alongside for as long as needed, or on your own from the first run. Not a standard unit? Scientific modelling models it with you.