1
0
forked from EHV/sejeteralo

seuillage prix moyen >30

This commit is contained in:
nicoboy
2026-05-01 21:26:16 +02:00
parent daad6bb1d5
commit 8b1dd9b170
+1 -1
View File
@@ -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: