Outil · Calculer les kWh cumac
compute_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
| Nom | Type | Description (contrat de l'API, en anglais) |
|---|---|---|
| fiche requis | string | Standardised operation reference, for example BAR-TH-171 (also accepted: bar th 171). Sectors: AGRI, BAR (residential), BAT (tertiary), IND, RES (networks), TRA. |
| date | string | Engagement date of the operation (date d'engagement, for example the date the quote was accepted), YYYY-MM-DD. Defaults to today. |
| inputs | object | 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 | string ou integer | Optional French department number (75, 2A, 974 is not covered) to set the climate zone from the ministry's table. |
Exemple réel
Appel exécuté le 29 novembre 2026 au moment de la construction de cette page. Les longues chaînes et listes sont coupées ici (…), pas dans l'API.
Requête REST
curl -s https://fichestone.bulkhead.solutions/v1/tools/compute_cumac \
-H 'content-type: application/json' \
-d '{"fiche":"BAR-TH-171","date":"2026-11-10","inputs":{"case":"maison","S":80,"Etas":145},"department":"67"}'
Même appel en MCP
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "compute_cumac",
"arguments": {
"fiche": "BAR-TH-171",
"date": "2026-11-10",
"inputs": {
"case": "maison",
"S": 80,
"Etas": 145
},
"department": "67"
}
}
}
Réponse
{
"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 lue par 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.