Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

Inch-Dia Calculation Overview

3D Model Data MTO (Material Take-Off) Data BQ Calculation for Inch-Dia BQ Summary

PCWBS Line No. Short Code Size1 Size2 Qty PCWBS Line No. Short Code Size1 Size2 Qty Joint Count Inch-Dia (Size x Joint Count)
A100 LINE-0001 P 10 100 A100 LINE-0001 P 10 100 8 80 PCWBS
A100 LINE-0001 4L 10 2 A100 LINE-0001 4L 10 2 4 20 Material A100 A200 … B900
A100 LINE-0001 9L 10 1 A100 LINE-0001 9L 10 1 2 10 Carbon Steel 21463 43200 … …
A100 LINE-0001 CA 10 5 A100 LINE-0001 CA 10 5 5 10 Low Alloy Steel … … … …
A100 LINE-0001 TS 10 1 A100 LINE-0001 TS 10 1 3 30 Stainles s Steel … … … …
A100 LINE-0001 TR 10 8 2 A100 LINE-0001 TR 10 8 2 6 56 Non-Ferrous Metal … … … …
Extract Piping Material Data from 3D A100 LINE-0001 RC 10 8 5 10 90
A100 LINE-0001 RC 10 8 5 Total … … … …
model and format JGC MTO data. A100 LINE-0001 F 10 5 5 50
A100 LINE-0001 F 10 5
… … … … … … … … … … … … … …

Calculate joint count and inch-dia quantity for each MTO(Material Take-Off) data.
Joint count and Inch-Dia calculation formulas are shown below.

Joint counts are calculated from number of each end preparation.


In JGC, joints and inch-dia are calculated by following joint type.
- Butt Weld, Socket Weld, Weldolet, Nozzle Weld, Reinforced PAD, Thread Joint.

Pipe Inch-Dia Calculation : Pipe Flange Inch-Dia Calculation : Flange Tee Inch-Dia Calculation : Straight Tee, Reducing Tee

Joint Count D2 Joint Count


Joint Count
For Pipe Rack, Sleeper, Underground : Joint Count (D1) = Quantity x 2
Joint Count = Int(Quantity(Length) / Purchase Length) Joint Count(D) = Quantity x 1 Joint Count (D2) = Quantity x 1

For Around Equipment :


Joint Count = 0 (Don't calculate)

D
Inch-Dia
-------------------------------------------------------------- Inch-Dia
Inch-Dia = Size(D1) x Joint Count(D1)
Note : Inch-Dia = Size(D) x Joint Count(D) + Size(D2) x Joint Count(D2)
Qty (Pipe Length) Purchase Length are defined by following

D1
material category :
- Carbon Steel
- Low Alloy Steel
- Stainless Steel
- Non-Ferrous Metal
D

L L L Joint Count
Nozzle Weld , Olet Inch-Dia Calculation : Flange
Joint Count(D) = Quantity x 1
L = Purchase Length Inch-Dia D2
D2 Joint Count
For Pipe Rack, Sleeper, Underground :

D
Inch-Dia = Size x Joint Count Joint Count(D1) = 0
Inch-Dia Joint Count(D2) = Quantity x 1
For Around Equipment :
Inch-Dia = Size(D) x Joint Count(D)
Inch-Dia = 0 (Don't calculate)
Inch-Dia

D1
For 90 deg :
Inch-Dia = Size(D2) x Joint Count
For 45 deg :
Inch-Dia = Sqrt(2) x Size(D2) x Joint Count

Joint Count (sqrt(2) = 1.4142)

Joint Count(D) = Quantity x 2


D2
Elbow, Cap Inch-Dia Calculation : Elbow, Cap Joint Count
D2
Joint Count(D1) = 0

D
Joint Count
Inch-Dia Joint Count(D2) = Quantity x 1
Joint Count = Quantity x 2
Inch-Dia = Size(D) x Joint Count(D)

Inch-Dia

D1
Inch-Dia Inch-Dia = Coefficient x Size(D2) x Joint Count

Inch-Dia = Size(D) x Joint Count (Coeff. : Default = 3, modified by each project)

Valve (Flange Type excluded) Inch-Dia Calculation : Valve (Flange Type excluded)
D D2 Joint Count

Joint Count Joint Count Joint Count(D1) = 0


Joint Count(D2) = Quantity x 2
Joint Count(D) = Quantity x 1 Joint Count(D) = Quantity x 2
D

Inch-Dia Inch-Dia

D
Inch-Dia = Size(D) x Joint Count(D) Inch-Dia Inch-Dia = Size(D2) x Joint Count(D2)
Inch-Dia = Size(D) x Joint Count(D)

D1
Reducer Inch-Dia Calculation : Elbow, Cap

Joint Count
Joint Count (D1) = Quantity x 1
D1

D2

Joint Count (D2) = Quantity x 1

Inch-Dia
Inch-Dia = Size(D1) x Joint Count(D1)
+ Size(D2) x Joint Count(D2)
D1

D2
BQ Calculation (Joint Count/Inch-Dia) Calculation Logic

1. Retrieving data required for joint count and inch-dia calculation


Following data will be retrieved from MTO Data (T_MTO_DATA) for weld joint count and inch-dia calculation
Line Class : Material information (CS/LAS/SS) for deciding pipe length
Short Code : Short code is required for deciding inch-dia calculation type
Size1 / Size 2 : Size information is required for getting pipe length and calculating inch-di
Position : Position is required for getting pipe length

2. Retrieving Inch-Dia Calculation Type


Calculation type is retrieved from short code list (T_SHORT_CODES) as follows
Column (ID_CALC_TYPE) is name of calculation type

In Mini-MACS, following calculation types are defined. One of them must be assigned to each short codes
"NO_CALC" must be selected if no calculation is required for particular short codes

SEQ ID_CALC_TYPE DESCRIPTION


1 OLET Olet
2 BOSS Boss
3 FLG Flange
4 FLG_RED Reducing Flange
5 VALVE Valves
6 FIT_1SIZE 1 Size Fitting
7 FIT_2SIZE 2 Size Fitting
8 BR_NZ Nozzle Weld without Pad
9 BR_HPAD Nozzle Weld with Half Pad
10 BR_FPAD Nozzle Weld with Full Pad
11 PIPE Pipe
3. Weld joint count for inch-dia calculation.
Weld joint count and inch-dia calculation will be done according to inch-dia calculation type defined for each short codes

3.1 ID_CALC_TYPE = 'OLET', 'BOSS'


Calculation logic of "OLET" and "BOSS" is as follows

Get joint type and joint qty factor value from T_GEOM_ID_BASIS as shown below

Calculating weld joint count and inch-dia for each size


For size 1 calculation : (T_BQ_ID_DATA.JOINT_SIZE_1, T_BQ_ID_DATA.SIZE_1_JOINT_TYPE, T_BQ_ID_DATA.SIZE_1_JOINT_QTY
JOINT_SIZE = T_MTO_DATA.SIZE_2
JOINT_TYPE = T_GEOM_ID_BASIS_SC.JOINT_LTYPE
JOINT_QTY = T_MTO_DATA.QTY x T_GEOM_ID_BASIS_SC.JOINT_LQTY
For size 2 calculation : (T_BQ_ID_DATA.JOINT_SIZE_2, T_BQ_ID_DATA.SIZE_2_JOINT_TYPE, T_BQ_ID_DATA.SIZE_2_JOINT_QTY
JOINT_SIZE = T_MTO_DATA.SIZE_2
JOINT_TYPE = T_GEOM_ID_BASIS_SC.JOINT_STYPE
JOINT_QTY = T_MTO_DATA.QTY x T_GEOM_ID_BASIS_SC.JOINT_SQTY

3.2 ID_CALC_TYPE = 'FLG', 'FIT_1SIZE', 'FIT_2SIZE', 'VALVE


Calculation logic of "FLG", "FIT_1SIZE", "FIT_2SIZE" and "VALVE" is as follows

Get joint type and joint qty factor value from T_GEOM_ID_BASIS as shown below

Calculating weld joint count and inch-dia for each size


For size 1 calculation : (T_BQ_ID_DATA_ORIGINAL.JOINT_SIZE_1/SIZE_1_JOINT_TYPE/SIZE_1_JOINT_QTY
JOINT_SIZE = T_MTO_DATA.SIZE_1
JOINT_TYPE = T_GEOM_ID_BASIS_SC.JOINT_LTYPE
JOINT_QTY = T_MTO_DATA.QTY x T_GEOM_ID_BASIS_SC.JOINT_LQTY
For size 2 calculation : (T_BQ_ID_DATA_ORIGINAL.JOINT_SIZE_2/SIZE_2_JOINT_TYPE/SIZE_2_JOINT_QTY
JOINT_SIZE = T_MTO_DATA.SIZE_2
JOINT_TYPE = T_GEOM_ID_BASIS_SC.JOINT_STYPE
JOINT_QTY = T_MTO_DATA.QTY x T_GEOM_ID_BASIS_SC.JOINT_SQTY
3.3 ID_CALC_TYPE = 'FLG_RED'
Calculation logic of "FLG_RED" is as follows.

Get joint type and joint qty factor value from T_GEOM_ID_BASIS as shown below

Calculating weld joint count and inch-dia for each size


For size 1 calculation : (T_BQ_ID_DATA_ORIGINAL.JOINT_SIZE_1/SIZE_1_JOINT_TYPE/SIZE_1_JOINT_QTY
JOINT_SIZE = T_MTO_DATA.SIZE_1
JOINT_TYPE = ""
JOINT_QTY = 0
For size 2 calculation : (T_BQ_ID_DATA_ORIGINAL.JOINT_SIZE_2/SIZE_2_JOINT_TYPE/SIZE_2_JOINT_QTY
JOINT_SIZE = T_MTO_DATA.SIZE_2
JOINT_TYPE = T_GEOM_ID_BASIS_SC.JOINT_STYPE
JOINT_QTY = T_MTO_DATA.QTY x T_GEOM_ID_BASIS_SC.JOINT_SQTY

3.4 ID_CALC_TYPE = 'BR_NZ', 'BR_HPAD'


Calculation logic of "BR
BR_NZ"
NZ and "BR
BR_HPAD"
HPAD is as follows.

Get joint type and joint qty factor value from T_GEOM_ID_BASIS as shown below

Calculating weld joint count and inch-dia for each size


For size 1 calculation : (T_BQ_ID_DATA_ORIGINAL.JOINT_SIZE_1/SIZE_1_JOINT_TYPE/SIZE_1_JOINT_QTY
JOINT_SIZE = T_MTO_DATA.SIZE_1
JOINT_TYPE = ""
JOINT_QTY = 0
For size 2 calculation : (T_BQ_ID_DATA_ORIGINAL.JOINT_SIZE_2/SIZE_2_JOINT_TYPE/SIZE_2_JOINT_QTY
JOINT_SIZE = T_MTO_DATA.SIZE_2
JOINT_TYPE = T_GEOM_ID_BASIS_SC.JOINT_STYPE
JOINT_QTY = T_MTO_DATA.QTY x T_GEOM_ID_BASIS_SC.JOINT_SQTY
3.5 ID_CALC_TYPE = 'BR_FPAD'
Calculation logic of "BR_FPAD" is as follows.

Get joint type and joint qty factor value from T_GEOM_ID_BASIS as shown below

Calculating weld joint count and inch-dia for each size


For size 1 calculation : (T_BQ_ID_DATA_ORIGINAL.JOINT_SIZE_1/SIZE_1_JOINT_TYPE/SIZE_1_JOINT_QTY
JOINT_SIZE = T_MTO_DATA.SIZE_1
JOINT_TYPE = T_GEOM_ID_BASIS_SC.JOINT_LTYPE
JOINT_QTY = T_MTO_DATA.QTY x T_GEOM_ID_BASIS_SC.JOINT_LQTY
For size 2 calculation : (T_BQ_ID_DATA_ORIGINAL.JOINT_SIZE_2/SIZE_2_JOINT_TYPE/SIZE_2_JOINT_QTY
JOINT_SIZE = T_MTO_DATA.SIZE_2
JOINT_TYPE = T_GEOM_ID_BASIS_SC.JOINT_STYPE
JOINT_QTY = T_MTO_DATA.QTY x T_GEOM_ID_BASIS_SC.JOINT_SQTY

3.6 ID_CALC_TYPE = 'PIPE'


Inch-Dia calculation logic for pipe is as follows
Retrieve pipe material (PIPE_MTL) and end preparation (END_PREP) from T_SPEC_CLASS_SUMMARY
Pipe material (PIPE_MTL) designation is as follows
CS : Carbon Steel
LA : Low Alloy Steel
SS : Stainless Steel
NO : Non-Ferrous Metal
NM : Non-Metal

End preparation (END_PREP) designation is as follows


BW : Count as Butt Weld (This end prep. is effective only for pipe, other components' end prep is defined T_GEOM_ID_BASIS_SC
SW : Socket Weld
TH : Thread Weld

Retrieving pipe length from T_GEOM_PIPE_LEN as follows

Column definition of columns is as follows


SIZE_FROM/SIZE_TO : Size range of pipe to define fixed pipe length
POS : Position for each fixed pipe length definition
One of "A", "R", "S", and "U" must be selected
MTL_GROUP : Pipe material defined in T_SPEC_CLASS_SUMMARY.
Material designation must be same as T_SPEC_CLASS_SUMMARY.PIPE_MTL
PIPE_LENGTH : Fixed pipe length value
Use "99.9" if calculation by fixed pipe length is not required. Usually, "99.9" is used for POS = "A

Retrieving data for fixed pipe length value by using following MTO Data (T_MTO_DATA)
T_MTO_DATA.SIZE_1
T_MTO_DATA.POS
T_MTO_DATA.LINE_CLASS → T_SPEC_CLASS_SUMMARY.PIPE_MTL

Calculating joint calculation if fixed pipe length value is not "99.9

For size 1 calculation :


JOINT_SIZE = T_MTO_DATA.SIZE_1
JOINT_QTY = (T_MTO_DATA.QTY / T_GEOM_PIPE_LEN.PIPE_LENGTH) . Float value will be truncated

For size 2 calculation (not calculated)


JOINT_SIZE = 0
JOINT_QTY = 0

4. Inch-Dia calculation
Inch-dia will be calculated by using weld joint count calculation resul
For size 1 calculation
T_BQ_ID_DATA.ORIGINAL.SIZE_1_JOINT_ID = JOINT_SIZE_1 x SIZE_1_JOINT_QTY
For size 2 calculation
T_BQ_ID_DATA.ORIGINAL.SIZE_2_JOINT_ID = JOINT_SIZE_2 x SIZE_2_JOINT_QTY

These calculation result will be saved to T_BQ_ID_DATA_ORIGINAL, then converted to T_BQ_ID_DATA as follow

T_BQ_ID_DATA_ORIGINAL
SIZE_1_JOINT_TYPE JOINT_TYPE_SIZE_1 SIZE_1_JOINT_QTY SIZE_1_JOINT_ID SIZE_2_JOINT_TYPE JOINT_TYPE_SIZE_2 SIZE_2_JOINT_QTY SIZE_2_JOINT_ID
BW 6 3 18 BW 4 3 12

T_BQ_ID_DATA
SIZE_TYPE JOINT_SIZE JOINT_TYPE JOINT_QTY JOINT_ID
SIZE_1 6 BW 3 18
SIZE_2 4 BW 3 12

You might also like