An example that shows how cases and pallets can be tracked in a warehouse, using RFIDs.
The main module of this project contains a local stream StreamFullReadings, which joins the data from the project's two input streams. A number of intermediate and alert streams, based on this stream, are then created. Some of the alerts include notification that a pallet is not unpacked after a certain time interval, a case did not make it to a shelf after a certain time interval, or that a pallet was not shipped after it was packed, and so on.
The DoorAlertsSlow and DoorAlertsVerySlow submodules contain queries that send an alert if traffic through a certain door is too slow. "Too slow" is defined as being more than a certain fraction of the standard deviation less than the average traffic through all doors. This fraction is the parameter called $StdDevInterval. In the DoorAlertsSlow module, this parameter is set to 0.5; in the DoorAlertsVerySlow module, it is set to 1.0.
The CasesNotShipped8sec and CasesNotShipped15sec modules contain queries that issue an alert if an item is not shipped for longer than a certain period of time, in this case 8 or 15 seconds. Remember that this is just a simulation. In a real-world application, this number would be higher.