Model 5012 - Waste Model
Create Waste (Closest Event to Tag Change Time)
When a tag triggers a Waste Event, Model 5012 finds the closest Event at a specific timestamp, then connects the Waste event to the Event.
The functionality in this model is available only if you have purchased the Efficiency Module.
Waste Model 5012 Properties
Property |
Description |
Maximum Run Time (Seconds) |
optional: Type the number of seconds you want the model to run. The default is 0 (zero), which means the model will not time out. Typically, you will want to limit the run time of the model only if troubleshooting the model (for example, one of the stored procedures is in an infinite loop). |
Model Processing Group |
Used for multithreading. See the Multithreading topic for more information. |
PT:Trigger Tag |
Tag used to trigger the calling of the Stored Procedure |
Local SP Name |
spLocal_Sample5012: This is the name of the pre-configured stored procedure used by this Model. |
Amount Tag |
Tag that contains the Waste amount |
Sampling Type - Amount |
Determines how the Amount data is collected from the historian |
Fault Tag |
Tag that contains the Fault type |
Sampling Type - Fault |
Determines how the Fault data is collected from the historian |
Waste Model 5012 Stored Procedure Parameters
This stored procedure is pre-configured.
IMPORTANT: You can edit this stored procedure. However, if you do edit it, you must rename it; otherwise, on the next Plant Applications upgrade, the stored procedure will get overwritten and you will lose any changes that you made.
See Also