feat(control): disable surrogate model after rollback until next iteration

This commit is contained in:
rastogi 2025-09-21 17:45:12 +02:00
parent 24268d7981
commit 68b55ae02f
18 changed files with 115 additions and 70 deletions

Binary file not shown.

Binary file not shown.

BIN
bin/checkpoint40.hdf5 Normal file

Binary file not shown.

BIN
bin/checkpoint60.hdf5 Normal file

Binary file not shown.

BIN
bin/dolo/iter_000.qs2 Normal file

Binary file not shown.

Binary file not shown.

BIN
bin/dolo/iter_100.qs2 Normal file

Binary file not shown.

BIN
bin/dolo/iter_150.qs2 Normal file

Binary file not shown.

BIN
bin/dolo/iter_200.qs2 Normal file

Binary file not shown.

BIN
bin/dolo/iter_250.qs2 Normal file

Binary file not shown.

BIN
bin/dolo/iter_300.qs2 Normal file

Binary file not shown.

BIN
bin/dolo/iter_350.qs2 Normal file

Binary file not shown.

BIN
bin/dolo/iter_400.qs2 Normal file

Binary file not shown.

BIN
bin/dolo/iter_450.qs2 Normal file

Binary file not shown.

BIN
bin/dolo/iter_500.qs2 Normal file

Binary file not shown.

View File

@ -1,7 +1,7 @@
iterations <- 100
iterations <- 500
dt <- 200
control_iteration <- 10
species_epsilon <- rep(1e-6, 14)
control_iteration <- 20
species_epsilon <- c(.0, 1e-12, 1e-1, 1e-1, 1e-2, 1e-2, 1e+1, 1e+1, 1e-3, 0, 1e-1, .0, 1e-1, .0)
out_save <- seq(50, iterations, by = 50)
list(

BIN
bin/poet

Binary file not shown.

View File

@ -1,76 +1,121 @@
Iteration, Species, MAPE, RRSME
10, ID, 0, 0
10, H, 2.18792e-14, 3.11625e-16
10, O, 0.0261378, 0.000268639
10, Charge, 0.0242586, 0.000249429
10, C, 4.72509e-05, 1.01573e-05
10, Ca, 4.7361e-05, 1.01573e-05
10, Cl, 13.2935, 0.180335
10, Mg, 14.6907, 0.277312
10, Calcite, 2.81987e-05, 6.07374e-06
10, Calcite_p1, 0, 0
10, Dolomite, 0, 0
10, Dolomite_p1, 0, 0
10, O2g_eq, 0.0643273, 0.000661513
10, O2g_si, 0, 0
20, ID, 0, 0
20, H, 2.19678e-14, 3.29442e-16
20, O, 0.0280859, 0.000292534
20, Charge, 0.0233668, 0.000244248
20, C, 0.000537105, 6.41251e-05
20, Ca, 0.000537197, 6.41227e-05
20, Cl, 7.24733, 0.177101
20, Mg, 7.43845, 0.196059
20, Calcite, 0.000323255, 3.87549e-05
20, H, 1.94487e-14, 3.25056e-16
20, O, 0.0528344, 0.00055045
20, Charge, 0.0232427, 0.000242925
20, C, 0.000542246, 6.49017e-05
20, Ca, 0.000542337, 6.48991e-05
20, Cl, 6.90514, 0.172115
20, Mg, 7.0869, 0.189878
20, Calcite, 0.000326491, 3.92374e-05
20, Calcite_p1, 0, 0
20, Dolomite, 4.16664e-07, 6.48128e-07
20, Dolomite, 9.272e-06, 1.12903e-05
20, Dolomite_p1, 0, 0
20, O2g_eq, 0.0699382, 0.000728667
20, O2g_eq, 0.138625, 0.00144473
20, O2g_si, 0, 0
20, ID, 0, 0
20, H, 2.17942e-14, 3.78672e-16
20, O, 0.0272958, 0.00028732
20, Charge, 0.0224743, 0.000238903
20, C, 0.000693403, 6.89355e-05
20, Ca, 0.000693447, 6.89274e-05
20, Cl, 4.91228, 0.145942
20, Mg, 5.07712, 0.164729
20, Calcite, 0.00041918, 4.19111e-05
20, Calcite_p1, 0, 0
20, Dolomite, 0.00175364, 0.00252754
20, Dolomite_p1, 0, 0
20, O2g_eq, 0.0678277, 0.000714771
20, O2g_si, 0, 0
40, ID, 0, 0
40, H, 2.29246e-14, 4.17955e-16
40, O, 0.0517847, 0.000555411
40, Charge, 0.0217087, 0.000234719
40, C, 0.000766768, 6.66735e-05
40, Ca, 0.000766918, 6.66873e-05
40, Cl, 3.46466, 0.11824
40, Mg, 3.68055, 0.142815
40, Calcite, 0.000466118, 4.0896e-05
40, Calcite_p1, 0, 0
40, Dolomite, 0.00272905, 0.00235336
40, Dolomite_p1, 0, 0
40, O2g_eq, 0.136023, 0.00145884
40, O2g_si, 0, 0
20, ID, 0, 0
20, H, 2.56842e-14, 4.21869e-16
20, O, 0.026514, 0.000282294
20, Charge, 0.0216724, 0.000234381
20, C, 0.000801173, 7.00726e-05
20, Ca, 0.000801423, 7.00996e-05
20, Cl, 3.63922, 0.123201
20, Mg, 3.86128, 0.144882
20, Calcite, 0.000487895, 4.31642e-05
20, Calcite_p1, 0, 0
20, Dolomite, 0.00168115, 0.00101652
20, Dolomite_p1, 0, 0
20, O2g_eq, 0.0657776, 0.000701359
20, O2g_si, 0, 0
60, ID, 0, 0
60, H, 2.74641e-14, 4.7951e-16
60, O, 0.0486809, 0.000533318
60, Charge, 0.0201468, 0.000226065
60, C, 0.000891453, 6.49626e-05
60, Ca, 0.000892045, 6.503e-05
60, Cl, 2.08155, 0.0862112
60, Mg, 2.24499, 0.111759
60, Calcite, 0.000548445, 4.07929e-05
60, Calcite_p1, 0, 0
60, Dolomite, 0.00501748, 0.00466921
60, Dolomite_p1, 0, 0
60, O2g_eq, 0.127509, 0.00139778
60, O2g_si, 0, 0
20, ID, 0, 0
20, H, 2.39005e-14, 4.35959e-16
20, O, 0.0257638, 0.000277486
20, Charge, 0.0209118, 0.000230386
20, C, 0.000836776, 6.68445e-05
20, Ca, 0.000836791, 6.68233e-05
20, Cl, 2.7374, 0.103349
20, Mg, 2.94845, 0.129046
20, Calcite, 0.000508786, 4.10914e-05
20, Calcite_p1, 0, 0
20, Dolomite, 0.000173459, 9.94268e-05
20, Dolomite_p1, 0, 0
20, O2g_eq, 0.06381, 0.000688484
20, O2g_si, 0, 0
80, ID, 0, 0
80, H, 4.18117e-14, 6.18699e-16
80, O, 0.0456397, 0.000511564
80, Charge, 0.0186293, 0.000217503
80, C, 0.000902581, 5.51404e-05
80, Ca, 0.000903436, 5.52293e-05
80, Cl, 1.46119, 0.0709428
80, Mg, 1.59876, 0.0991399
80, Calcite, 0.000555002, 3.46365e-05
80, Calcite_p1, 0, 0
80, Dolomite, 0.00232338, 0.000711624
80, Dolomite_p1, 0, 0
80, O2g_eq, 0.119228, 0.00133794
80, O2g_si, 0, 0
100, ID, 0, 0
100, H, 3.65551e-14, 5.95887e-16
100, O, 0.0427519, 0.000490935
100, Charge, 0.0170819, 0.000208342
100, C, 0.000953495, 5.18182e-05
100, Ca, 0.000954977, 5.19698e-05
100, Cl, 1.08948, 0.0602524
100, Mg, 1.21451, 0.0897367
100, Calcite, 0.000592906, 3.32084e-05
100, Calcite_p1, 0, 0
100, Dolomite, 0.0030105, 0.000956423
100, Dolomite_p1, 0, 0
100, O2g_eq, 0.111391, 0.00128101
100, O2g_si, 0, 0
120, ID, 0, 0
120, H, 3.50261e-14, 6.3007e-16
120, O, 0.0402783, 0.000474447
120, Charge, 0.0155968, 0.000199072
120, C, 0.00106331, 5.708e-05
120, Ca, 0.00106484, 5.72572e-05
120, Cl, 0.840976, 0.0523175
120, Mg, 0.960964, 0.0851715
120, Calcite, 0.000662119, 3.72101e-05
120, Calcite_p1, 0, 0
120, Dolomite, 0.0267412, 0.0144917
120, Dolomite_p1, 0, 0
120, O2g_eq, 0.104765, 0.00123562
120, O2g_si, 0, 0
140, ID, 0, 0
140, H, 4.14022e-14, 6.85264e-16
140, O, 0.0379425, 0.000458507
140, Charge, 0.0143378, 0.000190886
140, C, 0.00103922, 5.03887e-05
140, Ca, 0.00104158, 5.0623e-05
140, Cl, 0.663446, 0.046461
140, Mg, 0.776981, 0.0796788
140, Calcite, 0.000647302, 3.25312e-05
140, Calcite_p1, 0, 0
140, Dolomite, 0.0240131, 0.0137403
140, Dolomite_p1, 0, 0
140, O2g_eq, 0.0985411, 0.00119191
140, O2g_si, 0, 0
160, ID, 0, 0
160, H, 3.71028e-14, 6.90547e-16
160, O, 0.0354217, 0.000441511
160, Charge, 0.0132313, 0.000183316
160, C, 0.00108786, 5.02857e-05
160, Ca, 0.00109084, 5.06277e-05
160, Cl, 0.525261, 0.0418011
160, Mg, 0.638517, 0.0765625
160, Calcite, 0.000679934, 3.27925e-05
160, Calcite_p1, 0, 0
160, Dolomite, 0.0124243, 0.00966693
160, Dolomite_p1, 0, 0
160, O2g_eq, 0.091823, 0.00114555
160, O2g_si, 0, 0