Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Fit Column Transport Parameters

Fit Column Transport Parameters

When characterizing a chromatographic system column, some parameters of the model can be directly measured (e.g. column length, diameter) or are provided by the resin manufacturer (e.g. particle radius). However, other transport parameters like axial dispersion and porosities need to be determined through experiments.

One approach to determine these parameters is the inverse method. By adjusting the values of the parameters in the simulation model and comparing the resulting behavior to the experimental data, the optimal parameter values that match the observed behavior can be found.

Fit Bed Porosity and Axial Dispersion

The bed porosity is an important parameter that describes the fraction of the column volume that is available for fluid flow. Axial dispersion is a transport parameter that describes the spreading of a solute or tracer as it moves through a chromatographic system column along the length of the column. It occurs due to differences in velocity between different layers of the fluid, leading to radial mixing of the fluid and the solutes.

To determine the value of these parameters, an experiment is conducted using a non-pore-penetrating, non-binding tracer. The tracer is injected into the column and its concentration at the column outlet is measured and compared to the concentration predicted by simulation results.

<Figure size 354.331x236.22 with 1 Axes>

Reference Model

To accurately model a chromatographic system, it is crucial to establish a reference model that closely resembles the real system. The reference model allows for the determination of parameter influences and optimization of their values. Arbitrary values can be set for the unknown parameters such as bed_porosity and axial_dispersion, since they will be optimized. In order to model that the non-penetrating tracer does in fact not enter the pore, the film_diffusion needs to be set to 0. Moreover, particle_porosity will be determined using a separate experiment.

Event(name=eluent_off, parameter_path=flow_sheet.eluent.flow_rate, state=0, time=0.0, indices=[(slice(None, None, None),)])

Simulator

Comparator

Optimization Problem

Optimizer

Run Optimization

==========================================================
n_gen  |  n_eval  | n_nds  |      eps      |   indicator  
==========================================================
     1 |       32 |      1 |             - |             -
     2 |       64 |      1 |  0.0035367475 |         ideal
     3 |       96 |      1 |  0.1247938808 |         ideal
     4 |      128 |      1 |  0.0198576758 |         ideal
     5 |      160 |      1 |  0.0353013507 |         ideal
     6 |      192 |      1 |  0.0023468341 |             f
     7 |      224 |      1 |  0.0064823609 |         ideal
     8 |      256 |      1 |  0.0019416375 |             f
     9 |      288 |      1 |  0.0019517852 |             f
    10 |      320 |      1 |  0.0031322535 |         ideal
    11 |      352 |      1 |  0.000000E+00 |             f
    12 |      384 |      1 |  0.000000E+00 |             f
    13 |      416 |      1 |  0.000000E+00 |             f
    14 |      448 |      1 |  0.000000E+00 |             f
    15 |      480 |      1 |  0.000000E+00 |             f
    16 |      512 |      1 |  0.000000E+00 |             f
    17 |      544 |      1 |  0.0003564872 |             f
    18 |      576 |      1 |  0.0003564872 |             f
    19 |      608 |      1 |  0.0003564872 |             f
    20 |      640 |      1 |  0.0004940978 |             f

Optimization Progress and Results

The OptimizationResults which are returned contain information about the progress of the optimization. For example, the attributes x and f contain the final value(s) of parameters and the objective function.

[[4.12748639e-01 2.14815757e-07]]
[[0.04066652]]

After optimization, several figures can be plotted to vizualize the results. For example, the convergence plot shows how the function value changes with the number of evaluations.

(<Figure size 354.331x236.22 with 1 Axes>, array([<Axes: xlabel='$n_{Evaluations}$', ylabel='NRMSE'>], dtype=object))

The plot_objectives method shows the objective function values of all evaluated individuals. Here, lighter color represent later evaluations. Note that by default the values are plotted on a log scale if they span many orders of magnitude. To disable this, set autoscale=False.

(<Figure size 708.661x354.331 with 2 Axes>, array([[<Axes: xlabel='bed_porosity', ylabel='NRMSE'>, <Axes: xlabel='axial_dispersion', ylabel='NRMSE'>]], dtype=object))

All figures are saved automatically in the working_directory. Moreover, results are stored in a .csv file.

  • The results_all.csv file contains information about all evaluated individuals.

  • The results_last.csv file contains information about the last generation of evaluated individuals.

  • The results_pareto.csv file contains only the best individual(s).