diff --git a/packages/server/src/main/java/software/uncharted/terarium/hmiserver/service/data/ModelConfigurationService.java b/packages/server/src/main/java/software/uncharted/terarium/hmiserver/service/data/ModelConfigurationService.java index 9fbfb313eb..5566d6535f 100644 --- a/packages/server/src/main/java/software/uncharted/terarium/hmiserver/service/data/ModelConfigurationService.java +++ b/packages/server/src/main/java/software/uncharted/terarium/hmiserver/service/data/ModelConfigurationService.java @@ -207,7 +207,10 @@ private static ModelDistribution getModelDistribution(final ModelParameter param } public static Model createAMRFromConfiguration(final Model model, final ModelConfiguration modelConfiguration) { - setModelParameters(model.getParameters(), modelConfiguration.getParameterSemanticList()); + // Do not bother setting when we have simulationId as we will use that calibration's inferred parameters. + if (modelConfiguration.getSimulationId() == null) { + setModelParameters(model.getParameters(), modelConfiguration.getParameterSemanticList()); + } setModelInitials(model.getInitials(), modelConfiguration.getInitialSemanticList()); setModelObservables(model.getObservables(), modelConfiguration.getObservableSemanticList()); return model.clone();