mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-08-25 06:52:23 +00:00
inverter test: Mock SelfConsumptionProbabilityInterpolator
This commit is contained in:
@@ -10,7 +10,6 @@ from scipy.interpolate import RegularGridInterpolator
|
||||
class SelfConsumptionPropabilityInterpolator:
|
||||
def __init__(self, filepath: str | Path):
|
||||
self.filepath = filepath
|
||||
# self.interpolator = None
|
||||
# Load the RegularGridInterpolator
|
||||
with open(self.filepath, "rb") as file:
|
||||
self.interpolator: RegularGridInterpolator = pickle.load(file)
|
||||
|
Reference in New Issue
Block a user