Shut-In Functions
In Enersight 2.17.1, we have introduced new functions to enable additional workflows when shut-ins occur. The new functions evaluate when a well triggers a shut-in on another well for a specific scheduler step, and the distance to the well that has been shut in.
- @TriggeredShutIn(Triggering Task, [Parent]) - returns the month step in which the Triggering Task (use the 'Booked As' type of a Drilling Step in a Drilling Program) shuts in another well because of halo restrictions set up on that Drilling Step. The Parent argument (enter a Well name for this argument) is optional and, when used, the function will only evaluate to true when the well named in the Parent argument is shut in. This function returns -1 until a shut in occurs.
- @TriggeredHaloDistance(Triggering Task, [Parent]) - returns the distance from the well executing the Triggering Task (the 'Booked As' type of a Drilling Step in a Drilling Program) to the well that was shut in. If the optional Parent argument (enter a Well name for this argument) is used, this will only return a value > 0 when the well named in the Parent argument is shut in.
For example, these functions can be used on the RAF of a well that could shut in a nearby well to scale down production. If the well triggers a shut-in, the distance can be used to reference a user data table to look up a scaling factor.
-
@If(@TriggeredShutIn(Frac)>-1,@LookUp(RAFScaleLookup, @TriggeredHaloDistance(Frac),2),1)
- where RAFScaleLookup is a lookup table with varying factors between 0 and 1 based on a variety of distances.