equinor / completor

Advanced multi-segmented well completion tool
https://equinor.github.io/completor/
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Error message on missing branch in schedule files #50

Open hrsut opened 2 months ago

hrsut commented 2 months ago

This is an example when we have an undefined branch exists in Case (or input file). An example here the YO well is defined as two branches in input file, but the schedule file only defined one branch.

This happens when running uncertainty analysis, one branch is not produced by pre-processor but the user expects it to be produced while making Completor case file.

To Reproduce

Rerun Completor with attached files

Expected behavior

Described below

hrsut commented 2 months ago

input_test.txt test_1.txt

Case file: input_test.txt Schedule file: test_1.txt

Expected behavior: Completor will exit and give error message saying that the case file defines 2 branches and schedule file only has 1 branch. Missing branch number 2.

hrsut commented 2 months ago

Another example is the inverse from first case within the same case_file input_test.txt test_2.txt

In this example, the schedule file defines only Branch number 2, where the branch number 1 is missing.

Expected behavior: Completor will exit and give error message saying that the case file defines 2 branches and schedule file only has 1 branch. Missing branch number 1.