# CADET-Match with multiple experiments

**URL:** <https://forum.cadet-web.de/t/cadet-match-with-multiple-experiments/432>\
**Category:** CADET Troubleshooting\
**Created:** [December 21, 2021, 7:24am UTC](https://forum.cadet-web.de/t/cadet-match-with-multiple-experiments/432 "2021-12-21T07:24:28Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jing.Guo](https://forum.cadet-web.de/user_avatar/forum.cadet-web.de/jing.guo/32/81_2.png) [@Jing.Guo](https://forum.cadet-web.de/u/Jing.Guo)\
**Post date:** [December 21, 2021, 7:24am UTC](https://forum.cadet-web.de/t/cadet-match-with-multiple-experiments/432/1 "2021-12-21T07:24:28Z")

</div>

Hello, I am trying to use cadetmatch to determine parameters for two breakthrough curves at different residence times. However, the results are worse fitting two curves together than fitting them individually.  
If I only fit run1, the results look like this:  
 ![image](https://forum.cadet-web.de/uploads/default/original/1X/803bb49d3c6593d17aebf6e1509f4b62a8d54bf1.png)  
If I only fit run2, the results look like this:  
 ![image](https://forum.cadet-web.de/uploads/default/original/1X/0a9208aeed9be3e4d69d41aac18e8a8f9944d37e.png)  
However, if I fit these two together, the results look like this:  
 ![image](https://forum.cadet-web.de/uploads/default/original/1X/32e482a33fea1a27a44455a606e986be09049aaf.png)  
 ![image](https://forum.cadet-web.de/uploads/default/original/1X/d9eac1be85c44e9c05d28202efb591c031c073b7.png)  
[BTfit.txt](https://forum.cadet-web.de/uploads/short-url/8NHZEB3A7rxMtY1K9FuyzMbjajw.txt) (2.4 KB)  
I attached my BT fit in the attachment. Could you please let me know what could be wrong?

Thanks,

Jing

---

<div class="post-metadata">

**Author:** ![j.schmoelder](https://forum.cadet-web.de/user_avatar/forum.cadet-web.de/j.schmoelder/32/93_2.png) [@j.schmoelder](https://forum.cadet-web.de/u/j.schmoelder)\
**Post date:** [December 22, 2021, 11:01am UTC](https://forum.cadet-web.de/t/cadet-match-with-multiple-experiments/432/2 "2021-12-22T11:01:10Z")

</div>

Hello Jing,

I’m assuming the goal of your experiments is to determine the same parameter (e.g. column porosity) with two different experiments.

In a case where you get different results when fitting them individually compared to fitting multiple experiments simultaneously, it could indicate that there are some issues with the experiments or that your setup is maybe not suited to determine the parameters with the given set of experiments.

For example, the axial dispersion is velocity dependent, so if you have different experiments with different flow rates, it’s not possible to determine one value and individuals fits will hence inherently always be better than a combined one.

However, it’s hard to judge without further information. If you’re willing to share your config, we can have a further look.

Best wishes

Johannes

---

<div class="post-metadata">

**Author:** ![lieres](https://forum.cadet-web.de/user_avatar/forum.cadet-web.de/lieres/32/1238_2.png) [@lieres](https://forum.cadet-web.de/u/lieres)\
**Post date:** [December 22, 2021, 1:48pm UTC](https://forum.cadet-web.de/t/cadet-match-with-multiple-experiments/432/3 "2021-12-22T13:48:43Z")

</div>

It looks like both tied simulations are have a way too large dispersion coefficient. Have you tried a different initial value? the separately determined values should be a good start. How much do they differ between both experiments?

---

<div class="post-metadata">

**Author:** ![w.heymann](https://forum.cadet-web.de/user_avatar/forum.cadet-web.de/w.heymann/32/37_2.png) [@w.heymann](https://forum.cadet-web.de/u/w.heymann)\
**Post date:** [December 22, 2021, 7:15pm UTC](https://forum.cadet-web.de/t/cadet-match-with-multiple-experiments/432/4 "2021-12-22T19:15:17Z")

</div>

Try changing the following settings and see if this works for you

feature1.type = ‘Shape’  
feature2.type = ‘Shape’

match\_config.population = 100  
match\_config.stallGenerations = 40

---

<div class="post-metadata">

**Author:** ![Jing.Guo](https://forum.cadet-web.de/user_avatar/forum.cadet-web.de/jing.guo/32/81_2.png) [@Jing.Guo](https://forum.cadet-web.de/u/Jing.Guo)\
**Post date:** [December 22, 2021, 7:31pm UTC](https://forum.cadet-web.de/t/cadet-match-with-multiple-experiments/432/5 "2021-12-22T19:31:55Z")

</div>

Hi Johannes,

The parameters are ka, kd, Qmax and surface diffusivity, and they should not change with different flow rates. I put my BTfit in the attachment, please let me know if you can’t see it. Thanks.[BTfit.txt](https://forum.cadet-web.de/uploads/short-url/8NHZEB3A7rxMtY1K9FuyzMbjajw.txt) (2.4 KB)

---

<div class="post-metadata">

**Author:** ![Jing.Guo](https://forum.cadet-web.de/user_avatar/forum.cadet-web.de/jing.guo/32/81_2.png) [@Jing.Guo](https://forum.cadet-web.de/u/Jing.Guo)\
**Post date:** [December 22, 2021, 7:38pm UTC](https://forum.cadet-web.de/t/cadet-match-with-multiple-experiments/432/6 "2021-12-22T19:38:56Z")

</div>

Yes, I have tried different initial value and it still didn’t work. The values determined from separate experiments are pretty close. Please see below.  
Parameters determined from run1 with cadetmatch:  
ka/kd = 10000, Qmax = 6.2, Surface diffusivity = 1.0E-14  
Parameters determined from run2 with cadetmatch:  
ka/kd = 9998, Qmax = 6.9, Surface diffusivity = 1.3E-14

However, when I did cadetmatch with run1 and run2 together, the parameters are:  
ka/kd = 220, Qmax = 11.1, Surface diffusivity = 5.5E-12

---

<div class="post-metadata">

**Author:** ![Jing.Guo](https://forum.cadet-web.de/user_avatar/forum.cadet-web.de/jing.guo/32/81_2.png) [@Jing.Guo](https://forum.cadet-web.de/u/Jing.Guo)\
**Post date:** [December 22, 2021, 7:41pm UTC](https://forum.cadet-web.de/t/cadet-match-with-multiple-experiments/432/7 "2021-12-22T19:41:57Z")

</div>

I have tried the settings you suggested, but it still didn’t work. Below are the fitting results.  
 ![run1](https://forum.cadet-web.de/uploads/default/original/1X/0863de89f50c120173cf291f07f6f579763c23eb.jpeg)  
 ![run2](https://forum.cadet-web.de/uploads/default/original/1X/be44e986d8774d94b65b56ad8dfb276306cf159b.jpeg)

---

<div class="post-metadata">

**Author:** ![w.heymann](https://forum.cadet-web.de/user_avatar/forum.cadet-web.de/w.heymann/32/37_2.png) [@w.heymann](https://forum.cadet-web.de/u/w.heymann)\
**Post date:** [December 23, 2021, 8:32am UTC](https://forum.cadet-web.de/t/cadet-match-with-multiple-experiments/432/8 "2021-12-23T08:32:46Z")

</div>

Can you post a link to a zip file of the results folder and the two csv files you are matching against? That way I can look at the simulations and see if I can figure out what the problem is.

---

<div class="post-metadata">

**Author:** ![Jing.Guo](https://forum.cadet-web.de/user_avatar/forum.cadet-web.de/jing.guo/32/81_2.png) [@Jing.Guo](https://forum.cadet-web.de/u/Jing.Guo)\
**Post date:** [December 24, 2021, 1:27am UTC](https://forum.cadet-web.de/t/cadet-match-with-multiple-experiments/432/9 "2021-12-24T01:27:55Z")

</div>

Due to the size limitation, I have shared the files with you in another way. Please let me know if you didn’t receive them. Thanks.

---

<div class="post-metadata">

**Author:** ![w.heymann](https://forum.cadet-web.de/user_avatar/forum.cadet-web.de/w.heymann/32/37_2.png) [@w.heymann](https://forum.cadet-web.de/u/w.heymann)\
**Post date:** [December 30, 2021, 9:55am UTC](https://forum.cadet-web.de/t/cadet-match-with-multiple-experiments/432/10 "2021-12-30T09:55:22Z")

</div>

I just realized one of the problems when I tried to run the simulations. Both experiments are called main. Change the name of one of them otherwise it is trying to use a single simulation to fit both experiments which is certainly a source of weird issues.

If that does not fix the problem can you send me both run1.h5 and run2.h5 and I will look at them.

---

<div class="post-metadata">

**Author:** ![Jing.Guo](https://forum.cadet-web.de/user_avatar/forum.cadet-web.de/jing.guo/32/81_2.png) [@Jing.Guo](https://forum.cadet-web.de/u/Jing.Guo)\
**Post date:** [December 31, 2021, 2:04am UTC](https://forum.cadet-web.de/t/cadet-match-with-multiple-experiments/432/11 "2021-12-31T02:04:51Z")

</div>

Yes, that did solve the problem! After I changed the name of one of them, the simulation was much better (please see below). Thanks Bill!

 ![image](https://forum.cadet-web.de/uploads/default/original/1X/b14016241a4592577094fbaf50e8935d0d87b945.png)  
 ![image](https://forum.cadet-web.de/uploads/default/original/1X/1d5cc5782f35738d73581ebc351d3e18742b1706.png)

---

<div class="post-metadata">

**Author:** ![h.lanzrath](https://forum.cadet-web.de/user_avatar/forum.cadet-web.de/h.lanzrath/32/1186_2.png) [@h.lanzrath](https://forum.cadet-web.de/u/h.lanzrath)\
**Post date:** [January 27, 2026, 7:39am UTC](https://forum.cadet-web.de/t/cadet-match-with-multiple-experiments/432/12 "2026-01-27T07:39:16Z")

</div>


