Files
EOS/tests/testdata/eos_config_stripped.json
Bobby Noelte cf477d91a3
Some checks are pending
Bump Version / Bump Version Workflow (push) Waiting to run
docker-build / platform-excludes (push) Waiting to run
docker-build / build (push) Blocked by required conditions
docker-build / merge (push) Blocked by required conditions
pre-commit / pre-commit (push) Waiting to run
Run Pytest on Pull Request / test (push) Waiting to run
feat: add fixed electricity prediction with time window support (#930)
Add a fixed electricity prediction that supports prices per time window.
The time windows may flexible be defined by day or date.

The prediction documentation is updated to also cover the ElecPriceFixed
provider.

The feature includes several changes that are not directly related to the
electricity price prediction implementation but are necessary to keep
EOS running properly and to test and document the changes.

* feat: add value time windows

    Add time windows with an associated float value.

* feat: harden eos measurements endpoints error detection and reporting

    Cover more errors that may be raised during endpoint access. Report the
    errors including trace information to ease debugging.

* feat: extend server configuration to cover all arguments

    Make the argument controlled options also available in server configuration.

* fix: eos config configuration by cli arguments

    Move the command line argument handling to config eos so that it is
    excuted whenever eos config is rebuild or reset.

* chore: extend measurement endpoint system test

* chore: refactor time windows

    Move time windows to configabc as they are only used in configurations.
    Also move all tests to test_configabc.

* chore: provide config update errors in eosdash with summarized error text

    If there is an update error provide the error text as a summary. On click
    provide the full error text.

* chore: force eosdash ip address and port in makefile dev run

    Ensure eosdash ip address and port are correctly set for development runs.

Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
2026-03-11 17:18:45 +01:00

135 lines
3.4 KiB
JSON

{
"general": {
"version": "__ANY__",
"data_output_subpath": "output"
},
"cache": {
"subpath": "cache"
},
"ems": {
"mode": "OPTIMIZATION"
},
"devices": {
"batteries": [
{
"device_id": "battery1"
}
],
"max_batteries": 1,
"electric_vehicles": [
{
"device_id": "ev11",
"capacity_wh": 50000,
"min_soc_percentage": 70
}
],
"max_electric_vehicles": 1,
"inverters": [
{
"device_id": "inverter1",
"max_power_w": 10000.0,
"battery_id": "battery1"
}
],
"max_inverters": 1,
"home_appliances": [
{
"device_id": "dishwasher1",
"consumption_wh": 2000,
"duration_h": 3,
"time_windows": {
"windows": [
{
"start_time": "08:00:00.000000",
"duration": "5 hours"
},
{
"start_time": "15:00:00.000000",
"duration": "3 hours"
}
]
}
}
],
"max_home_appliances": 1
},
"elecprice": {
"provider": "ElecPriceAkkudoktor"
},
"feedintariff": {
"provider": "FeedInTariffFixed",
"provider_settings": {
"FeedInTariffFixed": {
"feed_in_tariff_kwh": 0.078
}
}
},
"load": {
"provider": "LoadAkkudoktorAdjusted",
"loadakkudoktor": {
"loadakkudoktor_year_energy_kwh": 3000.0
}
},
"pvforecast": {
"provider": "PVForecastAkkudoktor",
"planes": [
{
"surface_tilt": 7.0,
"surface_azimuth": 170.0,
"userhorizon": [
20.0,
27.0,
22.0,
20.0
],
"peakpower": 5.0,
"inverter_paco": 10000
},
{
"surface_tilt": 7.0,
"surface_azimuth": 90.0,
"userhorizon": [
30.0,
30.0,
30.0,
50.0
],
"peakpower": 4.8,
"inverter_paco": 10000
},
{
"surface_tilt": 60.0,
"surface_azimuth": 140.0,
"userhorizon": [
60.0,
30.0,
0.0,
30.0
],
"peakpower": 1.4,
"inverter_paco": 2000
},
{
"surface_tilt": 45.0,
"surface_azimuth": 185.0,
"userhorizon": [
45.0,
25.0,
30.0,
60.0
],
"peakpower": 1.6,
"inverter_paco": 1400
}
],
"max_planes": 4
},
"weather": {
"provider": "BrightSky"
},
"server": {
"eosdash_host": "127.0.0.1",
"eosdash_port": 8504
}
}