| Quintiq file version 2.0 | 
| #parent: #root | 
| StaticMethod Create ( | 
|   Simulation_MP owner, | 
|   AlgorithmRunLevel algorithmrunlevel | 
| ) as SimulationLevel | 
| { | 
|   Description: 'Static method to create simulation level' | 
|   TextBody: | 
|   [* | 
|     // Martijn Nov-4-2016 (created) | 
|     result := owner.SimulationLevel( relnew, | 
|                                      Level := algorithmrunlevel.Level(), | 
|                                      FulfillmentKPI := algorithmrunlevel.OptimizerNonFinancialKPIResult().WeightedValueFulfillment(), | 
|                                      TargetInventoryKPI := algorithmrunlevel.OptimizerNonFinancialKPIResult().WeightedValueTargetInventoryLevel(), | 
|                                      ServiceLevelInventoryOptimizationKPI := algorithmrunlevel.OptimizerNonFinancialKPIResult().WeightedValueServiceLevel(), | 
|                                      TotalKPIValue := algorithmrunlevel.UnscaledProgramGoalValue() ); | 
|      | 
|     return result; | 
|   *] | 
| } |