Method & sources

Every number shown in FieldFlow traces back to a published formula or a clearly stated assumption. This page lists them so judges and users can verify the calculations.

Core water-balance equations (FAO-56)

ETc  = Kc × ET0                         // crop water demand (mm/day)
TAW  = 1000 × (θFC − θWP) × Zr          // total available water (mm)
RAW  = p × TAW                          // readily available water (mm)

Dr_end(i) = clamp(
  Dr_end(i−1) − Peff(i) − I(i) + ETc(i),
  0, TAW
)

Irrigation decision rule

Irrigate if  Dr + ETc_today − Peff_forecast ≥ RAW
Net depth   = Dr          // refill to field capacity
Gross depth = net / Ea    // Ea = application efficiency (default 0.6)

Crop coefficients (Kc) and stage lengths

Approximate single-crop-coefficient values from FAO-56 Tables 11 & 12.

CropInitialDevelopmentMid-seasonLate
WheatKc 0.30 · 30 dKc ≈ 0.70 · 40 dKc 1.15 · 50 dKc 0.25 · 30 d
MaizeKc 0.30 · 25 dKc ≈ 0.75 · 40 dKc 1.20 · 50 dKc 0.60 · 30 d

Soil parameters

θFC − θWP from FAO-56 Table 19; depletion fraction p and root depth Zr from Table 22 (typical cereal values).

SoilθFC − θWPpZr (m)TAW (mm)
Sandy loam0.120.551.0120
Loam0.150.551.2180
Clay loam0.180.501.0180

TAW = 1000 × (θFC − θWP) × Zr. RAW = p × TAW.

Effective rainfall (stated assumption)

  • Events under 5 mm are ignored
  • 80 % of the remainder is considered effective
  • Capped by current root-zone storage capacity (cannot exceed Dr + ETc)

Energy and emissions

kWh = 0.00272 × m³ × H / η
Diesel litres = kWh / 3.2               // labelled constant
CO₂e (electric) = kWh × 0.50 kg/kWh     // Pakistan grid approx.
CO₂e (diesel)   = litres × 2.68 kg/L    // IPCC / DEFRA typical
  • Default total dynamic head H = 30 m (shallow tubewell)
  • Default wire-to-water efficiency η = 0.55
  • Canal source skips the energy and CO₂ steps entirely (no pumping)

Baseline comparison & sensitivity

The fixed-schedule baseline is the counterfactual we compare against. Default values are representative of common extension practice in irrigated areas of Pakistan. On the Impact page you can switch between three scenarios:

ScenarioIntervalNet depthNotes
Conservative18 days50 mmLower water use, higher stress risk
Typical (default)14 days60 mmCommon extension recommendation
Wasteful10 days70 mmOver-irrigation common in practice

Maize defaults: 12-day interval, 55 mm net. Showing stress days for both schedules makes the savings claim more credible — the baseline sometimes under-waters as well as over-waters.

Data sources

  • Weather — Open-Meteo forecast & archive APIs (daily ET₀ FAO and precipitation_sum). Free, no API key. Server-side cache ~3 h + committed deterministic fallback season so the demo never breaks.
  • Science — Allen et al., FAO Irrigation and Drainage Paper 56 (1998).
  • Emission factors — Pakistan grid ≈ 0.50 kg CO₂e/kWh (Ember / national inventories); diesel 2.68 kg CO₂e/L (IPCC / DEFRA).

Limitations (stated honestly)

  • Simplified single-layer soil bucket; no capillary rise or deep percolation beyond TAW.
  • No local soil-sensor calibration.
  • Kc values are approximate mid-latitude single coefficients; local varieties and management may differ.
  • Rice (flooded paddies) is excluded because the soil-bucket model does not apply.
  • Emission factors are national / IPCC defaults, not site-specific.
  • All savings are estimated relative to the stated baseline scenario.

Built for Green Shift Hacks · Verify every constant against the primary sources before final submission.