OpenServer Functionality
There are essentially three commands that allow this communication, and they are:
DoSet – allows the setting of a numerical value or option within the tool to be set from outside
DoCmd – performs a specific type of calculation (for instance a Gradient calculation in PROSPER, or solve Network in GAP)
DoGet – returns a value/status from the IPM tools (i.e. taking a liquid rate from PROSPER and passing to Excel)
Example of OpenServer application: Batch Runs
- Consider a situation where a prediction calculation in MBAL has been set up and it is ofinterest to check the final recovery for a range of OOIP values.A spreadsheet in Excel can be created that lists all the OOIP's to be used in the prediction. A VBA macro can be written within Excel which:-
- Gets the first OOIP value from the spreadsheet and sets it in the MBAL tank
- Runs a production prediction
- Queries the final recovery from the production results and writes into the spreadsheet.
Repeat for the next OOIP, etc.
This allows the automation of a repetitive task, which is time consuming and thus allows the engineer to focus on engineering analysis rather than data entry.