Tests fixed

This commit is contained in:
Andreas
2024-12-21 14:39:57 +01:00
committed by Andreas
parent 8a9fe297c5
commit 0606772758
5 changed files with 969 additions and 855 deletions

View File

@@ -307,9 +307,7 @@
}
},
"type": "object",
"required": [
"kapazitaet_wh"
],
"required": ["kapazitaet_wh"],
"title": "EAutoParameters"
},
"EAutoResult": {
@@ -455,10 +453,7 @@
}
},
"type": "object",
"required": [
"temperature",
"pvpower"
],
"required": ["temperature", "pvpower"],
"title": "ForecastResponse"
},
"GesamtlastRequest": {
@@ -480,11 +475,7 @@
}
},
"type": "object",
"required": [
"year_energy",
"measured_data",
"hours"
],
"required": ["year_energy", "measured_data", "hours"],
"title": "GesamtlastRequest"
},
"HTTPValidationError": {
@@ -516,10 +507,7 @@
}
},
"type": "object",
"required": [
"consumption_wh",
"duration_h"
],
"required": ["consumption_wh", "duration_h"],
"title": "HomeApplianceParameters"
},
"OptimizationParameters": {
@@ -588,11 +576,7 @@
}
},
"type": "object",
"required": [
"ems",
"pv_akku",
"eauto"
],
"required": ["ems", "pv_akku", "eauto"],
"title": "OptimizationParameters"
},
"OptimizeResponse": {
@@ -751,9 +735,7 @@
}
},
"type": "object",
"required": [
"kapazitaet_wh"
],
"required": ["kapazitaet_wh"],
"title": "PVAkkuParameters"
},
"SimulationResult": {
@@ -912,6 +894,21 @@
"type": "array",
"title": "Akku Soc Pro Stunde",
"description": "The state of charge of the battery (not the EV) in percentage per hour."
},
"Electricity_price": {
"items": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"type": "array",
"title": "Electricity Price",
"description": "Used Electricity Price, including predictions"
}
},
"type": "object",
@@ -928,7 +925,8 @@
"Netzbezug_Wh_pro_Stunde",
"Netzeinspeisung_Wh_pro_Stunde",
"Verluste_Pro_Stunde",
"akku_soc_pro_stunde"
"akku_soc_pro_stunde",
"Electricity_price"
],
"title": "SimulationResult",
"description": "This object contains the results of the simulation and provides insights into various parameters over the entire forecast period."
@@ -959,11 +957,7 @@
}
},
"type": "object",
"required": [
"loc",
"msg",
"type"
],
"required": ["loc", "msg", "type"],
"title": "ValidationError"
},
"WechselrichterParameters": {
@@ -980,4 +974,4 @@
}
}
}
}
}