agentleFS
equinorequinor/neqsim-community-skills/skills/process/neqsim-dry-gas-seal-screening/SKILL.md

neqsim-dry-gas-seal-screening

Skill4 starsChanged 5 months agoApache-2.0View on GitHub

Educational dry gas seal supply and condensation screening for centrifugal compressors. USE WHEN: a task needs a public, screening-level estimate of seal-gas and separation-gas supply demand and a seal-gas condensation-margin check (cavity temperature versus hydrocarbon dew point) before detailed dry gas seal system design per API 692.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 7 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    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
  1. Distinctive:

    When a user asks whether a compressor dry gas seal has adequate seal-gas supply margin.

    line 20
  2. Distinctive:

    When an agent needs a quick condensation-risk triage for the primary vent / standpipe dead-leg before a detailed seal study.

    line 21
  3. Distinctive:

    When examples must run without confidential seal vendor data, machine line lists, or project seal-gas conditioning specifications.

    line 22
  4. Very specific:

    If the optional neqsim Python package is available, the result records that fact so an agent can recommend moving to validated NeqSim …

    line 72
  5. Distinctive:

    No seal vendor leakage curves, clearance models, or qualification data are included.

    line 92
  6. Distinctive:

    No isenthalpic (Joule-Thomson) expansion or transient standpipe cooldown is modelled.

    line 93
  7. Distinctive:

    No seal-gas conditioning unit (heater/separator) sizing is performed.

    line 94
  8. Distinctive:

    Not suitable for safety-critical, design, guarantee, or standards-compliance work.

    line 95

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Dry Gas Seal Screening

Use this skill for public, educational dry gas seal screening on centrifugal compressors. It estimates the seal-gas and separation-gas supply demand from the primary seal leakage rate and flags retrograde-condensation risk by comparing the seal cavity temperature against a hydrocarbon dew point at the seal/vent reference condition.

When to Use

  • When a user asks whether a compressor dry gas seal has adequate seal-gas supply margin.
  • When an agent needs a quick condensation-risk triage for the primary vent / standpipe dead-leg before a detailed seal study.
  • When examples must run without confidential seal vendor data, machine line lists, or project seal-gas conditioning specifications.

Inputs

  • seal_leakage_rate_nl_per_min: primary seal leakage rate at standard conditions in NL/min per seal.
  • seal_cavity_temperature_c: seal cavity (process-side) temperature in degrees C.
  • hydrocarbon_dew_point_c: hydrocarbon dew point at the seal/vent reference condition in degrees C.
  • seal_count: number of seals supplied (default 2: drive end and non-drive end).
  • supply_margin: seal-gas supply margin over leakage, dimensionless, default 1.25.
  • separation_gas_rate_nl_per_min: separation (secondary) gas rate per seal in NL/min, default 0.0.

Outputs

  • total_seal_gas_supply_nl_per_min: screening seal-gas supply demand.
  • separation_gas_supply_nl_per_min: screening separation-gas supply demand.
  • seal_gas_supply_margin_ratio: the applied supply margin over leakage.
  • condensation_margin_c: seal cavity temperature minus the hydrocarbon dew point.
  • condensation_warning: ok, watch, or high (a small or negative margin means higher condensation risk).
  • assumptions: public assumptions used by the placeholder model.

Engineering Method

The Python class DryGasSealModel uses open, public concepts only:

  • seal-gas supply demand is the primary seal leakage multiplied by the seal count and a supply margin, reflecting the API 692 intent that supply must exceed leakage to keep the seal faces clean.
  • separation-gas supply demand scales with the seal count.
  • the condensation margin compares the seal cavity temperature against a hydrocarbon dew point at the seal/vent reference condition. A small or negative margin flags retrograde condensation risk in the primary vent piping and standpipe dead-legs, which is the failure mode that seal-gas conditioning units exist to prevent.

This is educational and screening-only logic. It is not a seal vendor method, not a seal-gas conditioning design, and not a replacement for validated dry gas seal analysis and a qualified rotating-equipment review.

Python Usage Pattern

from dry_gas_seal_screening import DryGasSealModel

model = DryGasSealModel()
result = model.evaluate(
    seal_leakage_rate_nl_per_min=280.0,
    seal_cavity_temperature_c=44.0,
    hydrocarbon_dew_point_c=40.0,
    seal_count=2,
    supply_margin=1.25,
    separation_gas_rate_nl_per_min=120.0,
)

print(result.condensation_warning)
print(result.total_seal_gas_supply_nl_per_min)
print(result.condensation_margin_c)

If the optional neqsim Python package is available, the result records that fact so an agent can recommend moving to validated NeqSim seal-gas dew-point and condensation analysis. If it is not installed, the example still runs with public placeholder logic.

Validation Checklist

  • Inputs are in the documented units (NL/min, degrees C).
  • Example inputs are public and synthetic.
  • Tests cover ok, watch, high, and invalid-input cases.
  • Results are described as educational screening indicators.
  • Real seal system design is redirected to validated methods, API 692, and qualified review.

Common Mistakes

SymptomCauseFix
Condensation never flaggedDew point taken at cavity pressure instead of the vent/expanded conditionUse the hydrocarbon dew point at the seal/vent reference condition
Supply demand looks lowSupply margin set to 1.0Use a supply margin above 1.0 consistent with the seal-gas control philosophy
Wrong total supplySeal count not matching the machine arrangementSet seal_count to the actual number of seals supplied

Limitations

  • No seal vendor leakage curves, clearance models, or qualification data are included.
  • No isenthalpic (Joule-Thomson) expansion or transient standpipe cooldown is modelled.
  • No seal-gas conditioning unit (heater/separator) sizing is performed.
  • Not suitable for safety-critical, design, guarantee, or standards-compliance work.

Related NeqSim Functionality

  • neqsim.process.equipment.compressor.SealGasSupplyConditioning checks the supply side: dew point margin after the isenthalpic reduction across the seal gas supply valve, the heater temperature that restores the 20 K practice, the liquid load implied by a filter sump filling rate and the sump fill time. Use it before concluding that a seal problem is a filter problem.
  • Evidence recipe from a field study (plant-agnostic): (1) find where the seal gas is taken (impeller, discharge, fuel gas) on the seal gas P&ID, because the contamination mechanism and the remedy differ; (2) compute the dew point margin at the supply conditions with the plant fluid; (3) detect filter drain events from the sump level sawtooth (level drop of more than 8 % in 15 min) and count them per day; (4) look for natural experiments (alternative supply gas, set-point step, shutdown) before regressing; (5) check that the filter analysis is not contaminated by priming diesel; (6) read the notification text of the seal and filter tags for design intent (orifice size, take-off location, O-ring quality).
  • neqsim.process.equipment.compressor.DryGasSealAnalyzer for vent-side condensation.

This educational screening corresponds to validated, rigorous functionality in the NeqSim Java library that a qualified engineer should use for design-grade work:

  • neqsim.process.equipment.compressor.DryGasSealAnalyzer — isenthalpic seal-gap expansion, retrograde condensation mapping, dead-leg cooldown, condensate accumulation, and seal-gas conditioning unit sizing per API 692.
  • neqsim.process.measurementdevice.HydrocarbonDewPointAnalyser — hydrocarbon dew-point evaluation for the seal-gas stream.
  • neqsim.process.equipment.valve.ThrottlingValve — Joule-Thomson expansion modelling across the seal gap.

In Python the same classes are reachable through the neqsim package (for example from neqsim import jneqsim).

References

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.