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.
| What it does | How it is described | |
|---|---|---|
| Batch concentration | Retains the product while volume leaves as permeate | A recirculating feed and a permeate outflow |
| Fed-batch concentration | Processes more volume than the retentate vessel holds at once | The same, plus an unconcentrated load as a second inflow |
| Continuous concentration | Holds the retentate at a steady concentration while feed enters | A feed inflow with a permeate and a bleed on the way out |
| Diafiltration | Exchanges the buffer around the product | A diafiltration-buffer inflow against the permeate, at constant volume or in batches |
| Recovery | Retrieves the product left in the system at the end | A flush inflow and the recovered retentate as its own outflow |
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.
- 1General
- 2Process Parameters
- 3Components
- 4Buffers
- 5Trainer
- 6Tuner
- 7Training Preview
Define a species of the filtration process: the retained product, or a permeating species exchanged through the membrane. Every component reads its own measured dataset column.
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.
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.
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.
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
Train
Training fits the model to your data, with defaults tuned for TFF processes rather than for machine learning in general.
- 2
Tune
Tick tunable next to a setting and the tuner sweeps it in one pass instead of one candidate at a time.
- 3
Select
The selector chooses between the candidates, automatically in most cases or against criteria of your own.
Execution mode: automatic. The saved rules select checkpoints at run time.
| Trial | Epoch | Checkpoint | Artifact path |
|---|---|---|---|
| 76e35aa0 | 99 | epoch_99 | checkpoints/epoch_99 |
| 25c100d4 | 21 | epoch_21 | checkpoints/epoch_21 |
| 25c100d4 | 20 | epoch_20 | checkpoints/epoch_20 |
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.
Process parameters
Every phase has its own set of setpoints.
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.
Stop criterion
A time, a volume or a target concentration. The first to fire ends the phase and starts the next.
- 1Process Parameters
- 2Components
- 3Buffers
- 4Initial Conditions
- 5Phases
- 6Sweep Space
- 7Simulation Preview
Variables marked in the previous steps span the sweep space; one simulation run is built per combination.
- 1Phase 2 · Transmembrane pressure (bar)Sweep variableSampling methodListValues1, 1.5, 2, 2.5
- 2Phase 2 · Feed flow (LMH)Sweep variableSampling methodRangeMin300Max600Step100
- 3Phase 1 · Stop concentration (g/L)Sweep variableSampling methodUniform distributionMin40Max115Levels4
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.
Simulation inputs
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.
Simulation inputs
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
| Process time and the current diafiltration concentration | Process 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/L | 190.1 min |
| Shortest process time per diafiltration concentration, Diafiltration concentration 42.5 g/L | 185.1 min |
| Shortest process time per diafiltration concentration, Diafiltration concentration 45 g/L | 181.5 min |
| Shortest process time per diafiltration concentration, Diafiltration concentration 47.5 g/L | 178.3 min |
| Shortest process time per diafiltration concentration, Diafiltration concentration 50 g/L | 175 min |
| Shortest process time per diafiltration concentration, Diafiltration concentration 52.5 g/L | 172.1 min |
| Shortest process time per diafiltration concentration, Diafiltration concentration 55 g/L | 169.8 min |
| Shortest process time per diafiltration concentration, Diafiltration concentration 57.5 g/L | 168.2 min |
| Shortest process time per diafiltration concentration, Diafiltration concentration 60 g/L | 166.9 min |
| Shortest process time per diafiltration concentration, Diafiltration concentration 62.5 g/L | 165.7 min |
| Shortest process time per diafiltration concentration, Diafiltration concentration 65 g/L | 164.6 min |
| Shortest process time per diafiltration concentration, Diafiltration concentration 67.5 g/L | 163.6 min |
| Shortest process time per diafiltration concentration, Diafiltration concentration 70 g/L | 162.7 min |
| Shortest process time per diafiltration concentration, Diafiltration concentration 72.5 g/L | 161.9 min |
| Shortest process time per diafiltration concentration, Diafiltration concentration 75 g/L | 161.3 min |
| Shortest process time per diafiltration concentration, Diafiltration concentration 77.5 g/L | 161.1 min |
| Shortest process time per diafiltration concentration, Diafiltration concentration 80 g/L | 161 min |
| Shortest process time per diafiltration concentration, Diafiltration concentration 82.5 g/L | 161.1 min |
| Shortest process time per diafiltration concentration, Diafiltration concentration 85 g/L | 161.2 min |
| Shortest process time per diafiltration concentration, Diafiltration concentration 87.5 g/L | 161.6 min |
| Shortest process time per diafiltration concentration, Diafiltration concentration 90 g/L | 162.3 min |
| Shortest process time per diafiltration concentration, Diafiltration concentration 92.5 g/L | 162.9 min |
| Shortest process time per diafiltration concentration, Diafiltration concentration 95 g/L | 163.6 min |
| Shortest process time per diafiltration concentration, Diafiltration concentration 97.5 g/L | 164.3 min |
| Shortest process time per diafiltration concentration, Diafiltration concentration 100 g/L | 165.3 min |
| Shortest process time per diafiltration concentration, Diafiltration concentration 102.5 g/L | 166.3 min |
| Shortest process time per diafiltration concentration, Diafiltration concentration 105 g/L | 167.3 min |
| Shortest process time per diafiltration concentration, Diafiltration concentration 107.5 g/L | 168.8 min |
| Shortest process time per diafiltration concentration, Diafiltration concentration 110 g/L | 170.6 min |
| Shortest process time per diafiltration concentration, Diafiltration concentration 112.5 g/L | 172.6 min |
| Shortest process time per diafiltration concentration, Diafiltration concentration 115 g/L | 174.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.
The filtration work behind this page
UF/DF and continuous ultrafiltration, modelled and published.
BioprocessBioprocess DevelopmentApr 3, 2025Hybrid Modeling Meets Filtration: Optimizing UF and DF in Monoclonal Antibody Processing
Producing monoclonal antibodies often involves the challenge of balancing high protein concentrations with the risk of membrane fouling or poor recovery. Our innovative workflow captures detailed experimental data from a single experiment to characterize key variables like membrane behavior and…
BioprocessDec 13, 2021How to predict continuous ultrafiltration from batch experiments
Process development for continuous downstream processes is often performed in batch mode. The mode and process conditions, however, might not resemble the true continuous conditions. This is especially relevant for filtration processes where process knowledge such as membrane material, membrane…
BioprocessMay 27, 2020Hybrid Models facilitate Scale-Up and Digital Twins for tangential flow filtration
The benefits of bioprocess modeling are well known: