<jupyter_start><jupyter_text>**Task**:        Pipe pressure containment (bursting) according to DNVGL-ST-F101.**References**:1. [DNVGL-ST-F101](https://www.dnvgl.com/oilgas/download/dnvgl-st-f101-submarine-pipeline-systems.html)  (edition 2017-12)1. [PDover2t](https://github.com/qwilka/PDover2t)  Copyright © 2018 <NAME>.  Licensed under the MIT license, see [PDover2t LICENSE file](https://github.com/qwilka/PDover2t/blob/master/LICENSE) for details.<jupyter_code>import pprint
import numpy as np
import pdover2t
parameters = {
    "alpha_U": 1.0,
    "D": 0.660,
    "g": 9.81,
    "gamma_inc": 1.1,
    "gamma_SCPC": 1.138,
    "h_ref": 30.,
    "h_l": 0.,
    "material": "CMn",
    "p_d": 240e5, 
    "rho_cont": 275.,
    "rho_water": 1027.,
    "rho_t": 1027.,
    "SC": "medium",
    "SMYS": 450.e6,
    "SMTS": 535.e6,
    "t": 0.0212,
    "t_corr": 0.0005,
    "t_fab": 0.001,
    "T": 60,
}<jupyter_output><empty_output><jupyter_text>Calculate pipe pressure containment utility, showing all intermediate results and unity value.  Reference:  DNVGL-ST-F101 (2017-12)      sec:5.4.2.1, eq:5.6, page:93;  $p_{li}$      sec:5.4.2.1, eq:5.7, page:94;  $p_{lt}$  $$p_{li} - p_e \:\leq\: \min \left( \frac{p_b(t_1)}{\gamma_m \,\cdot\, \gamma_{SC,PC}} ;\frac{p_{lt}}{\alpha_{spt}}  - p_e ;\frac{p_{mpt} \cdot \alpha_U}{\alpha_{mpt}}  \right)$$$$p_{lt} - p_e \:\leq\: \min \left( \frac{p_b(t_1)}{\gamma_m \,\cdot\, \gamma_{SC,PC}} ;p_{mpt}  \right)$$<jupyter_code>p_cont_overall = pdover2t.dnvgl_st_f101.press_contain_all(ret="all", **parameters)
pprint.pprint(p_cont_overall)
print("Pressure containment unity check result: {:.2f}".format(p_cont_overall["p_cont_uty"]))<jupyter_output>Pressure containment unity check result: 1.10
{'fraction_non_alphanumeric': 0.20011534025374855, 'fraction_numerical': 0.06805074971164937, 'mean_word_length': 4.014450867052023, 'pattern_counts': {'":': 19, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 3, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '599961', 'license': 'MIT', 'n_tokens_mistral': 823, 'n_tokens_neox': 732, 'n_words': 133, 'path': 'examples/DNVGL-ST-F101_pressure_containment.ipynb', 'repo_name': 'geiragustsson/PDover2t_fork_rev002', 'size': '1743'}