# compute_cumac : calculer les kwh cumac

Multiplie les tableaux de la section 5 de la version en vigueur, étape par étape, et demande en une fois tout ce qui manque. Pour chiffrer un devis ou contrôler le montant d'un dossier.

## Paramètres

- fiche (requis) : Standardised operation reference, for example BAR-TH-171 (also accepted: bar th 171). Sectors: AGRI, BAR (residential), BAT (tertiary), IND, RES (networks), TRA.
- date : Engagement date of the operation (date d'engagement, for example the date the quote was accepted), YYYY-MM-DD. Defaults to today.
- inputs : Values by the names compute_cumac asks for: a band variable as a number (Etas 145, S 80), a quantity (S, N, P), zone (H1, H2, H3), case (label or number), or another option as printed in the fiche.
- department : Optional French department number (75, 2A, 974 is not covered) to set the climate zone from the ministry's table.

## Exemple

```json
{"fiche":"BAR-TH-171","date":"2026-11-10","inputs":{"case":"maison","S":80,"Etas":145},"department":"67"}
```

```json
{
  "fiche": "BAR-TH-171",
  "version": "A82-5",
  "date": "2026-11-10",
  "title": "Pompe à chaleur de type air/eau",
  "case": "Pour une maison individuelle",
  "status": "computed",
  "kwh_cumac": 91728,
  "mwh_cumac": 91.728,
  "formula": "109200 × 0.7 × 1.2 = 91728",
  "steps": [
    {
      "factor": "Montant kWhc",
      "chosen": "140%≤ Etas",
      "value": 109200
    },
    {
      "factor": "Facteur correctif selon la surface chauffée",
      "chosen": "70 ≤ S < 90",
      "value": 0.7
    },
    {
      "factor": "Facteur correctif selon la zone géographique",
      "chosen": "H1",
      "value": 1.2
    }
  ],
  "quantities": [],
  "zone_from_department": "67 Bas Rhin: H1",
  "checks_not_done": "Eligibility conditions (section conditions), bonifications and coup de pouce offers are not applied.",
  "source": {
    "publisher": "Ministère chargé de l'énergie (ecologie.gouv.fr), Opérations standardisées d'économies d'énergie",
    "document": "BAR-TH-171 vA82-5 à compter du 01-09-2026",
    "url": "https://www.ecologie.gouv.fr/sites/default/files/documents/BAR-TH-171%20vA82-5%20%C3%A0%20compter%20du%2001-09-2026.pdf",
    "sha256": "21d43f1e3e1bd8f6a94b26b5853f18b8c731598a17d3b2f432a81d84253701bb",
    "on_ministry_page": true,
    "page": "https://www.ecologie.gouv.fr/politiques-publiques/operations-standardisees-deconomies-denergie",
    "page_updated": "2026-11-05",
    "retrieved": "2026-11-09",
    "licence": "Licence Ouverte / Open Licence Etalab 2.0",
    "attribution": "Ministère chargé de l'énergie, Opérations standardisées d'économies d'énergie (https://www.ecologie.gouv.fr/politiques-publiques/operations-standardisees-deconomies-denergie), mise à jour du 2026-11-05, Licence Ouverte Etalab 2.0."
  },
  "data_version": "2026-11-05.03baa5a5",
  "data_date": "2026-11-05",
  "disclaimer": "Automated and unreviewed: Fichestone reads the ministry's fiches automatically and no person checks each answer. Data can be incomplete, late or wrong; always verify against the official fiche PDF linked in source before you act. Not energy, legal or tax advi…"
}
```

## Description pour les agents

Computes the kWh cumac of one operation from the forfait tables of the fiche version in force on the engagement date: forfait times each correction factor times any quantity (surface S, number N, power P), with every step, the band chosen and the formula. Send what you know in inputs, for example { "S": 80, "Etas": 145, "case": "maison" } with department 67 or zone H1; if anything is missing it answers status needs_input with the names and options to send, so one first call without inputs is fine. Answers status not_computed, with the French text of the amount section, when the fiche states its amount as a formula or a table this service cannot read safely (about half the fiches); it never guesses. Call it to price a quote or check a dossier amount. It does not check eligibility conditions, and it does not apply bonifications or coup de pouce offers.

---

Source de cette page : https://fichestone.bulkhead.solutions/docs/compute_cumac
Données : page du ministère mise à jour le 05/11/2026, version des données 2026-11-05.03baa5a5.

Automatique et non vérifié. Fichestone lit automatiquement les fiches publiées par le ministère, et aucune personne ne vérifie chaque réponse. Les données peuvent être incomplètes, en retard ou erronées. Vérifiez toujours la fiche officielle liée à chaque réponse avant d'agir. Ce n'est pas un conseil juridique, fiscal ou énergétique. Les conditions d'éligibilité, les bonifications et les offres Coup de pouce ne sont pas vérifiées, et seuls les arrêtés publiés au Journal officiel font foi.
