Skip to content

Commit

Permalink
Increased tolerance for somewhat faster simulation
Browse files Browse the repository at this point in the history
  • Loading branch information
casella committed Feb 23, 2023
1 parent 6253f57 commit e6dcfb4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions LargeTestSuite/Elementary/SimpleODE.mo
Original file line number Diff line number Diff line change
Expand Up @@ -16,37 +16,37 @@ package SimpleODE
model CascadedFirstOrder_N_12800
extends ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder(
N=12800, u = smoothStep(time));
annotation(experiment(StopTime = 2, Tolerance = 1e-6),
annotation(experiment(StopTime = 2, Tolerance = 1e-5),
__OpenModelica_simulationFlags(s = "ida"));
end CascadedFirstOrder_N_12800;

model CascadedFirstOrder_N_25600
extends CascadedFirstOrder_N_12800(N=25600);
annotation(experiment(StopTime = 2, Tolerance = 1e-6),
annotation(experiment(StopTime = 2, Tolerance = 1e-5),
__OpenModelica_simulationFlags(s = "ida"));
end CascadedFirstOrder_N_25600;

model CascadedFirstOrder_N_51200
extends CascadedFirstOrder_N_12800(N=51200);
annotation(experiment(StopTime = 2, Tolerance = 1e-6),
annotation(experiment(StopTime = 2, Tolerance = 1e-5),
__OpenModelica_simulationFlags(s = "ida"));
end CascadedFirstOrder_N_51200;

model CascadedFirstOrder_N_102400
extends CascadedFirstOrder_N_12800(N=102400);
annotation(experiment(StopTime = 2, Tolerance = 1e-6),
annotation(experiment(StopTime = 2, Tolerance = 1e-5),
__OpenModelica_simulationFlags(s = "ida"));
end CascadedFirstOrder_N_102400;

model CascadedFirstOrder_N_204800
extends CascadedFirstOrder_N_12800(N=204800);
annotation(experiment(StopTime = 2, Tolerance = 1e-6),
annotation(experiment(StopTime = 2, Tolerance = 1e-5),
__OpenModelica_simulationFlags(s = "ida"));
end CascadedFirstOrder_N_204800;

model CascadedFirstOrder_N_409600
extends CascadedFirstOrder_N_12800(N=409600);
annotation(experiment(StopTime = 2, Tolerance = 1e-6),
annotation(experiment(StopTime = 2, Tolerance = 1e-5),
__OpenModelica_simulationFlags(s = "ida"));
end CascadedFirstOrder_N_409600;
end SimpleODE;

0 comments on commit e6dcfb4

Please sign in to comment.