Blowdown and MDMT screening
Models vessel blowdown and coldest metal temperature with NeqSim, so valve sizing and MDMT checks hold up.
What we improved
Fixed the API 521 fire heat input. The original gave Q = 43.2 F A^0.82 in W; the constant 43.2 gives kW. The skill now gives Q = 43 200 F A^0.82 W (70 900 without drainage and firefighting), the kW and US unit forms, the 7.6 m wetted area l
Improved by YourAISkill from the original by equinor, under its Apache-2.0 licence. The download includes the author's licence and a CHANGES.md listing every change. Both Claude reviews read the improved version.
Claude's review
8/10 Deep, careful NeqSim blowdown and MDMT workflow with correct API 521 fire inputs, known library traps, vapour-only withdrawal and verification checks; niche but expert.
We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.
In detail
Emergency depressurization (blowdown) per API 521 and MDMT assessment per ASME UCS-66 / API 579 / EN 13445 with a VU-flash transient model. USE WHEN: sizing a blowdown valve, producing a P-vs-time curve under fire or depressurization, checking MDMT against blowdown end-temperature, supplying relief/flare source terms, or separating blowdown from trapped-liquid rupture. Anchors on DepressurizationSimulator and MDMTCalculator.
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: neqsim-depressurization-mdmt
version: "1.1.0"
description: "Emergency depressurization (blowdown) and minimum design metal temperature (MDMT) screening with the NeqSim Java library: a VU-flash transient of a vessel discharging through a blowdown valve or orifice, API 521 fire heat input, BDV sizing by iteration, MDMT screening against ASME UCS-66 / UCS-66.1, vapour-only withdrawal for separators holding liquid, flare source terms and flare CO2, multi-vessel header loads and ESD response budgets. USE WHEN: sizing a blowdown valve or restriction orifice, producing P, T and mass flow versus time for a fire or cold blowdown, checking the coldest metal temperature against MDMT, supplying relief or flare load source terms, or reporting flaring emissions from a blowdown. Anchors on DepressurizationSimulator and MDMTCalculator; code checked against NeqSim source on 2 December 2026."
last_verified: "2026-12-02"
requires:
java_packages:
- neqsim.process.safety.depressurization
- neqsim.process.safety.mdmt
---
<!-- Modified by YourAISkill (youraiskill.com) on 2 December 2026 from the original by equinor. See CHANGES.md. -->
# NeqSim Depressurization & MDMT Skill
Transient blowdown / depressurization for inventory release in a fire or a controlled emergency, plus the minimum design metal temperature (MDMT) check that drives material selection. The two are linked: auto-refrigeration during blowdown can take the gas well below 0 °C (high-pressure light gas can go far below −40 °C), the coldest metal temperature often sets the MDMT, and the MDMT decides whether plain carbon steel, low-temperature carbon steel, 3.5 % Ni, 9 % Ni or austenitic stainless steel is needed.
This is screening and design support: results that set relief loads, materials or flare capacity need checking by a competent engineer against the standards and project basis.
## When to Use
Sizing a blowdown valve (BDV) or restriction orifice; P(t), T(t), m(t) and mass-flow curves for a fire or cold blowdown; MDMT screening against the coldest temperature; flare source terms and CO2. Not for steady-state PSV sizing, controller-driven process dynamics, or blocked-in liquid thermal expansion, which need different workflows.
## Standards
- **API STD 521** (7th ed., 2020): pressure-relieving and depressuring systems, fire heat input, depressuring guidance
- **API STD 520**: relief device sizing, used for the choke check at the BDV
- **ASME VIII-1 UCS-66 / UCS-66.1**: impact-test exemption curves and the stress-ratio reduction (carbon and low-alloy steel)
- **ASME VIII-1 UHA-51** (austenitic stainless), **API 579-1 / ASME FFS-1 Part 3** (brittle fracture of in-service equipment), **EN 13445-2 Annex B** (European brittle fracture rules), **NORSOK P-002 / L-002** (Norwegian process and piping design)
The API 521 depressuring guideline usually quoted: reach 690 kPa gauge (100 psig) or 50 % of design gauge pressure, whichever is lower, in about 15 minutes, for walls of about 25 mm or more (thinner walls may need faster). Confirm wording and applicability in your edition and the project basis.
## Units and behaviour you must know first
- Fluids: `new SystemSrkEos(T_K, P_bara)`. The simulator takes **back pressure and stop pressure in Pa absolute**. Results come back in bara, K, kg and kg/s.
- `run()` first rescales the fluid's moles so it fills the vessel volume at the starting T and P, then removes material from **the same fluid object**. Pass `fluid.clone()` if you need the starting state again.
- `res.vuFlashFallbackCount` counts steps where the VU flash failed and an isothermal step was used instead. Those steps cannot cool, so the minimum temperature is non-conservative unless the count is 0.
- **Without `setWall(...)`, `wallTempK` stays at the starting temperature for the whole run**, so `minWallTemperatureK` and `res.meetsMDMT(...)` pass no matter how cold the gas gets. Either configure the wall or compare MDMT with `minFluidTemperatureK` (conservative).
- Built-in flags `halfPressureCriterionMet` (50 % of *initial absolute* pressure) and `sevenBargCriterionMet` (8 bara) are judged at 900 s. For any other criterion use the helper in Method 2.
## Method 1: Blowdown Simulation (VU flash)
...From equinor's repository, Apache-2.0 licence.
Related skills
-
Checked
RNA-seq analysis with PyDESeq2
Runs bulk RNA-seq differential expression in PyDESeq2 with checks and plots, so your results hold up to review.
8/101 credit -
Checked
Single cell ATAC analysis
Takes 10x single cell ATAC data through QC, clustering and peak calling, so you end up with labelled cell types.
8/101 credit -
Checked
Single cell RNA seq pipeline
Runs a full single cell RNA seq analysis in Seurat or Scanpy, so you go from 10x counts to cell types and results.
8/101 credit -
Checked
Molfeat Molecule Features
Turns molecules into fingerprints and descriptors for chemistry machine learning, with no misaligned rows.
7/101 credit -
Checked
Single Cell Omics Models
Fits probabilistic single cell models with scvi-tools for batch integration, annotation and multimodal data.
7/101 credit -
Checked
Chemistry File Conversion
Reads and converts SMILES, SDF, MOL2 and PDB files without losing stereochemistry or charges.
8/101 credit