StatRelativeOccupation (material flow objects)

Syntax

<Path>.StatRelativeOccupation → real

The read-only attribute StatRelativeOccupation returns the relative, i.e., capacity-based, occupancy of the object designated by <Path>. The relative occupancy is determined by the sum of the dwelling times, that are located within the statistics collection period, of all MUs on an object during which the object was not paused and not failed, divided by the capacity and the entire statistics collection period without counting pauses and failures. The return value 0 stands for 0 percent, the return value 1 stands for 100 percent.

You can also use this method to compute the average waiting time of an MU:

EventController.SimTime * Buffer.StatRelativeOccupation * Buffer.Capacity / Buffer.StatNumIn

In addition you can compute the average number of MUs on the object designated by <Path>:

 Buffer.StatRelativeOccupation * Buffer.Capacity

Return Value

The return value has the data type real.

Example

if drill.StatRelativeOccupation  0.2 
   print drill.name, " utilization is too low."
end

Related Topics

Relative Occupation

Tab Statistics of the material flow objects

Tab Statistics of the Container

Statistics Values of the Transporter

Statistics report, Material Flow Properties of the stationary objects

Statistics report, Material Flow Properties of the mobile objects

StatRelativeOccupationIR


Related Topics
Read-Only Attributes for Statistics of the Material Flow Objects
StatBlockingCount
StatBlockingDelta
StatBlockingMu
StatBlockingPortion
StatBlockingTime
StatEmptyCount
StatEmptyDelta
StatEmptyMu
StatEmptyPortion
StatEmptyTime
StatFailCount
StatFailDelta
StatFailMu
StatFailPortion
StatFailTime
StatMaxNumMUs
StatMinNumMU (material flow objects)
StatNumIn (material flow objects)
StatNumOut (material flow objects)
StatPausingCount
StatPausingDelta
StatPausingMu
StatPausingPortion
StatPausingTime
StatPoweringUpDownCount
StatPoweringUpDownDelta
StatPoweringUpDownMu
StatPoweringUpDownPortion
StatPoweringUpDownTime
StatPredeposition
StatRelativeEmptyPortion
StatRelativeFullPortion
StatRelativeOccupationIR (material flow objects)
StatSetUpCount
StatSetUpDelta
StatSetUpMu
StatSetUpPortion
StatSetupTime
StatStoppedCount (material flow objects)
StatStoppedDelta (material flow objects)
StatStoppedMu (material flow objects)
StatStoppedPortion (material flow objects)
StatStoppedTime
StatUnplannedCount
StatUnplannedDelta
StatUnplannedTime
StatUnplannedMu
StatWaitingDelta
StatWaitingCount
StatWaitingMu
StatWaitingPartsPortion (material flow objects)
StatWaitingPortion
StatWaitingResCount (material flow objects)
StatWaitingResDelta (material flow objects)
StatWaitingResMu
StatUnplannedPortion
StatWaitingResPortion (material flow objects)
StatWaitingResTime ( (material flow objects)
StatWaitingSetUpExpBlockingPortion
StatWaitingSetUpExpTime
StatWaitingSetUpExpWorkingPortion
StatWaitingSetUpExpDelta
StatWorkingDelta
StatWorkingCount
StatWaitingSetUpExpCount
StatWorkingMu
StatWaitingTime
StatWaitingSetUpExpWaitingPortion
StatWaitingSetUpExpMu
StatWaitingSetUpExpPortion
StatWorkingPortion
StatWorkingTime