Air/Fuel Ratio Trim Cascade Control — Control Design
Shared by TSIMEREZIVO Team · 4 Oct 2026 · 59 views
# TSIMEREZIVO Template: Air/Fuel Ratio Trim Cascade Control
**Category:** Power Plant | **Industry:** Thermal Power Generation | **Language:** Ladder / Structured Text
---
## 📋 Overview
### Purpose
Fine-tune air/fuel ratio (lambda) for optimal combustion energy recovery while meeting NOₓ emissions limits. This is the **secondary loop extension** to Template 01 (Furnace Combustion Pressure), explicitly managing stoichiometric ratio and O₂ excess using continuous emissions monitoring (CEMS).
### Typical Application
- **Coal/NG Steam Boiler:** 100–300 MWe
- **Furnace Temperature:** 1200–1600°C (flamefront)
- **Excess Air:** 2–5% O₂ in flue gas (stoichiometric = 0% excess)
- **NOₓ Emissions Limit:** 200–400 mg/Nm³ (EPA 40 CFR Part 75)
- **CO Emissions Limit:** < 100 ppm (incomplete combustion warning)
- **Sulfur Capture:** SO₂ + calcium (limestone) → CaSO₄ (gypsum; slurry absorber)
### Critical Control Objective
**PARADOX:** More O₂ (lean burn) = Better efficiency (less unburned CO) BUT Higher NOₓ (thermal NOₓ from *high* flame temperature at lean conditions). Conversely, rich burn = Lower NOₓ but incomplete combustion = CO spikes + energy loss.
**Solution:** Dynamic optimization via feedback loop that targets:
- **Minimum NOₓ** (meet EPA limit of 250 mg/Nm³ typical)
- **Maximum Efficiency** (CO < 50 ppm; O₂ 3–4%)
- **Rapid transient response** (within 5 sec of load change)
---
## 🎯 Control Philosophy
### Key Equations
**Stoichiometric Air Requirement:**
```
For bituminous coal (typical):
Air needed = 10.5 [kg air / kg fuel]
For natural gas (methane):
Air needed = 17.2 [kg air / kg fuel]
Excess air = (O₂_flue / 0.21) × 100%
= Empirical, depends on flue gas oxygen analyzer reading
% Excess O₂ = (O₂_measured / theoretical_O₂) × 100%
≈ (O₂_flue − 0%) / 3.5% (typical reference at stoich.)
```
**Thermal NOₓ Production (Zeldovich Mechanism):**
```
d[NOₓ]/dt ∝ T⁴ × [N₂] × [O₂]^0.5
Where T = flame temperature (K)
Doubling O₂ % → NOₓ increases ~10–40% (non-linear)
Increasing T by 50 K → NOₓ doubles
Control target: Keep T as LOW as possible while maintaining combustion stability.
```
**Combustion Efficiency:**
```
η_combustion = 100% − (CO + H₂ + CH₄ in flue) / theoretical heat
≈ 99.5–99.9% for well-tuned boiler
< 98% if CO > 100 ppm (unburned fuel waste)
```
### Control Architecture: **Nested Cascade Loops**
```
Load Change (MW)
│
┌────┴────┐
▼ ▼
[Primary Loop] [Secondary Loop: A/F Trim]
╔═══════════╗ ╔═════════════╗
║ Furnace ║ ║ O₂ Analyzer ║
║ Pressure ║ ║ + CEMS ║
║ Control ║ ──→ (NOₓ, CO) ║
╚═════════╤═╝ ╚═════╤═══════╝
│ │
│ ▼
│ [NOₓ Optimizer]
│ Adjusts O₂ setpoint
│ │
▼ ▼
[Master Fuel] [Master Air]
↓ ↓
Fuel Valve Air Damper/Fan Speed
Primary loop: Furnace pressure = baseline control
Secondary loop: O₂/NOₓ = fine-tuning
Both feed the same valve actuators (proportional solenoids).
```
### Tuning Philosophy
**Loop Tuning:** Slow and deliberate because:
1. CEMS analyzer has 30–60 sec response delay (reaction time)
2. Combustion efficiency changes take 10–20 sec to propagate
3. Aggressive tuning causes oscillation ±15–20 ppm NOₓ
**Target Response:**
- O₂ setpoint change → 60 sec to stabilize NOₓ within ±10 ppm
- No overshoot (target: smooth ramp)
---
## 🏗️ Control Logic
### Pseudocode: Air/Fuel Ratio Trim Cascade (Secondary Loop Only)
```pascal
PROGRAM AirFuelRatioTrimControl;
{ ========== DECLARATIONS ========== }
VAR
-- PRIMARY LOOP SIGNALS (from Template 01)
furnace_pressure_actual : REAL; { From pressure sensor }
furnace_pressure_sp : REAL; { From primary loop PID }
fuel_flow_actual : REAL; { kg/s }
-- SECONDARY LOOP SENSORS (THIS PROGRAM)
o2_flue_analyzer : REAL; { 0-20 % O₂ in flue gas }
nox_emissions_ppm : REAL; { 0-500 ppm, CEMS instrument }
co_emissions_ppm : REAL; { 0-200 ppm, CEMS instrument }
so2_emissions_ppm : REAL; { 0-200 ppm, optional }
flue_gas_temp : REAL; { 100-200 °C, thermocouple }
-- ANALYZER HEALTH
analyzer_valid : BOOL; { Data valid flag from CEMS }
analyzer_response_delay : REAL := 45.0; { Sec until stabilized }
-- CONTROL SETPOINTS
o2_sp_optimal : REAL := 3.5; { Target O₂ % (stoichiometric balance) }
nox_sp_limit : REAL := 250.0; { EPA or plant permit limit [ppm] }
co_sp_high_alarm : REAL := 100.0; { Incomplete combustion alarm }
-- TRIM CORRECTION LOGIC
o2_error : REAL;
nox_error : REAL;
nox_excess_above_limit : REAL;
-- PROPORTIONAL TRIM TERM
kp_o2_trim : REAL := 0.15; { Slow: O₂ is sensitive parameter }
kp_nox_optimization : REAL := 0.05; { Even slower: NOₓ is highly non-linear }
-- TRIM OUTPUT (Commands to primary loop)
o2_sp_trim_adjustment : REAL := 0.0; { Offset added to O₂ setpoint }
fuel_flow_offset : REAL := 0.0; { Alternative: direct fuel trim }
-- DAMPING / STABILITY
nox_moving_avg_60sec : REAL; { 60-sec rolling average filter }
nox_rate_of_change : REAL;
overshoot_protection : BOOL;
-- PERFORMANCE TRACKING
efficiency_index : REAL;
nox_compliance_margin : REAL;
analyzer_fault_count : INT := 0;
BEGIN
{ ========== SENSOR INPUT & VALIDATION ========== }
-- Check CEMS analyzer health (signal validity flag from instrument)
IF NOT analyzer_valid THEN
analyzer_fault_count := analyzer_fault_count + 1;
IF analyzer_fault_count > 10 THEN { > 10 invalid readings in a row }
{ ALARM: "CEMS analyzer fault or drift — O₂ trim disabled, operating on O₂ only" }
{ Fall back to primary pressure loop (Template 01) }
RETURN; { Exit this trim program; primary loop continues }
END_IF;
ELSE
analyzer_fault_count := 0;
END_IF;
-- Apply 60-second moving average to NOₓ (filter noise)
nox_moving_avg_60sec := (nox_moving_avg_60sec × 0.95) + (nox_emissions_ppm × 0.05);
{ ========== ERROR CALCULATIONS ========== }
-- O₂ error (primary)
o2_error := o2_sp_optimal - o2_flue_analyzer;
-- NOₓ error (secondary)
nox_excess_above_limit := nox_moving_avg_60sec - nox_sp_limit;
nox_error := 0.0; { Even if at target, may need lean for efficiency }
{ ========== DECISION TREE: A/F TRIM LOGIC ========== }
-- CASE 1: NOₓ Exceeding Limit (Lean Condition = Too Much O₂)
IF nox_moving_avg_60sec > nox_sp_limit THEN
-- PROBLEM: O₂ is TOO HIGH → Flame too hot → NOₓ spike
-- SOLUTION: REDUCE O₂ setpoint → richer burn → cooler flame → lower NOₓ
nox_error := nox_excess_above_limit;
o2_sp_trim_adjustment := -kp_nox_optimization × nox_error;
{ Example: If NOₓ = 280 ppm (excess of 30 ppm):
Trim = -0.05 × 30 = -1.5
New O₂ SP = 3.5 − 1.5 = 2.0% (richer, less air)
Expected: Cooler combustion → NOₓ drops
}
-- CASE 2: CO Rising (Rich Condition = Too Little O₂)
ELSIF co_emissions_ppm > co_sp_high_alarm THEN
-- PROBLEM: Not enough air → incomplete combustion → CO rises
-- SOLUTION: INCREASE O₂ setpoint → leaner → better flame contact → CO drops
co_error := co_emissions_ppm - co_sp_high_alarm;
o2_sp_trim_adjustment := +kp_o2_trim × (co_error / 100.0); { Normalize to 100 ppm range }
{ Example: If CO = 150 ppm (50 ppm over limit):
Trim = +0.15 × (50/100) = +0.075
New O₂ SP = 3.5 + 0.075 = 3.575% (leaner, more air)
Expected: Better air/fuel mixing → CO drops
}
-- CASE 3: Optimal Range (NOₓ < Limit AND CO < 100 ppm)
ELSE
-- MAINTAIN: Gradually optimize for maximum efficiency
-- Keep O₂ as close to stoichiometric (0% excess) as possible without hitting NOₓ or CO limits
IF nox_moving_avg_60sec < (nox_sp_limit − 30.0) THEN
-- Extra margin to limit: can go LEANER to save more fuel
o2_sp_trim_adjustment := o2_sp_trim_adjustment + 0.1; { Slowly increase O₂ }
ELSIF nox_moving_avg_60sec > (nox_sp_limit − 10.0) THEN
-- Close to limit: stay RICHER to maintain safety margin
o2_sp_trim_adjustment := o2_sp_trim_adjustment − 0.05; { Slowly decrease O₂ }
ELSE
-- Dead-band: maintain current trim
o2_sp_trim_adjustment := o2_sp_trim_adjustment × 0.99; { Very slight decay if drifting }
END_IF;
END_IF;
{ ========== RATE LIMITING (Anti-Shock) ========== }
-- Prevent sudden O₂ setpoint swings
-- Max change: ±0.3 per scan (2-sec scans → ±0.15/sec)
IF o2_sp_trim_adjustment > o2_sp_trim_adjustment_prev + 0.3 THEN
o2_sp_trim_adjustment := o2_sp_trim_adjustment_prev + 0.3;
ELSIF o2_sp_trim_adjustment < o2_sp_trim_adjustment_prev − 0.3 THEN
o2_sp_trim_adjustment := o2_sp_trim_adjustment_prev − 0.3;
END_IF;
{ ========== OVERSHOOT PROTECTION ========== }
-- If NOₓ dropped >20 ppm in last 2 minutes → we went too rich → back off slightly
nox_rate_of_change := (nox_moving_avg_60sec − nox_prev) / scan_time;
IF nox_rate_of_change < -20.0 AND scan_counter > 120 THEN
{ Past overshoot; becoming too rich now }
o2_sp_trim_adjustment := MIN(o2_sp_trim_adjustment + 0.2, 0.0); { Lean back out slightly }
overshoot_protection := TRUE;
ELSE
overshoot_protection := FALSE;
END_IF;
{ ========== CONSTRAINTS ========== }
-- Keep trim within reasonable bounds
IF o2_sp_trim_adjustment > 1.5 THEN
o2_sp_trim_adjustment := 1.5; { Max lean: 3.5 + 1.5 = 5.0% O₂ }
ELSIF o2_sp_trim_adjustment < -2.0 THEN
o2_sp_trim_adjustment := -2.0; { Max rich: 3.5 − 2.0 = 1.5% O₂ (combustion danger!) }
END_IF;
{ ========== COMBINED O₂ SETPOINT ========== }
-- Primary loop (Template 01) maintains furnace pressure
-- Secondary loop (this) applies O₂ trim offset
o2_setpoint_final := o2_sp_optimal + o2_sp_trim_adjustment;
-- This final setpoint is sent to PRIMARY LOOP as its O₂ feedback target
-- Primary loop's secondary (O₂ trim) loop will use this as reference
{ ========== EFFICIENCY TRACKING ========== }
-- Calculate combustion efficiency index
IF co_emissions_ppm < 50.0 AND nox_moving_avg_60sec < (nox_sp_limit − 20.0) THEN
efficiency_index := 100.0; { Optimal zone }
ELSIF co_emissions_ppm < 100.0 AND nox_moving_avg_60sec < nox_sp_limit THEN
efficiency_index := 95.0; { Good }
ELSIF co_emissions_ppm > 150.0 OR nox_moving_avg_60sec > (nox_sp_limit + 50.0) THEN
efficiency_index := 80.0; { Poor; loss of combustion control }
ELSE
efficiency_index := 90.0; { Acceptable }
END_IF;
-- NOₓ compliance margin (how far below limit?)
nox_compliance_margin := nox_sp_limit − nox_moving_avg_60sec;
{ ========== ALARMS ========== }
IF nox_moving_avg_60sec > nox_sp_limit + 50.0 THEN
{ CRITICAL: "NOₓ emissions EXCEEDING PERMIT by 50 ppm — manual control required" }
END_IF;
IF co_emissions_ppm > 200.0 THEN
{ CRITICAL: "CO extremely high (>200 ppm) — incomplete combustion; reduce load immediately" }
END_IF;
IF analyzer_fault_count > 5 THEN
{ ALARM: "CEMS analyzer unstable — trim control suspended; operating on primary loop only" }
END_IF;
IF overshoot_protection THEN
{ INFO: "Overshoot protection active — backing off O₂ trim to prevent rich swing" }
END_IF;
{ ========== SEND COMMAND TO PRIMARY LOOP ========== }
-- Output: o2_setpoint_final (used as reference in Template 01's secondary loop)
{ ========== UPDATE STATE FOR NEXT CYCLE ========== }
nox_prev := nox_moving_avg_60sec;
o2_sp_trim_adjustment_prev := o2_sp_trim_adjustment;
scan_counter := scan_counter + 1;
END_PROGRAM;
```
---
## 🏷️ Tag List
### Analog Inputs (Sensors)
| Tag Name | Type | Range | Units | Description |
|----------|------|-------|-------|-------------|
| `O2_FLUE_ANALYZER` | AI | 0–20 | % | Flue gas O₂ concentration (CEMS) |
| `NOX_EMISSIONS_CEMS` | AI | 0–500 | ppm | NOₓ (NO + NO₂) from continuous monitor |
| `CO_EMISSIONS_CEMS` | AI | 0–200 | ppm | Carbon monoxide level |
| `SO2_EMISSIONS_CEMS` | AI | 0–200 | ppm | Sulfur dioxide (optional, for SO₂ scrubber trim) |
| `FLUE_GAS_TEMP` | AI | 0–300 | °C | Flue gas temperature (before air preheater) |
| `ANALYZER_STATUS_FLAG` | DI | High = Valid | — | CEMS data validity signal |
### Analog Outputs
| Tag Name | Type | Range | Units | Description |
|----------|------|-------|-------|-------------|
| `O2_SETPOINT_FINAL` | REAL | 1.5–5.0 | % | Final O₂ setpoint (sent to primary loop) |
| `O2_TRIM_OFFSET` | REAL | −2.0 to +1.5 | % | Trim adjustment from secondary loop only |
| `NOX_EFFICIENCY_INDEX` | REAL | 0–100 | — | Performance metric (100 = optimal control) |
| `NOX_COMPLIANCE_MARGIN` | REAL | −50 to +250 | ppm | Distance below permit limit |
### Discrete Signals
| Tag Name | Type | Logic | Description |
|----------|------|-------|--|---
| `NOX_EXCEEDS_LIMIT` | DO | Latched | NOₓ > permit limit (250 ppm) |
| `CO_HIGH_ALARM` | DO | Latched | CO > 100 ppm (incomplete combustion) |
| `CEMS_ANALYZER_FAULT` | DO | Latched | >5 invalid readings; trim disabled |
| `OVERSHOOT_PROTECTION` | DO | Pulse | Trim backing off due to overshoot |
---
## 🚨 Alarm & Trip Matrix
| Condition | Threshold | Severity | Action | Recovery |
|-----------|-----------|----------|--------|----------|
| **NOₓ Over Permit** | > 250 ppm | 🔴 TRIP | Reduce load 5-10%; richen mixture | < 240 ppm |
| **NOₓ Critical** | > 300 ppm | 🔴 CRIT | Reduce load to 50%; manual control | Investigate combustion |
| **CO High** | > 100 ppm | ⚠️ WARN | Lean out (more air); check mixing | < 50 ppm |
| **CO Critical** | > 200 ppm | 🔴 CRIT | Stop combustion immediately | Restart from cold |
| **CEMS Fault** | Invalid data >5 readings | ⚠️ WARN | Disable trim; use pressure control only | CEMS repair/recalibration |
| **O₂ Oscillating** | ±1 % in 30 sec | ⚠️ WARN | Trim tuning unstable; reduce Kp | Re-tune |
---
## 📺 HMI Layout
### Air/Fuel Ratio Trim Status Panel
```
┌────────────────────────────────────────────────┐
│ A/F RATIO TRIM & EMISSIONS MONITOR │
├────────────────────────────────────────────────┤
│ │
│ ╔════════════════ CEMS DATA ═════════════╗ │
│ ║ O₂ Flue: 3.4% (SP: 3.5%) ║ │
│ ║ NOₓ: 242 ppm (Limit: 250) ║ │
│ ║ CO: 32 ppm (Alarm: 100) ║ │
│ ║ SO₂: 45 ppm (Info only) ║ │
│ ║ Flue Temp: 165°C ║ │
│ ║ ║ │
│ ║ Analyzer Status: ✓ Valid (45 sec age) ║ │
│ ╚══════════════════════════════════════════╝ │
│ │
│ ╔═════════ CONTROL TRIM STATE ═════════╗ │
│ ║ O₂ Trim Offset: +0.2 % ║ │
│ ║ Final O₂ SP: 3.7% ✓ ║ │
│ ║ Trim Direction: LEANING (more air) ║ │
│ ║ Stability: Good ✓ ║ │
│ ║ Overshoot Protect: Inactive ║ │
│ ╚═════════════════════════════════════╝ │
│ │
│ ╔══════════ PERFORMANCE ════════════╗ │
│ ║ Eff Index: 98/100 GoodJ ║ │
│ ║ NOₓ Margin: +8 ppm (safe) ║ │
│ ║ Compliance Score: ✓✓✓ Excellent ║ │
│ ║ Recent Faults: [None] ║ │
│ ╚═════════════════════════════════════╝ │
│ │
│ ⚠️ [NONE] 🔴 [NONE] │
│ │
│ [Load: 75%] [Last Trim: 2 min ago] [Permit: EPA]
│ │
└────────────────────────────────────────────────┘
```
### Trend Graph: O₂, NOₓ, CO Over 4 Hours
```
O₂ [%]
5 ├─
4 ├─────╱╲ ╱╲────────────
3 ├────╱ ╲───────╱ ╲────────── ← Setpoint
2 ├───╱────╲─────────╲──────────
1 └─────────────────────────────
NOₓ [ppm]
350 ├─
300 ├─╱╲ ╱╲─────────────
250 ├╱ ╲────────────╱ ╲────────── ← Permit limit
200 ├───────────────────────────────
100 └─
CO [ppm]
150 ├─ ╱╲ ╱╲
100 ├───╱ ╲───────╱ ╲────────── ← Alarm
50 ├────────╲─────────╲──────────
0 └─────────────────────────────
└──00:00──01:00──02:00──03:00──04:00
Observations:
- 00:00–01:00: O₂ = 3.4%, NOₓ = 242 (below limit), CO = 30 (excellent)
- 01:00–02:00: Load ramp → O₂ trim adds +0.5 → O₂ = 3.9% (leaner = better efficiency)
- 02:00–04:00: Stable at optimal trim; NOₓ stable below limit
```
---
## 🔧 Configuration Parameters
```json
{
"air_fuel_ratio_trim": {
"description": "Secondary loop A/F optimization (extends Template 01)",
"o2_setpoint_optimal_percent": 3.5,
"nox_permit_limit_ppm": 250.0,
"co_high_alarm_ppm": 100.0,
"scan_time_sec": 2.0,
"cems_response_delay_sec": 45.0,
"trim_tuning": {
"proportional_gain_kp_o2": 0.15,
"proportional_gain_kp_nox": 0.05,
"integral_gain_ki": 0.0,
"derivative_gain_kd": 0.0,
"rate_limit_percent_per_scan": 0.3,
"max_trim_lean_percent": 1.5,
"max_trim_rich_percent": -2.0
},
"filtering": {
"nox_moving_average_sec": 60.0,
"nox_rate_change_threshold_ppm_per_min": -20.0,
"overshoot_detection_window_sec": 120.0
},
"efficiency_zones": {
"optimal_co_max_ppm": 50.0,
"optimal_nox_margin_ppm": 20.0,
"good_co_max_ppm": 100.0,
"poor_nox_threshold_above_limit_ppm": 50.0
}
}
}
```
---
## 📝 Implementation Checklist
### Instrumentation Pre-Install
- [ ] CEMS analyzer system procured: O₂, NOₓ, CO, SO₂ capability
- [ ] Sampling probe located: flue gas duct (after air preheater, before stack)
- [ ] Analyzer warmup time confirmed: typically 30–45 minutes before valid data
- [ ] Data communication: analyzer outputs via 4-20 mA or digital (Modbus/ethernet)
- [ ] O₂ transmitter verified: high accuracy (<±0.5% O₂)
- [ ] Flue gas temperature thermocouple installed: compensate density calculations
### Hot Commissioning (Plant at load, 5 days)
**Day 1: Analyzer Validation**
- [ ] CEMS online; compare O₂ reading vs. standalone portable analyzer
- Portable: _____ %
- CEMS: _____ %
- Difference: < 0.5% ✓
- [ ] NOₓ reading stable after warmup (check baseline vs. permit)
**Day 2: Primary Loop Baseline (No secondary trim active)**
- [ ] Run with Template 01 only (no secondary A/F cascade)
- [ ] Furnace pressure control active
- [ ] Record: O₂ ___%, NOₓ ___ppm, CO ___ppm
- [ ] Note if NOₓ is within permit (good starting point for trim tuning)
**Day 3: Enable Secondary Trim; Observe Response**
- [ ] Engage secondary trim loop (this program)
- [ ] Monitor O₂ setpoint adjustment happening automatically
- [ ] Observe NOₓ trend: should move toward permit limit ±10 ppm
- [ ] Record trim offset direction: ___% (positive = leaning out)
- [ ] Oscillation check: ±1-2% in O₂ acceptable; >2% means overtight tuning
**Day 4: Load Transient Test**
- [ ] Load step 50% → 100%
- [ ] Monitor NOₓ response: should stabilize within 90–120 seconds
- [ ] Peak NOₓ during transient: ___ppm (should not exceed limit + 30 ppm buffer)
- [ ] CO during transient: ___ppm (should stay <150 ppm)
**Day 5: Long-Term Stability (8-hour run)**
- [ ] Run at constant full load
- [ ] Monitor: NOₓ trend (should not drift), O₂ oscillation (should be <±0.5%)
- [ ] Record 1-hour baseline snapshot for future comparison
- [ ] Verify CEMS analyzer stability (no dropouts)
- [ ] Confirm NO permit violations over 8 hours ✓
---
## 📊 Expected Performance
### Steady-State (Full Load, Optimal Trim)
| Parameter | Target | Range | Typical |
|-----------|--------|-------|---------|
| **O₂ Flue** | 3.5% | 3.0–4.0% | **3.4%** |
| **NOₓ Emissions** | <200 ppm | <250 ppm limit | **242 ppm** |
| **CO Emissions** | <50 ppm | <100 ppm | **32 ppm** |
| **SO₂ Emissions** | <50 ppm | <200 ppm | **45 ppm** |
| **Flue Temp** | 160–170°C | — | **165°C** |
| **Trim Offset** | ±0.3% | ±2.0% max | **+0.2%** |
| **Efficiency Index** | 98–100 | >90 | **98** |
### Transient Response (Load 50% → 100%)
| Time (sec) | Load (%) | O₂ (%) | NOₓ (ppm) | CO (ppm) | Trend |
|-----------|----------|--------|----------|----------|-------|
| 0 | 50 | 3.4 | 220 | 28 | Baseline |
| 30 | 75 | 3.5 | 245 | 35 | Lean due to load |
| 60 | 100 | 3.7 | 265 | 42 | Peak NOₓ (above ideal, within limit) |
| 90 | 100 | 3.5 | 250 | 38 | Trim correcting back |
| 120 | 100 | 3.4 | 242 | 32 | **Settled** ✓ |
---
## 🔄 Advanced Variations
### Variation A: Automatic Permit Compliance Setpoint
If plant operates in multiple compliance regimes (summer/winter NOₓ levels differ):
```
IF Month BETWEEN May AND September THEN
nox_sp_limit := 200 ppm { More stringent summer }
ELSE
nox_sp_limit := 250 ppm { Standard winter }
END_IF
```
### Variation B: Load-Dependent O₂ Scheduling
Some plants optimize O₂ differently based on load:
```
O₂_optimal = 3.5 + 0.05 × (100 − Load)
= 3.5 at full load, 8.0 at 0% load (combustion stability concern)
```
---
## 📄 Document Version History
| Version | Date | Author | Change |
|---------|------|--------|--------|
| 1.0 | 2026-04-13 | Claude | Initial template: NOₓ trim + CEMS feedback |
---
*This template is part of the TSIMEREZIVO Industrial Process Control Library.*