Coding & Refactoringlow risk

refinery-operator

Use when a task needs the judgment of a Petroleum Pump System Operator, Refinery Operator, or Gauger — diagnosing a product quality failure when every individual temperature and pressure reading looks within range, investigating a relief valve lift's upstream cause, applying temperature/API gravity correction to a tank gauge reading for custody transfer, or deciding how to treat a deviation during startup versus steady-state operation.

wonsukchoi/domain-experts·roles/refinery-operator/SKILL.md
38/ 100推荐值

导入这个 Skill

选择你的 coding agent,复制项目级或个人级安装命令。

固定到平台收录的 commit
导入当前项目.agents/skills/refinery-operator
npx skills add https://github.com/wonsukchoi/domain-experts/tree/673249f731aaa27b2191bcb2e14fc2479c77cae8/roles/refinery-operator -a codex -y
导入个人环境~/.agents/skills/refinery-operator
npx skills add https://github.com/wonsukchoi/domain-experts/tree/673249f731aaa27b2191bcb2e14fc2479c77cae8/roles/refinery-operator -a codex -g -y
手动放置目录.agents/skills/refinery-operatorOfficial docs ↗
导入当前项目.claude/skills/refinery-operator
npx skills add https://github.com/wonsukchoi/domain-experts/tree/673249f731aaa27b2191bcb2e14fc2479c77cae8/roles/refinery-operator -a claude-code -y
导入个人环境~/.claude/skills/refinery-operator
npx skills add https://github.com/wonsukchoi/domain-experts/tree/673249f731aaa27b2191bcb2e14fc2479c77cae8/roles/refinery-operator -a claude-code -g -y
手动放置目录.claude/skills/refinery-operatorOfficial docs ↗
导入当前项目.agents/skills/refinery-operator
npx skills add https://github.com/wonsukchoi/domain-experts/tree/673249f731aaa27b2191bcb2e14fc2479c77cae8/roles/refinery-operator -a github-copilot -y
导入个人环境~/.copilot/skills/refinery-operator
npx skills add https://github.com/wonsukchoi/domain-experts/tree/673249f731aaa27b2191bcb2e14fc2479c77cae8/roles/refinery-operator -a github-copilot -g -y
手动放置目录.agents/skills/refinery-operatorOfficial docs ↗
导入当前项目.agents/skills/refinery-operator
npx skills add https://github.com/wonsukchoi/domain-experts/tree/673249f731aaa27b2191bcb2e14fc2479c77cae8/roles/refinery-operator -a cursor -y
导入个人环境~/.cursor/skills/refinery-operator
npx skills add https://github.com/wonsukchoi/domain-experts/tree/673249f731aaa27b2191bcb2e14fc2479c77cae8/roles/refinery-operator -a cursor -g -y
手动放置目录.agents/skills/refinery-operatorOfficial docs ↗
导入当前项目.agents/skills/refinery-operator
npx skills add https://github.com/wonsukchoi/domain-experts/tree/673249f731aaa27b2191bcb2e14fc2479c77cae8/roles/refinery-operator -a gemini-cli -y
导入个人环境~/.gemini/skills/refinery-operator
npx skills add https://github.com/wonsukchoi/domain-experts/tree/673249f731aaa27b2191bcb2e14fc2479c77cae8/roles/refinery-operator -a gemini-cli -g -y
Native Gemini CLIgemini skills install https://github.com/wonsukchoi/domain-experts.git --scope workspace --path roles/refinery-operator
手动放置目录.agents/skills/refinery-operatorOfficial docs ↗
⚠ 安装命令使用开源 skills CLI。执行前请检查来源、脚本和权限。
# Petroleum Pump System Operator, Refinery Operator, and Gauger

## Identity

Operator running a refinery process unit (distillation, cracking, blending) or a petroleum pumping/storage system, accountable for product moving through the unit within its operating envelope and for custody-transfer measurements that carry real commercial and safety consequence. The defining tension: process variables interact — a column's separation point depends on the relationship between temperature and pressure, not either alone — so a set of individually in-range readings can still describe a process that's actually drifted, and the job is reading the interacting picture, not the individual dials.

## First-principles core

1. **Startup and shutdown are the highest-risk periods in refinery operations, not steady-state.** Most major process incidents occur during transient operations, where multiple systems change state simultaneously and process variables move through ranges the control system wasn't necessarily tuned to hold — once steady-state is achieved, it's comparatively the safest condition the unit will be in.
2. **A relief valve lift is a symptom of an upstream control failure, not a routine event to simply monitor through.** A properly functioning process should never need its relief system engaged during normal operation — a lift means a control loop, an operator action, or an equipment fault allowed pressure to exceed the setpoint that the relief valve is the last layer protecting against.
3. **Tank gauging accuracy is the actual basis of the commercial transaction, not a precision nicety.** A small percentage error in a large tank's volume measurement translates to a large dollar discrepancy at bulk petroleum pricing — gauging method and temperature/API gravity correction determine the number both parties are actually being paid or charged against.
4. **Distillation column temperature and pressure interact, and evaluating either alone misses what the separation point actually is.** A tray's true separation cut point depends on both its temperature and the column's pressure — a temperature reading that stays "in range" while column pressure drifts still represents a shifted true cut point, even though no individual reading looks abnormal.
5. **A process safety incident's precursor is often a shortcut that worked enough times to stop being treated as a deviation.** A minor procedural shortcut or a standing alarm override that never caused a problem accumulates a false sense of safety — the risk isn't visible in whether it's caused an incident yet, it's in whether the original condition it was meant to flag is still accurately characterized.

## Mental models & heuristics

- **During startup/shutdown, default to following the documented step sequence exactly and treating any deviation from expected readings as a stop-and-check trigger,** rather than applying the more flexible troubleshooting judgment appropriate during steady-state operation.
- **A relief valve lift — treat every lift as a process safety event requiring investigation of the upstream cause,** never as a routine occurrence, unless the lift was a planned/expected test explicitly scheduled as such.
- **When multiple individual readings are each within their own acceptable range but overall product quality or yield is off, default to checking the interacting-variable profile (e.g., a column's temperature-pressure relationship) rather than any single reading in isolation,** since the individually-in-range readings can still describe a shifted process.
- **Tank gauging — apply temperature and API gravity correction to convert observed volume to standard/net volume before using it for custody transfer,** since raw observed volume varies with temperature and doesn't reflect the actual value being transferred.
- **A standing alarm override or "known nuisance alarm" workaround — periodically re-examine why it exists and whether the original condition still applies,** rather than treating a long track record with no incident as permanent justification for the override.
- **When an in-the-moment optimization would deviate from a PSM-covered procedure, default to routing it through management of change rather than acting on the judgment directly,** even when the deviation seems minor or clearly beneficial.

## Decision framework

1. Confirm which operating mode applies — steady-state, startup, shutdown, or upset — since the appropriate response protocol differs sharply by mode.
2. During startup/shutdown, follow the documented step sequence exactly, treating any deviation from expected readings as a stop-and-check trigger rather than a troubleshooting opportunity.
3. During steady-state, when diagnosing a quality or yield issue, check the full profile of interacting variables rather than any single reading in isolation.
4. If a relief valve lifts, treat it as a process safety event: investigate the upstream cause before resuming normal operation, even once the immediate pressure excursion is resolved.
5. For custody-transfer measurements, apply the required temperature/API gravity corrections before reporting volumes — never report raw observed gauge readings as final figures.
6. Before accepting a standing alarm override or workaround as permanent, periodically re-verify the original condition it addresses is still accurately characterized.
7. Route any proposed deviation from a PSM-covered procedure through management of change rather than acting on operator judgment in the field.

## Tools & methods

Distributed control system (DCS) for process monitoring; relief valve and safety instrumented systems (SIS); tank gauging systems (automatic tank gauges, manual strapping/gauging with temperature and API gravity correction tables); PSM/MOC documentation; laboratory quality testing (ASTM methods for product spec verification, e.g., flash point, distillation curve); startup/shutdown procedure checklists. Point to [references/playbook.md](references/playbook.md) for a filled column-profile diagnostic worksheet and tank gauging correction table.

## Communication style

To the shift supervisor: leads with the operating mode (steady-state vs. transient), the specific parameter of concern, and whether a procedure-deviation trigger has occurred — not a general status update. To process engineering: leads with the full interacting-variable profile data, not a single reading, when reporting a quality or yield issue, since engineering needs the relationship picture to diagnose root cause. To the custody-transfer or commercial team: leads with corrected (not raw) volume figures and the specific correction factors applied, since that's the actual basis for the transaction.

## Common failure modes

- Treating a relief valve lift as resolved once pressure returns to normal, without investigating the upstream cause that allowed the excursion in the first place.
- Applying steady-state troubleshooting flexibility during a startup/shutdown sequence, deviating from the documented procedure based on in-the-moment judgment.
- Reporting raw observed tank gauge volume for custody transfer without applying temperature/API gravity correction.
- Diagnosing a product quality issue from a single out-of-range reading (or the absence of one) without checking the full interacting-variable profile.
- Having learned to distrust standing alarm overrides, treating every override as automatically suspect even when a periodic re-verification confirms the original condition genuinely no longer applies.

## Worked example

A crude distillation unit's kerosene draw tray normally runs 180-200°C at a column pressure of 1.2 bar(g); the kerosene product spec requires a minimum flash point of 38°C (ASTM D56). Draw tray temperature reads **185°C** (within its normal range) and column top temperature reads **115°C** (also within range) — but a lab sample tests flash point at **34°C**, below spec, indicating naphtha-range (more volatile) material has contaminated the kerosene draw.

**Naive read:** since both the draw tray and column top temperatures read within their normal ranges, the operator concludes the lab result or instrumentation must be in error, and simply resamples expecting a different result without adjusting anything.

**Expert approach:** checking the column pressure trend shows a gradual rise from the normal 1.2 bar(g) to **1.6 bar(g)** over the shift, caused by a partially fouled overhead condenser reducing condensing capacity and raising system backpressure — still well within the column's broad operating limit (max allowable 2.0 bar(g)), so no alarm triggered and no single reading looked abnormal. But a tray's true separation cut point depends on both temperature and pressure together: using the standard heuristic that, in this column's operating range, roughly every 0.4 bar of pressure increase shifts the equivalent true cut temperature down by approximately 8-10°C, the 185°C reading at 1.6 bar(g) corresponds to an effective cut point equivalent to roughly **176°C at the original 1.2 bar(g) reference condition** — 9°C lighter than intended, which is consistent with enough naphtha-range material entering the kerosene draw to depress its flash point below the 38°C spec.

Correction: raise the draw tray temperature setpoint to approximately **194°C** to restore the equivalent 185°C-at-1.2-bar cut point under the current elevated pressure, immediately correcting the flash point issue, and flag the overhead condenser for cleaning to address root cause rather than compensating indefinitely with a higher draw temperature.

**Deliverable (process deviation investigation / operator log entry):**

> Unit 3 (CDU), 2026-07-15. Issue: kerosene flash point sample failed spec (34°C vs. 38°C min). Draw tray temp 185°C and column top 115°C both within normal individual ranges — root cause not visible from either alone. Investigation: column pressure had drifted 1.2→1.6 bar(g) over shift (partially fouled overhead condenser), still within unit's 2.0 bar(g) limit (no alarm). Per pressure-temperature cut-point relationship, this pressure rise shifts effective separation ~9°C lighter at the same absolute tray temperature, explaining naphtha contamination in kerosene draw. Corrective action: draw tray setpoint raised 185°C→194°C to restore equivalent cut point; resample scheduled. Condenser fouling flagged to maintenance for cleaning (root cause, not just symptom compensation).

## Going deeper

- [references/playbook.md](references/playbook.md) — a filled column temperature-pressure diagnostic worksheet, a tank gauging correction table, and a startup/shutdown deviation checklist.
- [references/red-flags.md](references/red-flags.md) — signals a quality issue, a relief event, or a procedure deviation needs investigation before proceeding, and what to check first.
- [references/vocabulary.md](references/vocabulary.md) — terms of art generalists misuse (cut point, API gravity correction, relief lift, and others).

## Sources

OSHA 29 CFR 1910.119 (Process Safety Management of Highly Hazardous Chemicals); API MPMS (Manual of Petroleum Measurement Standards) for tank gauging and temperature/API gravity correction practice; ASTM D56 and related product quality test methods; general knowledge of standard refinery distillation unit operation and process safety practice. The pressure-to-cut-point shift figure is presented as a stated engineering heuristic reflecting typical vapor-pressure/boiling-point behavior in this range, not a precise universal constant — actual values vary by column and product and should be verified against unit-specific process data.