Skip to content

fix(chauffage): coefficient PCS/PCI du propane et du butane (1,09) - #236

Merged
michaeldesigaud merged 1 commit into
mainfrom
fix/k-pcs-pci-propane-butane
Oct 4, 2026
Merged

michaeldesigaud merged 1 commit into
mainfrom
fix/k-pcs-pci-propane-butane

Conversation

@elliot-redfroggy

Copy link
Copy Markdown
Collaborator

Problème

13.2_generateur_combustion_ch.js : propane et butane utilisaient k = 1,11 (gaz naturel) au lieu de 1,09 (GPL) → Rg −0,019 % sur tous les cas propane.

Validation Tribu

  • APP5-0-4 et APP5-0-43 : Rg Tribu reproduit à 1e-15.
  • Seul, ne fait basculer aucun cas (gain visible combiné à la PR cascade avec priorité).

K est exporté pour le test.

Autotests ADEME (Tribu), base 1.8.21

Grandeurs conformes Cch Cas 100 %
1.8.21 92,0 % 63/82 60/82
3 PR chauffage (Pveil, K propane, cascade priorité) 94,7 % 70/82 67/82
+ 2 corrections adaptateur autotests 97,3 % 77/82 73/82

Aucune bascule conforme → non conforme. Fixtures ADEME (296, conso_ch ±1 %) : 192 conformes avant et après.
Tests : ajouts uniquement, les nouveaux tests échouent sans le correctif, couverture 100 % du fichier modifié, eslint/prettier OK.

…r le gpl (1.09)

Le propane et le butane sont des GPL : k = 1.09 et non 1.11 (gaz naturel).
Reproduit exactement le Rg Tribu des autotests État APP5-0-4/41/42/43
(écart Rg -0.019 % -> 0). K est exporté pour être testé.
@michaeldesigaud
michaeldesigaud self-requested a review October 4, 2026 11:32
@michaeldesigaud michaeldesigaud added bug Something isn't working auto_tests_cstb labels Oct 4, 2026
@michaeldesigaud
michaeldesigaud merged commit 88d2b08 into main Oct 4, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto_tests_cstb bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants