Model 5014 - Waste Model

Create Waste (Closest Event to Tag Change Time) from Autolog

When this model is activated on a given unit, the following occurs.

  • A new variable group called "Model 5014 Calculation" is created for the unit.

  • A new calculation variable is created for the unit, with a name formatted as:

Unit <unit number> Model 5014 Autolog Waste Calc

Where <unit number> is the database identity (PU_Id) of the unit being modified.

When a tag triggers a waste event, Model 5014 finds the closest event at a specific timestamp, then connects the waste event to the event. It can also be triggered by historical value changes, and will either create new waste records or update existing ones.

Waste Model 5014 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.

Local SP Name

spMSICalc_Sample5014Calc: This is the name of the pre-configured stored procedure used by this model

Amount Tag

Tag that contains the waste amount

Fault Tag

Tag that contains the fault type

Waste Type

The type of waste event

Waste Measure

The unit of measure for the waste event

If necessary, more than one waste model (5014) can be configured for a unit.

Waste Model 5014 Stored Procedure Parameters

This stored procedure is pre-configured.

See Also