From 5681a1e8895e9527e1037cab6e63e67a848c4443 Mon Sep 17 00:00:00 2001 From: alexjamesgarza Date: Thu, 28 Mar 2024 11:58:46 -0500 Subject: [PATCH] changed time in output to output step time --- src/box_model.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/box_model.py b/src/box_model.py index 6559ef9d..678245ea 100644 --- a/src/box_model.py +++ b/src/box_model.py @@ -303,10 +303,10 @@ def solve(self, path_to_output = None): #runs the simulation at each timestep while(curr_time <= self.box_model_options.simulation_length): - if(next_output_time <= curr_time): - + #outputs to output_array if enough time has elapsed + if(next_output_time <= curr_time): row = [] - row.append(curr_time) + row.append(next_output_time) row.append(curr_conditions.temperature) row.append(curr_conditions.pressure) for conc in curr_concentrations: