Strompreis entkoppelt, kann jetzt als Array übergeben werden.

This commit is contained in:
Bla Bla
2024-07-30 09:22:55 +02:00
parent 95b0ec5664
commit 4cff8fb8a6
7 changed files with 314 additions and 156 deletions

View File

@@ -1,6 +1,6 @@
import numpy as np
class PVAkku:
def __init__(self, kapazitaet_wh=None, hours=None, lade_effizienz=0.8, entlade_effizienz=1.0,max_ladeleistung_w=None,start_soc_prozent=0,min_soc_prozent=0,max_soc_prozent=100):
def __init__(self, kapazitaet_wh=None, hours=None, lade_effizienz=0.88, entlade_effizienz=0.88,max_ladeleistung_w=None,start_soc_prozent=0,min_soc_prozent=0,max_soc_prozent=100):
# Kapazität des Akkus in Wh
self.kapazitaet_wh = kapazitaet_wh
# Initialer Ladezustand des Akkus in Wh