Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a reporter to dynamic simulation and its models suppliers #300

Merged
merged 10 commits into from
Nov 23, 2023
Prev Previous commit
Next Next commit
fix rebase
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Lisrte authored and flo-dup committed Nov 23, 2023
commit fcf513906042369028ab6fe8ca990c29a8f57b38
Original file line number Diff line number Diff line change
@@ -195,7 +195,7 @@ void testCallingBadVersionDynawo() throws Exception {
CurvesSupplier cs = CurvesSupplier.empty();
String wvId = network.getVariantManager().getWorkingVariantId();
DynamicSimulationParameters dsp = DynamicSimulationParameters.load();
PowsyblException e = assertThrows(PowsyblException.class, () -> dynawoSimulation.run(network, dms, ems, cs, wvId, computationManager, dsp));
PowsyblException e = assertThrows(PowsyblException.class, () -> dynawoSimulation.run(network, dms, ems, cs, wvId, computationManager, dsp, NO_OP));
assertEquals("dynawo version not supported. Must be >= " + DynawoConstants.VERSION_MIN, e.getMessage());
}