From 619969987a3d67639a7bc44fbe9f7f58606cf613 Mon Sep 17 00:00:00 2001 From: ariwahyunahar Date: Tue, 6 Jan 2026 21:22:34 +0700 Subject: [PATCH] Perubahan run2.py -> proyeksi sf dan auxelary sesuai rumus pak Stefy --- src/modules/plant/run2.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/modules/plant/run2.py b/src/modules/plant/run2.py index 706522f..4ca9c65 100644 --- a/src/modules/plant/run2.py +++ b/src/modules/plant/run2.py @@ -495,14 +495,6 @@ def main(): auxiliary_history.append( (production_bruto - production_netto) / production_bruto * 100 if production_bruto != 0 else 0) else: - # last_3_sfc = sfc_history[-3:] - # avg_last_3_sfc = sum(last_3_sfc) / len(last_3_sfc) if len(last_3_sfc) > 0 else 0 - # sfc = avg_last_3_sfc - # sfc_history.append(avg_last_3_sfc) - # last_3_auxiliary = auxiliary_history[-3:] - # avg_last_3_auxiliary = sum(last_3_auxiliary) / len(last_3_auxiliary) if len(last_3_auxiliary) > 0 else 0 - # auxiliary = avg_last_3_auxiliary - # auxiliary_history.append(avg_last_3_auxiliary) sfc_rate = npf.rate(len(sfc_history) - 1, 0, sfc_history[-1], -sfc_history[1]) if len( sfc_history) > 2 else 0 sfc = sfc_history[-1] / (1 + sfc_rate) ** seq_non_actual @@ -513,7 +505,6 @@ def main(): seq_non_actual += 1 production_netto = net_capacity_factor * 8760 * daya_mampu_netto / 100 - print(production_netto) production_bruto = production_netto / (100 - (auxiliary + susut_trafo)) * 100 energy_sales = production_netto fuel_consumption = production_bruto * sfc