@SuppressWarnings("unchecked")
List<BPSimDataType> bpsimExtensions = (List<BPSimDataType>) extensionElements.get(BpsimPackage.Literals.DOCUMENT_ROOT__BP_SIM_DATA, true);
if(bpsimExtensions != null && bpsimExtensions.size() > 0) {
BPSimDataType processAnalysis = bpsimExtensions.get(0);
if(processAnalysis.getScenario() != null && processAnalysis.getScenario().size() > 0) {
Scenario simulationScenario = processAnalysis.getScenario().get(0);
baseTimeUnit = simulationScenario.getScenarioParameters().getBaseTimeUnit().getValue();
}
}
}
}