Show / Hide Table of Contents

DownQty


General System Function

The DownQty function counts and returns the Location or Resource units down at the time of the call. Use this function to make decisions based on how many Resource or Location units are down. For example, if too many units are down, a foreman could preempt several units back into service.

Syntax

DownQty(<location> or <resource>)

Examples

If DownQty(Loc1) > 3 Then Route 2
Display "Total Res1 Down Now:" $ DownQty(Res1)

Parameters

(<location or recource>)

The name of the Location or Resource in your model to know how many units are down.

Remarks

Loc() or Res() can be substituted for the name of a Location or Resource.

In This Article
Back to top Generated by DocFX