From 8b1dd9b1703f24f07fb11edc6c1c105c62c34e25 Mon Sep 17 00:00:00 2001 From: nicoboy Date: Fri, 1 May 2026 21:26:16 +0200 Subject: [PATCH] seuillage prix moyen >30 --- frontend/app/pages/commune/[slug]/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/pages/commune/[slug]/index.vue b/frontend/app/pages/commune/[slug]/index.vue index e5985ef..943ba7c 100644 --- a/frontend/app/pages/commune/[slug]/index.vue +++ b/frontend/app/pages/commune/[slug]/index.vue @@ -1032,7 +1032,7 @@ const avgPriceWithAboPath = computed(() => { const pts: string[] = [] for (let i = 1; i < curve.curveVolumes.length; i++) { const v = curve.curveVolumes[i] - if (v < 1) continue + if (v < 30) continue // Approximate bill at volume v: we use trapezoidal integration of marginal price // Simpler: bill ≈ average_marginal_price * v, and average_marginal_price ≈ curvePrice at v // More accurate: use the integral formulas. But for display, we use: