Apply NORSOK standards for Norwegian petroleum industry materials, safety, and structural design
Norsk Sokkels Konkurranseposisjon (NORSOK) standards for the Norwegian petroleum industry.
Version: 1.0.0 Created: 2026-01-12 Category: SME / Codes & Standards
NORSOK standards are developed by the Norwegian petroleum industry to ensure adequate safety, value adding, and cost effectiveness. They are known for being more stringent than international standards, particularly regarding materials and safety in harsh North Sea environments.
NORSOK D-010 defines the "Two Barrier Principle":
M-001 refers to specific MDSs that precisely define chemistry and testing for steel grades (e.g., "MDS D46" for Duplex Stainless Steel).
def check_barrier_status(primary_status, secondary_status):
"""
Evaluate well integrity based on NORSOK D-010 principles.
"""
if primary_status == "OK" and secondary_status == "OK":
return "GREEN: Healthy"
elif primary_status == "FAILED" and secondary_status == "OK":
return "ORANGE: Degraded (Single Barrier Failure)"
elif secondary_status == "FAILED":
return "RED: Unsafe (Secondary or Double Failure)"
else:
return "UNKNOWN"
/mnt/ace/O&G-Standards/Norsok/