🇬🇧 English 🇪🇸 Español 🇫🇷 Français 🇩🇪 Deutsch

Scoring Methodology

How we calculate Safety, Hardness and Taste scores

Overview

Each municipality and each individual water network is assigned three sub-scores — Safety, Hardness and Taste & Comfort — each on a scale from 0 to 10. These are combined into a weighted overall score:

A score of 10 = ideal. A score of 0 = at the legal maximum. 0 does not mean unsafe — the authoritative indicator is the official SINAC certification (APTA / NO APTA). Only readings from the last year are included.

Safety Parameters (50%)

ParameterLegal limitScoring method
E. coli0 UFC/100ml10 if zero, 0 if detected
Enterococci0 UFC/100ml10 if zero, 0 if detected
Coliform bacteria0 UFC/100ml10 if zero, 0 if detected
Nitrate50 mg/LLinear: 10→0 as value→limit
Nitrite0.5 mg/LLinear
Lead10 µg/LLinear
Arsenic10 µg/LLinear
Mercury1 µg/LLinear
Cadmium5 µg/LLinear
Chromium50 µg/LLinear
Nickel20 µg/LLinear
Trihalomethanes (THMs)100 µg/LLinear
Total pesticides0.5 µg/LLinear
Uranium30 µg/LLinear

Linear scoring: score = 10 × (1 − value ÷ limit). At 0 concentration, score = 10. At the legal limit, score = 0.

Hardness Parameters (25%)

ParameterLegal limit / referenceScoring method
Water hardness (CaCO₃)No legal limitTiered: ≤100=10, ≤200=8, ≤300=6, ≤400=4, >400=2
Conductivity2500 µS/cmLinear above 500 µS/cm
Chloride250 mg/LLinear
Sulphate250 mg/LLinear
Sodium200 mg/LLinear
Fluoride1.5 mg/LLinear

Taste & Comfort Parameters (25%)

ParameterReferenceScoring method
pHOptimal 7.0–8.010 in optimal range, tapers to 0 at extremes
Turbidity4 NTULinear
Chlorine0.2–1.0 mg/L requiredPeak at 0.2–0.5 mg/L
Odour3 (dilution index)Linear
Taste3 (dilution index)Linear
Colour15 mg Pt-Co/LLinear
Aluminium200 µg/LLinear
Iron200 µg/LLinear
Manganese50 µg/LLinear
Ammonia0.5 mg/LLinear

Data pipeline

  1. Scrape: Fetches current network data from SINAC via HTTP POST requests
  2. Score: Applies scoring formulas to each measured parameter for each network
  3. Aggregate: Calculates weighted averages per municipality
  4. Generate: Builds static HTML for all 60+ pages (4 languages)
  5. Deploy: Publishes to Cloudflare Pages

Legal limits reference EU Drinking Water Directive 2020/2184/EU as implemented by Spanish Royal Decree 3/2023.