Sign in Get 3 free credits

Try a job or a niche: tiktok captions, study notes, excel formulas. Press Esc to close.

NeqSim Simulation Troubleshooting

Diagnoses failing NeqSim process simulations, from flash and recycle errors to zero or NaN property values.

Claude's review

7/10 Symptom to fix tables for NeqSim flash, recycle, adjuster and NaN property failures with exact API calls and tested cases; very niche and partly maintainer notes and routing to other NeqSim agents.

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

Troubleshoot oil and gas process operating problems and NeqSim simulation failures. Route measured plant disturbances to the root-cause agent. USE WHEN: a simulation fails to converge, produces unexpected results, throws exceptions, or gives zero/NaN values. Covers flash non-convergence, recycle divergence, equipment errors, phase identification issues, and numerical problems.

How you use it

  1. Add it to your pack, then download your pack (1 credit).
  2. In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
  3. 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-troubleshooting
description: "Troubleshoot oil and gas process operating problems and NeqSim simulation failures. Route measured plant disturbances to the root-cause agent. USE WHEN: a simulation fails to converge, produces unexpected results, throws exceptions, or gives zero/NaN values. Covers flash non-convergence, recycle divergence, equipment errors, phase identification issues, and numerical problems."
last_verified: "2026-11-26"
---

# NeqSim Troubleshooting Playbook

## Start from the reported symptom

For oil and gas process troubleshooting, first establish whether the observation
comes from an instrument, a simulation, or both. Preserve timestamps, units,
operating mode and the last stable period. Route a measured disturbance to
`@root-cause` with the [equipment RCA workflow](../neqsim-root-cause-analysis/SKILL.md).
Choose evidence that can distinguish competing causes.

| Observation | Evidence to acquire first | What it can distinguish |
| --- | --- | --- |
| Separator filling or export flow shortfall | Meter directions, all products and boundary crossings, total mass inventories and their uncertainty | Normal accumulation, an unmetered outflow and a flowmeter bias. Use the joint inventory balance. |
| Compressor flow and recycle valve cycling | Synchronized suction and discharge pressure, flow, speed, recycle command and actual position, plus the applicable map | Recycle-loop interaction, a propagated feed disturbance and a local compressor upset. Check event order and control mode. |
| Heat exchanger outlet temperature rising | Hot and cold flows, all four terminal temperatures, pressure drops, bypass position and utility inlet conditions | Changing load or utility temperature, bypass mixing and loss of heat-transfer performance. |
| Downstream liquid carryover | Independent level or inventory, inlet loading, demister differential pressure and downstream liquid evidence | Upstream liquid surges, separator loading and faulty level indication. |

For a numerical failure, reproduce the case from the recorded feed and equipment
settings and use the solver-specific sections below. If a model reproduces a
plant symptom, record which independent measurement could test its proposed cause.

## Flash Non-Convergence

**Symptom:** `TPflash()` or other flash throws exception or returns wrong phase count.

| Step | Action | Why It Helps |
|------|--------|-------------|
| 1 | `fluid.setMultiPhaseCheck(true)` | Enables detection of liquid-liquid splits and 3-phase regions |
| 2 | Try a different EOS: `SystemPrEos` instead of `SystemSrkEos` | PR handles heavier components better near critical |
| 3 | Check if near critical point — if $T/T_c > 0.95$ and $P/P_c > 0.8$, use volume-translated EOS: `SystemSrkEosvolcor` | Standard cubic EOS has largest errors near critical |
| 4 | Add `fluid.init(0); fluid.init(1);` before flash to force re-initialization | Clears stale internal state from prior calculations |
| 5 | Slightly perturb T or P (1 K or 0.1 bar) and re-flash | Exact phase boundary conditions can trap the solver |
| 6 | For mixtures with water + hydrocarbons, use CPA: `SystemSrkCPAstatoil` with mixing rule `10` | SRK/PR cannot model hydrogen bonding — water phase behavior is wrong |
| 7 | Check component names against `src/main/resources/data/COMP.csv` | Misspelled component names silently fail or load wrong parameters |
...

From equinor's repository, Apache-2.0 licence.

Related skills

  • Checked

    Rust best practices

    Writes and reviews idiomatic, maintainable Rust code and runs a checklist before handing it back to you.

    by morganlinton 2.2k
    7/101 credit
  • Checked

    Port code to Rust

    Ports C, C++, Python, Go or JavaScript code into idiomatic Rust, with tests that prove it behaves the same.

    by morganlinton 2.2k
    8/101 credit
  • Checked

    Rust code review

    Reviews Rust code for idiom, errors, safety and API design, with a ranked report and a fix for every finding.

    by morganlinton 2.2k
    7/101 credit
  • Checked

    Java Debugging Guide

    Finds the cause of Java bugs and failing tests, and attaches a debugger safely in Maven, Gradle, Spring or Docker.

    by github 42k
    7/101 credit
  • Checked

    Python games with pygame

    Builds and debugs 2D pygame games with a proper loop and delta time, so they run the same on any PC.

    by gamedev-skills 13k
    7/101 credit
  • Checked

    Go Benchmarking and Profiling

    Writes Go benchmarks, profiles them with pprof and proves each speedup with benchstat before you claim it.

    by samber 4k
    7/101 credit

Secure checkout

Credits

AUD

  1. 1Choose
  2. 2Pay on Square
  3. 3Credits added