agentleFS
equinorequinor/neqsim-community-skills/skills/process/neqsim-gas-turbine-performance-screening/SKILL.md

neqsim-gas-turbine-performance-screening

Skill4 starsChanged 5 months agoApache-2.0View on GitHub

Educational gas-turbine performance screening using open ISO 3977 / GL1029 style derate factors. USE WHEN: a task needs a public, screening-level estimate of site-rated shaft power, site heat rate, thermal efficiency, fuel heat input, exhaust mass flow, and exhaust temperature for a gas-turbine driver before detailed package selection.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When a user asks how much power a gas-turbine driver makes at site conditions versus its ISO rating.

    line 20
  2. Distinctive:

    When an agent needs a quick site heat rate, fuel heat input, or exhaust mass flow estimate for waste-heat or HRSG scoping.

    line 21
  3. Distinctive:

    When examples must run without confidential vendor performance maps or company package specs.

    line 22
  4. Distinctive:

    No proprietary vendor performance maps, fuel composition effects, or company specs are included.

    line 112

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

Gas Turbine Performance Screening

Use this skill for public, educational gas-turbine performance screening. It corrects an ISO base rating for ambient temperature, site elevation, and inlet/exhaust pressure losses to estimate site-rated shaft power, site heat rate, thermal efficiency, fuel heat input, exhaust mass flow, and exhaust temperature so an agent can scope a driver-selection study before detailed package review.

When to Use

  • When a user asks how much power a gas-turbine driver makes at site conditions versus its ISO rating.
  • When an agent needs a quick site heat rate, fuel heat input, or exhaust mass flow estimate for waste-heat or HRSG scoping.
  • When examples must run without confidential vendor performance maps or company package specs.

Inputs

  • iso_base_power_kw: ISO base-load shaft power rating in kW.
  • iso_heat_rate_kj_kwh: ISO base-load heat rate in kJ/kWh.
  • ambient_temperature_k: site ambient temperature in kelvin, default 288.15 (ISO reference).
  • site_elevation_m: site elevation above sea level in m, default 0.
  • relative_humidity: site relative humidity fraction, default 0.6 (small effect).
  • inlet_pressure_loss_mbar: inlet system pressure loss in mbar, default 10.
  • exhaust_pressure_loss_mbar: exhaust system pressure loss in mbar, default 10.
  • required_shaft_power_kw: optional driven-equipment shaft power in kW for the margin check.

Outputs

  • site_power_kw: derated site shaft power.
  • ambient_derate_factor: ambient-temperature power factor.
  • altitude_derate_factor: site-elevation power factor.
  • pressure_loss_derate_factor: combined inlet/exhaust pressure-loss power factor.
  • total_derate_factor: product of all derate factors.
  • site_heat_rate_kj_kwh: site heat rate after efficiency degradation.
  • thermal_efficiency: shaft thermal efficiency from the site heat rate.
  • fuel_heat_input_kw: fuel lower-heating-value heat input.
  • exhaust_mass_flow_kg_s: screening exhaust mass flow.
  • exhaust_temperature_k: screening exhaust temperature.
  • power_margin_ratio: site power divided by required shaft power, or null.
  • power_warning: ok, watch, insufficient-power, or no-rating.
  • assumptions: public assumptions used by the placeholder model.

Engineering Method

The Python class GasTurbinePerformanceModel uses open performance-derate relations only:

  • ambient derate uses f_amb = 1 - 0.007 (T_amb - 288.15), clamped at zero.
  • altitude derate uses f_alt = 1 - 1.1e-4 * elevation, from reduced barometric pressure.
  • pressure-loss derate uses f_inlet = 1 - 0.002 * dP_inlet and f_exhaust = 1 - 0.001 * dP_exhaust.
  • site power uses P_site = P_iso * f_amb * f_alt * f_inlet * f_exhaust * f_humidity.
  • site heat rate uses HR_site = HR_iso (1 + 0.5 (1 - f_total)) so efficiency falls with derate.
  • fuel heat input uses Q_fuel = P_site * HR_site / 3600.
  • exhaust mass flow uses a fixed specific-flow factor m_exh = P_site * 0.003.

This is educational and screening-only logic. It assumes linear derates, a fixed specific exhaust flow, and a typical exhaust temperature. It is not a replacement for validated gas-turbine performance models or qualified package review.

Python Usage Pattern

from gas_turbine_performance_screening import GasTurbinePerformanceModel

model = GasTurbinePerformanceModel()
result = model.evaluate(
    iso_base_power_kw=30000.0,
    iso_heat_rate_kj_kwh=9500.0,
    ambient_temperature_k=303.15,
    site_elevation_m=50.0,
    required_shaft_power_kw=26000.0,
)

print(result.site_power_kw)
print(result.site_heat_rate_kj_kwh)
print(result.power_warning)

Related NeqSim Functionality

For validated power-generation calculations, redirect to NeqSim classes:

  • neqsim.process.equipment.powergeneration.GasTurbine — gas-turbine driver model with fuel and exhaust calculations.
  • neqsim.process.equipment.powergeneration.HRSG — heat-recovery steam generator using turbine exhaust.
  • neqsim.process.equipment.powergeneration.CombinedCycleSystem — combined-cycle integration of turbine and steam systems.

This skill is a public triage layer that decides when to invoke a validated gas-turbine model.

Validation Checklist

  • ISO base power and heat rate are positive.
  • Ambient temperature is positive and elevation is non-negative.
  • Tests cover ambient derate, the power margin, the fuel/efficiency estimate, and invalid input.
  • Results are described as educational screening indicators.
  • Real driver selection is redirected to validated NeqSim power-generation classes and qualified review.

Common Mistakes

SymptomCauseFix
Site power above ISO ratingAmbient below 288.15 KScreening caps uprate; treat sub-ISO gains conservatively
Power margin missingNo required shaft power suppliedProvide required_shaft_power_kw for the margin check
Exhaust flow looks flatFixed specific-flow factor usedUse a validated gas-turbine model for HRSG sizing

Limitations

  • No proprietary vendor performance maps, fuel composition effects, or company specs are included.
  • Derates are linear screening factors; part-load, water injection, and DLE effects are not modelled.
  • Exhaust mass flow and temperature use fixed screening assumptions, not a heat-and-mass balance.

Related Skills

  • neqsim-weather-data - live or historical site ambient temperature (and elevation from location resolution) to feed ambient_temperature_k/site_elevation_m instead of an assumed value.

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.