Commit graph

20 commits

Author SHA1 Message Date
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