agentleFS
equinorequinor/neqsim-community-skills/skills/flow-assurance/neqsim-wax-margin-check/SKILL.md

neqsim-wax-margin-check

Skill4 starsChanged 5 months agoApache-2.0View on GitHub

Educational wax 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 wax appearance temperature and should be directed to validated NeqSim methods for real calculations.

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

    Use this skill for a quick, public check of whether a process or pipeline operating point keeps a temperature margin above a known wax …

    line 16
  2. Distinctive:

    When a user asks whether an operating temperature stays clear of the wax deposition region.

    line 20
  3. Distinctive:

    When a validated NeqSim wax appearance temperature or a public lab WAT is already available.

    line 21
  4. Distinctive:

    When an agent should explain that validated NeqSim methods are required for real wax prediction and deposition design.

    line 22
  5. Very specific:

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

    line 60
  6. Distinctive:

    No wax phase equilibrium or deposition calculation is performed in this skill.

    line 81
  7. Distinctive:

    No composition, shear, ageing, pour-point, or transient effects are included.

    line 82
  8. Distinctive:

    No proprietary wax models or company operating limits are included.

    line 83
  9. Distinctive:

    Not suitable for flow assurance design, pigging strategy, or operating-limit decisions.

    line 84

≈ “Common” is an estimate: at least 1 in 5 of the 372,429 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

Wax 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 wax appearance temperature (WAT). It is intentionally simple and should guide users toward validated NeqSim wax calculations for real work.

When to Use

  • When a user asks whether an operating temperature stays clear of the wax deposition region.
  • When a validated NeqSim wax appearance temperature or a public lab WAT is already available.
  • When an agent should explain that validated NeqSim methods are required for real wax prediction and deposition design.

Inputs

  • operating_temperature: operating temperature in C.
  • wax_appearance_temperature: wax appearance temperature in C from a validated NeqSim calculation or public lab measurement.
  • min_margin: configurable minimum acceptable margin in C (constructor, default 5.0).

Outputs

  • wax_margin_c: operating temperature minus the wax appearance temperature in C.
  • below_wax_appearance: whether the operating point is at or below the wax appearance temperature.
  • margin_warning: ok, watch, or high.
  • neqsim_available: whether the optional NeqSim package is importable.
  • assumptions: public assumptions and required follow-up.

Engineering Method

The placeholder method computes the wax margin as operating_temperature - wax_appearance_temperature. A non-positive margin means the operating point is at or below the wax appearance temperature and is flagged high. A small positive margin below min_margin is flagged watch. A larger margin is flagged ok.

This is not a wax thermodynamic or deposition model. The wax appearance temperature must come from a validated NeqSim wax calculation or a public lab measurement with a defined fluid composition and operating envelope.

Python Usage Pattern

from wax_margin_check import WaxMarginModel

model = WaxMarginModel(min_margin=5.0)
result = model.evaluate(
    operating_temperature=33.0,
    wax_appearance_temperature=30.0,
)

print(result.wax_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 wax workflows. If not, the example still runs with fallback placeholder logic.

Validation Checklist

  • Operating and wax appearance temperatures are finite.
  • The wax appearance temperature came from a validated NeqSim calculation or public lab measurement.
  • Above-WAT and below-WAT cases are tested.
  • The minimum margin is documented as a configurable public guideline only.
  • Results are not used as a deposition rate, pigging interval, or operating limit.
  • Real wax work is redirected to validated NeqSim methods and qualified review.

Common Mistakes

SymptomCauseFix
Margin looks safe but wax still depositsWax appearance temperature was guessedUse a validated NeqSim wax appearance temperature or public lab WAT
Margin warning never triggersmin_margin set too lowUse a service-appropriate operating margin and confirm with flow assurance review
Missing composition effectCrude composition was not included in the NeqSim basisProvide the composition to NeqSim and recompute the wax appearance temperature

Limitations

  • No wax phase equilibrium or deposition calculation is performed in this skill.
  • No composition, shear, ageing, pour-point, or transient effects are included.
  • No proprietary wax models or company operating limits are included.
  • Not suitable for flow assurance design, pigging strategy, 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.SystemInterface#addWaxModel() — solid wax-phase characterisation for the fluid.
  • neqsim.thermodynamicoperations.ThermodynamicOperations#calcWAT() — rigorous wax appearance temperature.

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.