Professional Documents
Culture Documents
"""
Created on Mon Nov 28 10:01:56 2022
"""
# Import libraries
import numpy as np
# Constants
g=9.806 #m/s2
# Input data
asset='pipeline'
# Code & Standard NEN3650-1/2 & 3655 (2020)
# Partial Safety factors
loc_NEN=str(input("Enter location for safety class determination Z1 or Z2:\n"))
if loc_NEN=='Z1':
#fi_Z1=1.39 ; fe_Z1=1.39 #NEN 3650-2 2020 uses 1.25 for incidental at field
section
f_hp=1.25 #NEN 3650-2: 2020, Table 2, BC 2, the partial factor for normal route
else: #loc_NEN==Z2:
#fi_Z2=1.50 ; fe_Z2=1.50 #NEN 3650-2 2020 uses 1.50/1.1 for incidental at
station
f_hp=1.5/1.1 #NEN3650-2: 2020, § 8.5.2, the partial factor for internal
pressure on 500 zone
f_hyd=1.30 #taken from NEN-EN 1594 for natural gas
gamma_m=1.1 # NEN 3650-2:2020 table 3, D.3.1 & NEN 3650-2: 2020, table D.2.
# Geometry
x=float(input("Enter the pipe outer diameter in inches:\n")) #inches
OD=x*25.4 #m