lh2-psv-tno-risk
Research record and lightweight post-processing tools for the manuscript “Conditional Risk Analysis Linking Self Pressurization and Pressure Relief Venting in a Liquid Hydrogen Storage Tank.”
The repository links four calculation stages:
- heat ingress and self-pressurization of a horizontal LH2 tank;
- binary PSV opening, closing, and time-dependent vent release;
- depressurization flash state and vent-outlet thermal state; and
- TNO-aligned jet-fire and atmospheric-dispersion routing indicators.
The public package contains the reported results, plotting scripts, figures, and small audit functions. It does not redistribute facility drawings, proprietary equipment records, or the complete internal TNO calculation system. The values are therefore a citable research record and a transparent post-processing reference, not a design-certified PSV sizing tool.
Install
The published package is available from PyPI.
pip install lh2-psv-tno-risk
Use
from lh2_psv_tno_risk import (
classify_dispersion_route,
conditional_risk_area,
flash_equivalent_mass,
load_published_results,
)
print(classify_dispersion_route(1.019))
print(flash_equivalent_mass(2141.3, 0.01288))
print(conditional_risk_area(2.320, 0.053))
print(load_published_results()["headline"])
The command-line summary is available as:
lh2-psv-tno-risk
Reproduce the figures
The paper/data directory stores the machine-readable result ledgers used by
the manuscript. Install the figure dependencies and run:
pip install -e ".[figures,test]"
python scripts/plot_parameter_comparisons.py
python scripts/summarize_lh2_phase_dynamics.py
pytest
The scripts regenerate the five manuscript figures from the saved result ledgers. Re-running the upstream tank and internal TNO solvers requires the qualified source models used by the study and is outside this public archive.
Scope of the reported risk metric
The conditional risk-area proxy integrates location-dependent fatality probability over a horizontal plane after multiplying by a selected direct-ignition probability. It excludes annual initiating-event frequency, weather frequency, and occupancy. It must not be interpreted as annual individual risk.
Citation
Use CITATION.cff. The archived software record is available at
https://doi.org/10.5281/zenodo.23105207.
Acknowledgement
This work was supported by the Ministry of Climate, Energy and Environment (MCEE) and the Korea Institute of Energy Technology Evaluation and Planning (KETEP) under project No. RS-2025-02311196.
License
MIT for the code and original metadata in this repository. Third-party models and source publications retain their own terms.
Metadata
Release files for lh2-psv-tno-risk 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lh2_psv_tno_risk-0.1.2.tar.gz | 6.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lh2_psv_tno_risk-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.8 kB
Release files / lh2_psv_tno_risk-0.1.2.tar.gz
| Download URL | lh2_psv_tno_risk-0.1.2.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1944315c43ecd96a4d5e254fd20ace3985000a5238e71999a62bde185f2aef04
|
|
BLAKE2b-256 checksum How to use checksums |
d36f6f00409ad48f283dd3f7b5133dcf2d47c9b1f9fd487d0a6c99286c7c4b52
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.
Transparency logRelease files / lh2_psv_tno_risk-0.1.2-py3-none-any.whl
| Download URL | lh2_psv_tno_risk-0.1.2-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
848debfa81d75313906dfce1b64b72b05b8ab55e18754628481e9ad0e2d82598
|
|
BLAKE2b-256 checksum How to use checksums |
ea7e06f56b9de99b0c406db45c27e6542aba449dd6a7e3f23720e41b84c8f211
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.
Transparency log