Beruflich Dokumente
Kultur Dokumente
using MATLAB
meytim@gmail.com
http://matlab1st.blogspot.com
1
This is what IOEC pipeline installation dept. was doing before preparation of this software.
2
OFFPIPE Output Files Format
In appendix 1, some part of an OFFPIPE output file is shown. As you see, the output
of this software includes of some separate parts. Usually, its 1st part is the software logo
and commercial details, which also can be omitted, but no one do. Its next part is “Inputs
Echo”. This part can be omitted as well, but usually no one do. For the program which is
prepared, this part is required1. Its next part is the analysis outputs, which itself includes
of several series of tables, and each tables series itself includes of 5 types of tables.
- Formulas
Above mentioned formulas are different for different pipelayer barges. So, it should
be cared which pipelayer barge is going to be used for pipelaying; Abouzar 1200, C-
Master2, or another pipelayer barge.
The first ref. line indicates the Page Breaks which OFFPIPE uses for print paging of
inputs (and outputs). This ref. line is used several times. During data reading, whenever
the program reaches to a Page Break, abandons 4 lines after and search for “case” at
almost end of the 5th line, and hence finds the analysis case number.
The 5th ref. phrase indicates end of the input echo. Program till to this ref. line, reads
the data which are located after three ref. phrases two to four, and restore each type
together with its case number in a matrix. The number of analysis cases is found at the
end of “input echo”. So the 1st column of summary table is filled simply. Since OFFPIPE
considers previous case corresponding properties in each case which is not specified,
columns 1 to 3 and 6 are filled. See appendix 23.
1
If the “input echo” is not present, the program should be modified in such a way, that reads these
information from OFFPIPE input files, or they should be entered manually.
2
Two IOEC pipelayer barges
3
This table data is not real, and it’s considered so just to show a general form.
3
After this stage, columns 4, 5 and 7 to 10 can be filled using formulas. Las column
(column 22), which indicates wave and current direction, considering the analysis itself is
known and can be filled simply. The remaining columns 11 to 21 are the topic of
following subchapter.
The first ref. line indicates the Page Breaks which OFFPIPE uses for print paging of
inputs (and outputs). This ref. line is used several times. The program reads series of data,
up to end of file, and after processing fills remaining columns of summary table.
1
This is not a general definition; it’s just for our purpose.
4
Since each analysis includes of some cases, the tasks said in this subchapter, is
repeated per each case and output of each case is stored in one “Sheet” of the “Excel”
file.
5
How to use the program?
The program is written in such a manner that its usage is very simple. For this
purpose, first all A&R analysis output files should be stored in a folder. Then the file
“main” should be opened in MATLAB software, and the analysis type (Stress/Strain) and
above-mentioned folder address should be inserted in the specified spaces in the file and
save and then run the program. After running, this program generates an Excel file named
“Out” in the same folder, which the desired summarized tables prepared in its Sheets. A
sample is shown below; operator should only fill two highlighted spaces.
% main
close all
clear, clc
global AnalIndx
%-----------------------------------------------------------------------
%------------------------- Input Data Section --------------------------
%-----------------------------------------------------------------------
% PRINT PIPE STRAINS IN OUTPUT
% 1 for YES ------- Strain
% 0 for NO ------- Stress
AnalIndx=0;
Important Pitfalls
For simplicity, all previous descriptions are for when the OFFPIPE output
data are based on strain. In this case, in the OFFPIPE model, the option
“PRINT PIPE STRAINS IN OUTPUT” is set on “YES”. In the case of
outputs OFFPIPE be given based on stress, these option in OFFPIPE
model is set on the “NO” and tables are slightly different. The variable
“AnalIndx” in above program is considered for this purpose.
Before completion of the program running, the file Out.xls, which
summary tables are being produced in it, should not be opened; opening
of this file discontinues the program running.
6
Appendix 1 – some parts of an OFFPIPE output file
7
Appendix 2 – some part of a sample A&R analysis summarized table
8
Appendix 3 – a sample A&R analysis summarized table