1
2
3
4
5
6
7
8
9
10
11
12
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  Function CalcExpectedInventoryHoldingCost 
 |  { 
 |    Description: 'The expected inventory holding cost of this pispip in this iteration is the average of the inventory holding cost over the simulations in this iteration' 
 |    TextBody: 
 |    [* 
 |      // Martijn Oct-26-2016 (created) 
 |      value := average( this, SimulationPISPIP, simpispip, simpispip.InventoryHoldingCost() ); 
 |      this.ExpectedInventoryHoldingCost( value ); 
 |    *] 
 |  } 
 |  
  |