Function to get process index from process ID
getProcessIDByOffset(projectPath, modelName, processID, offset = 0)
The path to the StoX project, i.e., the folder of the project with the sub folders "input", "output" and "process". Can possibly be the path to a file inside the project folder.
The name of the model (possible values are "baseline", "analysis" and "report").
The ID of the process.
An integer value to offset the process by, where -1 means the previous process and 1 means the next process.