EIV-DR-P decision-rule risk model and figure script for in-service pressure-equipment inspection
Description
Computational engine (FIG-ART-09.py) that produces every number and every figure in the article "Conformity without margin: the missing decision rule in in-service pressure-equipment inspection, and how measurement uncertainty is amplified by derived acceptance quantities". It computes specific false-accept risk at a minimum-thickness limit, the uncertainty of derived corrosion rate and remaining life, the implicit guard band of the half-life interval convention, and fleet-level false-accept concentration. A self-check of 79 assertions runs before any figure is drawn. Requires Python 3 with NumPy, SciPy and Matplotlib; no input files, no network access, no random numbers. The article reports no primary measurement data.
Files
Steps to reproduce
Install Python 3 with NumPy, SciPy and Matplotlib. Run: python3 FIG-ART-09.py. The script first executes a self-check of 79 assertions; if any fails, no figure is written. It then writes Figure1.png to Figure5.png, which are identical to the figures in the article. No input files, network access or random seed are needed.
Institutions
- Indonesia University of EducationWest Java, Bandung