Input matrix templates

1. TPL input matrix

This is a matrix used for simplifying the extraction of trends of more than one variable at different locations and specifying wich unit you want the output in. The matrix is in the form of a table with the following columns:

varname BRANCH POSITION PIPE NR out_unit time_unit
QLT JUMPER-1 None PIPE-1 1 ft3_d h
QLT JUMPER-2 None None None ft3_d h
QLT None TOP_1 None None ft3_d h
PT JUMPER-1 None None None pa h
PT None TOP_1 None None pa h
PT B TO A None PIPE-2 2 pa h

Description

varname: Name of variable as specified in OLGA file

BRANCH, POSITION: The location name associated with the variable. This can represent a branch, position, node, choke, controller, or global. Each location has its own column, use None where a corresponding value is not available

PIPE, NR: Additional metadata from the file to help extract the exact variable intended. this could be the name of the pipe (PIPE), pipe number (NR) and wall layer (WALL LAYER). Some variables may not need this, in which case it can be left blank

out_unit: The output unit you desire. If you leave this blank, default units within the OLGA file will be used. NOTE: The list of compatible units, and the syntax is provided here. If you do not use the syntax provided, there will be errors.

time_unit: The unit of time you desire the outputs in.

2. PPL input matrix

This is a matrix used for simplifying the extraction of trends of more than one variable at different locations and specifying wich unit you want the output in. The matrix is in the form of a table with the following columns:

varname BRANCH PIPE NR out_unit out_unit_profile time_unit start_time end_time
QLT FLOWLINE_1 None None m3_s ft h 0 4
QLT RISER_1 PIPE-1 1 m3_s ft h 0 4
QLT WELLBORE_1 None None m3_s ft h 0 4
PT FLOWLINE_1 PIPE-1 2 pa ft h 0 4
PT RISER_1 None None pa ft h 0 4
PT WELLBORE_1 PIPE-2 1 pa ft h 0 4

Description

varname: Name of variable as specified in OLGA file

BRANCH, POSITION: The location name associated with the variable. This can represent a branch, position, node, choke, controller, or global. Each location has its own column, use None where a corresponding value is not available

PIPE, NR: Additional metadata from the file to help extract the exact variable intended. this could be the name of the pipe (PIPE), pipe number (NR) and wall layer (WALL LAYER). Some variables may not need this, in which case it can be left blank

out_unit: The output unit you desire. If you leave this blank, default units within the OLGA file will be used. NOTE: The list of compatible units, and the syntax is provided here. If you do not use the syntax provided, there will be errors.

out_unit_profile: The unit of profiles you want your outputs in.

time_unit: The unit of time you desire the outputs in.

start_time: The starting time of the timestamp range you want to extract trends.

end_time: the ending time of the timestamp range you want to extract trends.

3. PPL branch matrix

This is a matrix used specifically when joining the branches in a ppl file

branch_in branch_out
FLOWLINE_1 RISER_1
RISER_1 WELLBORE_1

Description

branch_in: Names of starting nodes.

branch_out: Names of ending nodes.