- Home Appliances fixed

- Unittest with Home Appliances
This commit is contained in:
Andreas
2024-10-06 14:29:23 +02:00
committed by Andreas
parent 0a0c3eed87
commit 9b7817e3dc
6 changed files with 34 additions and 27 deletions

View File

@@ -355,13 +355,13 @@ parameter = {
# Initial solution for the optimization
"start_solution": start_solution,
# Household appliance consumption (Wh)
"haushaltsgeraet_wh": 937,
"haushaltsgeraet_wh": 5000,
# Duration of appliance usage (hours)
"haushaltsgeraet_dauer": 0,
"haushaltsgeraet_dauer": 2,
}
# Initialize the optimization problem
opt_class = optimization_problem(prediction_hours=48, strafe=10, optimization_hours=24)
opt_class = optimization_problem(prediction_hours=48, strafe=10, optimization_hours=24, verbose=True)
# Perform the optimisation based on the provided parameters and start hour
ergebnis = opt_class.optimierung_ems(parameter=parameter, start_hour=start_hour)