Skip to content
Snippets Groups Projects
Commit fec9c461 authored by Martin Schnitzler's avatar Martin Schnitzler
Browse files

Added remaining profile types for demand generators

parent 1c4e1a09
No related branches found
No related tags found
No related merge requests found
Subproject commit f78c45120b4c875182cd58525c74f2366ff4f400
Subproject commit c55ca3f9952897c2741f338de80a2d31e0b5478c
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment