Commit graph

39 commits

Author SHA1 Message Date
andig
0d03c9e693 chore: minor 2026-01-10 11:35:48 +01:00
andig
b4612bd22a chore: minor 2026-01-05 19:53:37 +01:00
andig
8ef3cce10f
Planner: fix preconditioning creating empty slots (#26448) 2026-01-05 13:51:03 +00:00
Ingo
ed9709e079
Planner: guard against incomplete rates (#26324) 2026-01-04 13:06:04 +01:00
Ingo
87346351d8
chore: speedup planner (#26385) 2026-01-03 12:09:20 +01:00
andig
3115bb1a2e
chore: avoid allocating intermediate slices (#26320) 2026-01-01 17:30:51 +01:00
andig
dc6d056538 Reapply "Planner: add continuous strategy (BC) (#24423)"
This reverts commit 7acc133f3c.
2025-12-31 13:25:58 +01:00
andig
7acc133f3c Revert "Planner: add continuous strategy (BC) (#24423)"
This reverts commit 291898fea9.
2025-12-31 11:30:23 +01:00
Ingo
291898fea9
Planner: add continuous strategy (BC) (#24423) 2025-12-30 22:43:11 +00:00
andig
ecc904142c
Planner: fix preconditioning starting too early (#24981) 2025-11-05 09:30:45 +00:00
andig
5e40fcdbb7
Planner: fix missing costs for precondition slots (#24645) 2025-10-23 15:27:48 +02:00
andig
3a7da709f6 chore: simplify 2025-08-22 08:47:02 +02:00
andig
832012ef15
Planner: add precondition phase before departure (#20431) 2025-04-25 14:10:09 +02:00
andig
48d84356e9
Tariffs: rename price to value (BC) (#19182) 2025-04-06 19:05:35 +02:00
andig
acbcf5461c
Planner: always create simple plan even if tariff errors (#19004) 2025-02-21 08:09:48 +01:00
andig
e43e2154d8 Rename IsEmpty 2025-02-17 23:01:33 +01:00
andig
f469be6f73
chore: use range loop (#18176) 2025-01-11 16:47:25 +01:00
andig
b0ea0582e2
Add battery grid charging (#14855) 2024-08-03 15:23:50 +02:00
Michael Geers
93c8b36f7f
UI: add charging status icons (#14581) 2024-07-07 08:21:06 +02:00
Martin Weinelt
daee304a49
chore: migrate from unmaintained mockgen (#11547)
The golang mock package has been archived and is now maintained by uber.

> Update, June 2023: This repo and tool are no longer maintained. Please
> see go.uber.org/mock for a maintained fork instead.

[1] https://github.com/golang/mock
[2] https://github.com/uber-go/mock
2024-01-08 11:13:27 +01:00
andig
7fa3d252c9
chore: remove dead code (#11451) 2024-01-03 22:54:39 +01:00
andig
e1e703c4a7
Planner: don't touch plan when disabling due to soc/energy limits reached (#11030) 2023-12-19 18:10:01 +01:00
andig
58e2421a5b
chore: fix linter (#11028) 2023-12-06 18:29:32 +01:00
andig
354fd0857a chore: replace jinzhu/copier 2023-11-10 17:12:02 +01:00
andig
40a16e1f72
Tariff: ensure rates are sorted by time (#10680) 2023-11-06 21:04:05 +01:00
andig
613c9c6e76 chore: add comments 2023-11-05 14:40:10 +01:00
andig
245730abf1 chore: refactor mock apis 2023-11-01 12:23:29 +01:00
andig
e14fdf6822
Require Go 1.21 (#9244) 2023-08-17 21:41:44 +02:00
andig
7c3ca53f02
Add dedicated co2 tariff (#8089)
---------

Co-authored-by: Michael Geers <michael@geers.tv>
2023-05-31 09:19:36 +02:00
andig
cdc7cf0621
Planner: remove special handling of last slot (#6970) 2023-04-02 19:06:27 +02:00
andig
dcaadb783f
Refactor target charging apis (#5649) 2023-01-19 19:01:22 +01:00
andig
a61773e764 Planner: return target time as slot end when short-circuiting planning 2022-12-31 11:14:45 +01:00
andig
3b438c69a4 chore: log three digits 2022-12-30 18:54:34 +01:00
andig
bc7648841a
Publish plan start (earliest slot) (#5607) 2022-12-29 16:03:45 +01:00
andig
d72122d2fc Planner: at max power to log message 2022-12-28 19:26:20 +01:00
andig
118a950da8 chore: improve logging 2022-12-27 21:04:47 +01:00
andig
6ee70ca74c chore: log target in local time 2022-12-27 18:10:34 +01:00
andig
48f22d5ab3
Refactor charge planning (#5569)
* Correct plan duration and add test for long last slot
* Split planning and evaluating plan
2022-12-26 11:41:36 +01:00
andig
a9666b57ee
Add charge planner (#5445) 2022-12-23 10:52:54 +01:00