Phase classes > Phase classes and batch parameters

Create a phase class and batch input/report parameters

Now we are going to create phase classes and their associated batch input and report parameters. After that, we will create the logic for the phase class. The input parameters will be used later when we create recipes. One of the report parameters will be used later to log a value to the Event Chronicle.

  1. In the DeltaV Explorer, select the TankPhases phase category.
  2. Right-click and select New Phase Class. Name it FILL.
  3. Create another phase class and name it DUMP.
  4. Select the phase class FILL, right-click and select NewBatch input/report parameter from the context menu.

    A Parameter Properties dialog opens.

  5. In the Parameter Properties dialog, enter the name FILL_AMOUNT and select the following choices from the drop-down boxes:
    • Type: Real

    • Category: Input

    (The ID field is used as an identifier that can be used to specify this parameter in phase requests. Phase requests are discussed later in this tutorial.)

  6. In the value boxes, leave 0 as the Low Limit, enter 100 as the Default Value and 500 as the High Limit, and select (type) gal for Engineering Units.
    Note

    The Scalable option can be used to indicate that, if the batch recipe is scaled (for example, by 50 percent), this is one of the parameters that will be scaled by the given percentage. For example, you may want to be able to scale the amounts of the input ingredients by the same percentage, but you may not want to scale the mixing time by the same percentage. Therefore, you would not check scalable for the mixing time parameter.

  7. Click OK.