Run sensitivity analysis on Well Length using a Horizontal dP friction IPR model

Load the OpenServer package

library(rOpenserver)

Function to get the model filename

This function will go grab the horizontal well model for analysis.

Open the model

# open Prosper model
model_file <- get_prosper_model(model = "HORWELLDP.OUT")
open_cmd <- "PROSPER.OPENFILE"
open_cmd <- paste0(open_cmd, "('", model_file, "')")
DoCmd(prosper_server, open_cmd)  # using S3 dispatch of R6 class