calculate emissions and environmental impact

calculate emissions and environmental impact is an agent for coding agents from equinor/neqsim. It costs 74 tokens per session (4,273 once invoked), scanned A, original, Apache-2.0.

An environmental-impact analysis add-on for oil and gas facilities. It calculates greenhouse-gas emissions, flaring and venting, energy efficiency, carbon intensity, and related reporting measures.

In plain words
What is it for?
Use it to quantify emissions from combustion, flaring, venting, and fugitive leaks; calculate carbon-equivalent totals; assess energy performance; and prepare regulatory or ESG reports.
Why use it?
It gathers emissions from sources such as fuel use, flares, vents, and equipment leaks, then converts them into comparable carbon-dioxide-equivalent totals. It can also compare results with benchmarks and reporting requirements.

Agent

Install

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.

agentmods
npx agentmods add agents/equinor/neqsim/emissions.environmental
Clone the repo
git clone --depth 1 https://github.com/equinor/neqsim

Wrote 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.

agentmods badge for calculate emissions and environmental impact

README.md
[![agentmods](https://agentmods.dev/badge/agents/equinor/neqsim/emissions.environmental.svg)](https://agentmods.dev/agents/equinor/neqsim/emissions.environmental)
Your own site
<a href="https://agentmods.dev/agents/equinor/neqsim/emissions.environmental"><img src="https://agentmods.dev/badge/agents/equinor/neqsim/emissions.environmental.svg" alt="Measured on agentmods" height="20"></a>
Per session 74 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,273 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00074 $0.04273
Opus 5 $0.00037 $0.02136
Sonnet 5 $0.00015 $0.00855
Haiku 4.5 $0.00007 $0.00427

Measured 4d ago against content hash 0efbb31b7469, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

calculate emissions and environmental impact 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 4d 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.

.github/agents/emissions.environmental.agent.md · 344 lines

How it starts

The opening of the file, as written. The whole thing — 344 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Loaded skills: neqsim-api-patterns, neqsim-power-generation, neqsim-standards-lookup, neqsim-field-economics, neqsim-professional-reporting

Skills to Load

ALWAYS read these skills before proceeding:

  • .github/skills/neqsim-api-patterns/SKILL.md — Process simulation patterns
  • .github/skills/neqsim-standards-lookup/SKILL.md — Environmental standards
  • .github/skills/neqsim-field-economics/SKILL.md — Carbon tax in economics

Operating Principles

  1. Identify emission sources: Combustion, flaring, venting, fugitive, process
  2. Quantify flows: Use NeqSim process simulation for mass/energy balances
  3. Apply emission factors: CO2, CH4, N2O per source type
  4. Calculate CO2 equivalents: GWP-weighted total
  5. Compare against benchmarks: Industry averages, regulatory limits
  6. Report per applicable standard: EU ETS MRR, NORSOK, EPA, IMO

Emission Source Categories

Category Sources Typical Contribution
Combustion Gas turbines, engines, fired heaters, boilers 60-80% of total
Flaring HP/LP flare, startup/shutdown flare 5-20%
Venting Cold vents, storage tanks, loading 2-10%
Fugitive Valve stems, flanges, compressor seals 1-5%
Process CO2 removal (amine, membrane), acid gas 5-15%

Combustion Emissions Calculation

From NeqSim Process Simulation

from neqsim import jneqsim
import json

# After running process simulation, get fuel gas properties
fuel_stream = process.getUnit("Fuel Gas").getOutletStream()
fuel_fluid = fuel_stream.getFluid()

# Get fuel gas composition
methane_frac = fuel_fluid.getComponent("methane").getx()
ethane_frac = fuel_fluid.getComponent("ethane").getx()
propane_frac = fuel_fluid.getComponent("propane").getx()

# Mass flow of fuel
fuel_mass_flow_kghr = fuel_stream.getFlowRate("kg/hr")

# Calculate CO2 from stoichiometric combustion
# CH4 + 2O2 -> CO2 + 2H2O  => 1 mol CH4 -> 1 mol CO2
# C2H6 + 3.5O2 -> 2CO2 + 3H2O => 1 mol C2H6 -> 2 mol CO2
# C3H8 + 5O2 -> 3CO2 + 4H2O => 1 mol C3H8 -> 3 mol CO2

MW_CO2 = 44.01
MW_CH4 = 16.04
MW_C2H6 = 30.07
MW_C3H8 = 44.10

# CO2 emission factor (kg CO2 / kg fuel)
avg_MW = fuel_fluid.getMolarMass("kg/mol") * 1000  # g/mol

co2_per_mol_fuel = (methane_frac * 1 + ethane_frac * 2 + propane_frac * 3)
co2_mass_ratio = co2_per_mol_fuel * MW_CO2 / avg_MW

co2_emission_kghr = fuel_mass_flow_kghr * co2_mass_ratio
co2_emission_tpa = co2_emission_kghr * 8760 / 1000  # tonnes/year

Read the full file on GitHub · 344 lines

Changes

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.

  1. 4d ago First seen · 344 lines · 74 tokens per session scan A 0efbb31b7469

Subscribe to this mod's changes

calculate emissions and environmental impact is an agent published in the GitHub repository equinor/neqsim (150 stars, last pushed today), licensed Apache-2.0. It adds 74 tokens to every session and 4,273 once invoked, about $0.0004 per session on Opus 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.

Related

Other agents, from other repositories