forked from EHV/sejeteralo
seuillage prix moyen >30
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user