neqsim-hydrate-margin-check
Skill4 starsChanged 5 months agoApache-2.0View on GitHub
Educational hydrate operating-margin screening placeholder with public assumptions. USE WHEN: a task needs a quick check of whether an operating point keeps a safe temperature margin above a hydrate equilibrium temperature and should be directed to validated NeqSim methods for real calculations.
In this repository90 other files it gives its agents.
- neqsim-document-intelligence-extractionSkill
- neqsim-co2-emissions-screeningSkill
- neqsim-energy-emissions-screeningSkill
- neqsim-weather-dataSkill
- neqsim-anp-open-dataSkill
- neqsim-artificial-lift-screeningSkill
- neqsim-asset-value-npv-screeningSkill
- neqsim-capex-opex-screeningSkill
- neqsim-design-basis-screeningSkill
- neqsim-economy-basis-screeningSkill
- neqsim-ncs-infrastructure-networkSkill
- neqsim-ncs-ownership-equitySkill
- neqsim-ncs-value-chain-optimizationSkill
- neqsim-norwegian-continental-shelf-dataSkill
- neqsim-psc-bid-economics-screeningSkill
- neqsim-reservoir-depletion-screeningSkill
- neqsim-reservoir-facility-value-chainSkill
- neqsim-reservoir-model-builderSkill
- neqsim-resource-classification-screeningSkill
- neqsim-hydrate-screeningSkill
- neqsim-multiphase-flow-slug-screeningSkill
- neqsim-olga-multiphase-simulatorSkill
- neqsim-produced-water-scale-screeningSkill
- neqsim-surf-cooldown-screeningSkill
- neqsim-two-phase-flow-regime-screeningSkill
- neqsim-wax-margin-checkSkill
- neqsim-acoustic-induced-vibration-screeningSkill
- neqsim-adsorbent-capillary-condensation-screeningSkill
- neqsim-ageing-life-extension-screeningSkill
- neqsim-cfd-couplingSkill
- neqsim-compressor-antisurge-recycleSkill
- neqsim-compressor-operating-window-checkSkill
- neqsim-compressor-power-screeningSkill
- neqsim-continuous-improvement-toolkitSkill
- neqsim-control-authority-screeningSkill
- neqsim-control-valve-cv-screeningSkill
- neqsim-dry-gas-seal-screeningSkill
- neqsim-dynamic-instrument-controller-setupSkill
- neqsim-dynamic-process-preparationSkill
- neqsim-fem-couplingSkill
- neqsim-fired-heater-duty-screeningSkill
- neqsim-flow-induced-vibration-screeningSkill
- neqsim-gas-scrubber-sizing-screeningSkill
- neqsim-gas-turbine-performance-screeningSkill
- neqsim-heat-exchanger-fouling-assessmentSkill
- neqsim-line-velocity-checkSkill
- neqsim-noise-screeningSkill
- neqsim-pipe-wall-thickness-screeningSkill
- neqsim-piping-flexibility-screeningSkill
- neqsim-pressure-drop-screeningSkill
- neqsim-pump-hydraulics-screeningSkill
- neqsim-reciprocating-compressor-screeningSkill
- neqsim-reliability-data-screeningSkill
- neqsim-sand-erosion-screeningSkill
- neqsim-separator-modellingSkill
- neqsim-teg-dehydration-modelingSkill
- neqsim-uncertainty-quantificationSkill
- neqsim-utility-balance-screeningSkill
- neqsim-water-dewpoint-dehydration-screeningSkill
- neqsim-benchmark-reference-dataSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 8 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Use this skill for a quick, public check of whether a process or pipeline operating point keeps a temperature margin above a known hydrate …
- Distinctive: line 20
When a user asks whether an operating temperature stays clear of the hydrate region.
- Distinctive: line 21
When a validated NeqSim hydrate equilibrium temperature is already available.
- Distinctive: line 22
When an agent should explain that validated NeqSim methods are required for real hydrate prediction and inhibitor design.
- Very specific: line 60
If the optional neqsim Python package is available, the result records that fact so an agent can recommend moving to validated NeqSim …
- Distinctive: line 81
No hydrate phase equilibrium calculation is performed in this skill.
- Distinctive: line 82
No salinity, methanol, MEG, kinetics, composition, or transient effects are included.
- Distinctive: line 83
No proprietary hydrate curves or company operating envelopes are included.
- Distinctive: line 84
Not suitable for flow assurance design, inhibitor dosage, or operating-limit decisions.
≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Hydrate Margin Check
Use this skill for a quick, public check of whether a process or pipeline operating point keeps a temperature margin above a known hydrate equilibrium temperature. It is intentionally simple and should guide users toward validated NeqSim hydrate calculations for real work.
When to Use
- When a user asks whether an operating temperature stays clear of the hydrate region.
- When a validated NeqSim hydrate equilibrium temperature is already available.
- When an agent should explain that validated NeqSim methods are required for real hydrate prediction and inhibitor design.
Inputs
operating_temperature: operating temperature in C.hydrate_equilibrium_temperature: hydrate equilibrium (formation) temperature in C from a validated NeqSim calculation.min_margin: configurable minimum acceptable margin in C (constructor, default 3.0).
Outputs
hydrate_margin_c: operating temperature minus the hydrate equilibrium temperature in C.subcooling_c: subcooling into the hydrate region in C, zero when the operating point is outside the region.margin_warning:ok,watch, orhigh.neqsim_available: whether the optional NeqSim package is importable.assumptions: public assumptions and required follow-up.
Engineering Method
The placeholder method computes the hydrate margin as operating_temperature - hydrate_equilibrium_temperature. A non-positive margin means the operating point is inside the hydrate region and is flagged high. A small positive margin below min_margin is flagged watch. A larger margin is flagged ok.
This is not a thermodynamic hydrate model. The hydrate equilibrium temperature must come from a validated NeqSim hydrate calculation with a defined fluid composition, water content, inhibitor basis, and operating envelope.
Python Usage Pattern
from hydrate_margin_check import HydrateMarginModel
model = HydrateMarginModel(min_margin=3.0)
result = model.evaluate(
operating_temperature=10.0,
hydrate_equilibrium_temperature=8.0,
)
print(result.hydrate_margin_c)
print(result.margin_warning)
print(result.assumptions)If the optional neqsim Python package is available, the result records that fact so an agent can recommend moving to validated NeqSim hydrate workflows. If not, the example still runs with fallback placeholder logic.
Validation Checklist
- Operating and hydrate equilibrium temperatures are finite.
- The hydrate equilibrium temperature came from a validated NeqSim calculation.
- In-region and out-of-region cases are tested.
- The minimum margin is documented as a configurable public guideline only.
- Results are not used as inhibitor dosage, design margin, or operating limit.
- Real hydrate work is redirected to validated NeqSim methods and qualified review.
Common Mistakes
| Symptom | Cause | Fix |
| Margin looks safe but hydrates still form | Hydrate equilibrium temperature was guessed | Use a validated NeqSim hydrate equilibrium temperature |
| Margin warning never triggers | min_margin set too low | Use a service-appropriate operating margin and confirm with flow assurance review |
| Missing inhibitor effect | Inhibitor was not included in the NeqSim basis | Provide the inhibitor basis to NeqSim and recompute the hydrate temperature |
Limitations
- No hydrate phase equilibrium calculation is performed in this skill.
- No salinity, methanol, MEG, kinetics, composition, or transient effects are included.
- No proprietary hydrate curves or company operating envelopes are included.
- Not suitable for flow assurance design, inhibitor dosage, or operating-limit decisions.
Related NeqSim Functionality
This educational screening corresponds to validated, rigorous functionality in the NeqSim Java library that a qualified engineer should use for design-grade work:
neqsim.thermo.system.SystemSrkCPAstatoil— CPA equation of state for water-bearing natural gas.neqsim.thermodynamicoperations.ThermodynamicOperations#hydrateFormationTemperature()— rigorous hydrate equilibrium temperature and margin to operating conditions.
In Python the same classes are reachable through the neqsim package (for example from neqsim import jneqsim).
References
- NeqSim repository: https://github.com/equinor/neqsim
- NeqSim Skills Guide: https://github.com/equinor/neqsim/blob/master/docs/integration/skills_guide.md
- Sloan and Koh, Clathrate Hydrates of Natural Gases, for public hydrate background.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

