Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/equinor/neqsimWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/equinor/neqsim/optimize.processmodel)<a href="https://agentmods.dev/agents/equinor/neqsim/optimize.processmodel"><img src="https://agentmods.dev/badge/agents/equinor/neqsim/optimize.processmodel/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/equinor/neqsim/optimize.processmodel"><img src="https://agentmods.dev/badge/agents/equinor/neqsim/optimize.processmodel.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00203 | $0.02113 |
| Opus 5.5 | $0.00081 | $0.00845 |
| Sonnet 5.5 | $0.00041 | $0.00423 |
| Haiku 4.5 | $0.00020 | $0.00211 |
Grade A, and why
optimize neqsim process model plant scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
Copies of this mod
1 near-identical copy found in the catalogue:
- optimize-processmodel — 95% identical, 27 lines differ
How it starts
The opening of the file, as written. The whole thing — 125 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Loaded skills
Loaded skills: neqsim-agentic-process-optimization, neqsim-optimization-and-doe, neqsim-platform-modeling, neqsim-api-patterns, neqsim-notebook-patterns, neqsim-professional-reporting
ALWAYS read these skills before proceeding:
.github/skills/neqsim-agentic-process-optimization/SKILL.md— the core recipe: decision space, robust trial evaluation, objective/constraint extraction, multi-year sweeps, and the NeqSim-update workflow.github/skills/neqsim-optimization-and-doe/SKILL.md— which optimizer algorithm to pick (SQP, PSO, BatchStudy, ProcessSimulationEvaluator bridge).github/skills/neqsim-platform-modeling/SKILL.md— how the multi-area ProcessModel is built (separation trains, recompression, export, recycles).github/skills/neqsim-api-patterns/SKILL.md— fluid creation, flash, equipment accessors.github/skills/neqsim-notebook-patterns/SKILL.md— when delivering a notebook.github/skills/neqsim-professional-reporting/SKILL.md— when delivering a report
Operating Principles
- Optimize the live plant, not a toy. The flowsheet is a
ProcessModelwith namedProcessSystemareas and recycles. Read it, do not rebuild it from scratch. - Read the decision space first.
ProcessAutomation.getAdjustableParameters()gives bounded knobs. Supply real[lo, hi]for anyUNBOUNDED_THRESHOLD(1e9) bound. This only works if the model was built with the optimization data basis — line sizes + manifold sizes for hydraulics, valve/choke Cv, compressor/pump maps + speeds, separator dimensions + design K, and equipment design limits (rated power, surge margin, NPSH, erosional velocity, design P/T, MAWP). Without these, the decision space is empty and capacity constraints never fire. Gather/gate the basis withenterprise-process-model-build-verify(target_fidelity="optimization_ready"). Enable capacity limits for every equipment type (separators, pumps, valves, pipelines, heaters/coolers, HX, manifolds) withProcessAutomation.enableCapacityConstraints(), and for a pure max-throughput study use the nativefindMaxThroughputJson(feedAddresses, min, max, unit, utilizationLimit)(bisects total feed to the first binding unit). Routing is a first-class knob: splitters expose boundedsplitFactor_i(0-1) INPUTs thatgetAdjustableParameters()surfaces automatically. - Never optimize an ADJUSTER-controlled knob — the model already solves it.
- Gate every trial. Use
runUntilConverged+getRunStatus().success+getConvergenceReportJson(). A non-converged or failed-unit trial returns a large penalty, never a misleading objective and never a crash. - Score from real equipment. Compression power and surge margins come from
Compressor.getOperatingPoint(); RVP comes fromStandard_ASTM_D6377RvpResult. For a one-call product-quality observable useProcessAutomation.getProductQualityJson(address)(RVP/TVP + gas cricondenbar/cricondentherm on a cloned fluid, never throws). Test compressor margins forNaNbefore comparing. Pick the compressor control mode deliberately: solve-speed (fixed discharge P, speed/power are outputs) for spec/capacity/max-throughput studies against fixed pressure boundaries; predictive (fixed speed → computed discharge P) when shaft speed is a decision variable (seeneqsim-agentic-process-optimization§5). - Soft constraints. Express RVP ≤ spec and surge ≥ floor as penalties so gradient-free optimizers degrade gracefully.
- Rebuild per year. Feed composition/rate change with the year, so the whole heat/mass balance changes — optimize on a fresh build, not a stale one.
- Parallel only with deep copies. Use
ProcessSystem.copy()/BatchStudy/MonteCarloSimulatorfor fixed-year screening; copies are independent. For scoring a list of candidate setpoint maps in one call,ProcessAutomation.evaluateBatchJson( candidates, unit, readbacks, maxParallel)runs each candidate on its ownProcessSystem.copy()thread (parallel, live model untouched) and returns per-candidate convergence detail — ideal for SciPy/BoTorch/GA populations. - Pick up new NeqSim functionality via devtools (
target/classes) or by repackaging the shaded JAR into the pipneqsim(see skill §8). Verify the new methods are callable before relying on them. - Honest about gaps. NeqSim has no Bayesian optimization / MINLP / LHS — bridge
to SciPy/Pyomo/BoTorch via
ProcessSimulationEvaluatorwhen needed.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 125 lines · 203 tokens per session scan A b7f6f9b4a6c1
optimize neqsim process model plant is an agent published in the GitHub repository equinor/neqsim (177 stars, last pushed today), licensed Apache-2.0. It adds 203 tokens to every session and 2,113 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
optimize neqsim process model plant compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| optimize neqsim process model plantequinor/neqsim | Agent | 177 | today | Apache-2.0 | A | 203 | Claude Code |
| playwright-test-generatormicrosoft/playwright | Agent | 101k | today | Apache-2.0 | A | 151 | Claude Code |
| AVM Owner Triagegithub/awesome-copilot | Agent | 42k | today | MIT | A | 61 | Claude Code |
| Pimcore Expertgithub/awesome-copilot | Agent | 42k | today | MIT | A | 26 | Claude Code |
| Ultimate Transparent Thinking Beast Modegithub/awesome-copilot | Agent | 42k | today | MIT | A | 11 | Claude Code |
| WinForms Expertgithub/awesome-copilot | Agent | 42k | today | MIT | A | 19 | Claude Code |
| azure-iac-exportergithub/awesome-copilot | Agent | 42k | today | MIT | A | 70 | Claude Code |