Scheduling auto refresh results (FMB & URM)

When new production data is imported, FMB and URM analyses (for groups, wells, and scenarios) can be recalculated. You can manually select wells in the Entity Viewer - Hierarchy, right-click them and recalculate results, but this can be time-consuming.

To schedule automatically refreshed results:

1. Open the Options dialog box and click the Auto Refresh Results node.

2. By default, all wells and groups are updated. In order to select Custom Groups from the list at the bottom of the dialog box, deselect the Refresh All Wells / Groups option. As you select Custom Groups, Program and Argument strings are automatically generated.

Assignment Options:

  • Refresh Scenarios — corresponds to -Scenarios in command line, and controls whether scenarios should also be refreshed. The default setting is “True”.
  • Generate Log File — corresponds to -Log in command line, and overrides the Program's logging state. If -Log is followed by “False”, Harmony Enterprise does not create a text log of refreshing the results. The default setting is “True”.
  • Refresh All Wells / Groups — corresponds to /refreshResults in command line, and this is the main argument and must be followed by a string of entity IDs separated by a semicolon. If the string is left empty, all entities in the database with an FMB or URM analysis are updated (unless the -Scenario argument prevents it).

3. Click the Copy button in the Program section.

4. Open the Windows Task Scheduler.

5. In the left-side pane, navigate to the Task Scheduler Library, IHS Markit, Harmony Enterprise, Auto Refresh Results folder.

6. Click Create Basic Task. Type the required information: Name, Description, and Trigger (when the task is to occur).

7. For Action, select Start a Program and then paste the Program string from step 3 into the Program / script field.

8. Similar to the previous step, copy the Arguments string into the Add arguments) field.

9. Click Next, then Finish.

The new task runs at the trigger interval, and Harmony Enterprise opens and refreshes the specified results. After the task is complete, Harmony Enterprise closes.

Note:   Auto-refreshing results generates a log file (unless overridden by the - Log argument), which is located at: C:\Users\<user name>\Documents\FAST\Harmony Enterprise <version number>\RefreshResultsLogs

Things to keep in mind:

  • you can only update custom groups.
  • the string in the Arguments field has a GUID that applies to the GUID for the entire custom group.
  • setting up automated scheduled recalculations is best handled by experienced database administrators because they access to the GUIDs.
  • a best practice is to import production data and update sandface pressures (see scheduling well updates) before updating FMB or URM.

Examples:

  • -DSN "FMB" /refreshResults "FD692F72-8FD2-489F-A6E0-C3C42DF6E0A5;XX699Y76-8FW3-721A-A9D0-Z3T67DF6E0A9" -DSN "FMB"
  • -Log "False" -Scenarios "False" /refreshResults ""