update variable name

This commit is contained in:
2024-05-03 15:36:02 +02:00
parent 09ef44fc21
commit 88240280ca
3 changed files with 31 additions and 8 deletions

View File

@@ -1,16 +1,16 @@
import pandas as pd
class pv_config:
def __init__(self, capacity, cost_per_kW, pv_lifetime, pv_loss):
def __init__(self, capacity, cost_per_kW, lifetime, loss):
self.capacity = capacity
self.cost_per_kW = cost_per_kW
self.lifetime = pv_lifetime
self.loss = pv_loss
self.lifetime = lifetime
self.loss = loss
class ess_config:
def __init__(self, capacity, cost_per_kW, ess_lifetime, ess_loss, charge_power, discharge_power):
def __init__(self, capacity, cost_per_kW, lifetime, loss, charge_power, discharge_power):
self.capacity = capacity
self.cost_per_kW = cost_per_kW
self.lifetime = ess_lifetime
self.loss = ess_loss
self.lifetime = lifetime
self.loss = loss
self.storage = 0
self.charge_power = charge_power
self.discharge_power = discharge_power