diff --git a/R/utilities-qualification.R b/R/utilities-qualification.R index b6cb9cb8..72d30b1f 100644 --- a/R/utilities-qualification.R +++ b/R/utilities-qualification.R @@ -52,6 +52,8 @@ loadQualificationWorkflow <- function(workflowFolder, configurationPlanFile) { minimumSimulationEndTime <- NULL if (any(!is.na(outputsDataframeSubset$endTime))) { minimumSimulationEndTime <- max(outputsDataframeSubset$endTime, na.rm = TRUE) + # Convert minimumSimulationEndTime from base unit to simulation set default unit + minimumSimulationEndTime <- ospsuite::toUnit("Time", minimumSimulationEndTime, "h") } # simulationSetName defined as project-simulation uniquely identifies the simulation