From fec9c461e5edf64af11f74a192e3808b98124699 Mon Sep 17 00:00:00 2001 From: Martin Schnitzler <martin.schnitzler@rwth-aachen.de> Date: Mon, 11 Nov 2024 14:24:27 +0100 Subject: [PATCH] Added remaining profile types for demand generators --- Tooling | 2 +- examples/data/runme.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Tooling b/Tooling index f78c45120b..c55ca3f995 160000 --- a/Tooling +++ b/Tooling @@ -1 +1 @@ -Subproject commit f78c45120b4c875182cd58525c74f2366ff4f400 +Subproject commit c55ca3f9952897c2741f338de80a2d31e0b5478c diff --git a/examples/data/runme.py b/examples/data/runme.py index 6444340634..68a42e2a90 100644 --- a/examples/data/runme.py +++ b/examples/data/runme.py @@ -31,11 +31,11 @@ import numpy as np import pandas as pd # generate electricity demand for the year 2019 with an annual demand of 3000 kWh -electricity_demand = ElectricityDemandGenerator().generate(2019, 3000) +electricity_demand = ElectricityDemandGenerator().generate("H0", 2019, 3000) # generate heating demand for the year 2019 with an annual demand of 3000 kwh and random daily temperatures between -20°C and 30°C heating_demand = HeatingDemandGenerator().generate( - 2019, 3000, np.random.random(365) * 50.0 - 20.0, False + "D13", 2019, 3000, np.random.random(365) * 50.0 - 20.0, False ) # compute the radiation -- GitLab