Skip to content

Commit

Permalink
Fixes #1262 convert simulation endTime in qualification workflows (#1270
Browse files Browse the repository at this point in the history
)
  • Loading branch information
pchelle authored Sep 3, 2024
1 parent 8f16b74 commit ca19912
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/utilities-qualification.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ca19912

Please sign in to comment.