File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -351,7 +351,7 @@ def run(self):
351
351
if i % self .intervals == 0 and self .temperature_dependent : # First interval in time step
352
352
self .temp_calibrate (temp_ocean )
353
353
354
- h = self .get_H (carbon_mass [1 ])
354
+ h = self .get_H (carbon_mass [1 ], re_solve = False )
355
355
self .B = self .get_B (h )
356
356
357
357
if i % self .intervals == 0 : # First interval in time step
@@ -369,8 +369,9 @@ def run(self):
369
369
temp_ocean = self .temperature .temp_ocean (
370
370
ta , temp_ocean )
371
371
372
- carbon_mass += ((self .transfer_matrix * carbon_mass + emissions ) /
373
- self .intervals ).sum (axis = 1 )
372
+ carbon_mass += (((self .transfer_matrix * carbon_mass ) /
373
+ self .intervals ).sum (axis = 1 ) +
374
+ emissions / self .intervals )
374
375
375
376
if (i + 1 ) % self .intervals == 0 :
376
377
output .iloc [:, _i + 1 ] = (
You can’t perform that action at this time.
0 commit comments