This software implements the paper "Corrosion loop development of oil and gas piping system based on machine learning and group technology method" (see the paper here). The aim is to develop an automated corrosion loop development system based on k-means clustering and group technology method. This system is expected to reduce the man-hours required develop corrosion loops.
This system uses Python and Javascript as the main languages. The following have to be installed:
git clone https://github.com/andikarachman/Automated-Corrosion-Loop-Development.git
cd Automated-Corrosion-Loop-Development
npm install
cd client
npm install
cd ..
pip3 install -r requirements.txt
The login uses MongoDB. You should fill the MongoURI of your MongoDB instance in ./config/keys.js
.
From the root, run
npm start
The input file is in Excel (.xlsx) with format as shown in the image below:
The first row is the name of the features included as the boundary requirements (e.g. operating pressure/temperature, material type, insulation type, etc.). There is no limitation on the number of features to be included in the analysis. The next rows are the values corresponding to the features. The input uses sheet with the name Sheet 1
and starts from the A1
cell. Other sheets should be empty.
The output file is in Excel (.xlsx) with format as shown in the image below:
The corrosion loop name for each compnent is added in the last column.