Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/energyplan-0-6-0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ftw": patch
---

Update the bundled Energyplan planner to 0.6.0. With an hourly import limit set, Energyplan keeps every clock hour under it, lets the battery cover the house so the car fits, and shows a car goal it cannot reach as short instead of promising it. Plans without a limit are unchanged. Core still validates every plan.
2 changes: 1 addition & 1 deletion go/internal/mpc/energyplan_fault_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func TestNativeEnergyplanEVRecoveryFallbackFaults(t *testing.T) {
t.Cleanup(func() { _ = external.Close() })
wrapper := &EnergyplanOptimizer{ExternalOptimizer: external}
health, err := wrapper.Health(context.Background())
if err != nil || health.Version != "0.5.2" {
if err != nil || health.Version != "0.6.0" {
t.Fatalf("bundle health=%+v err=%v", health, err)
}
svc := shadowTestService(t)
Expand Down
2 changes: 1 addition & 1 deletion go/internal/mpc/energyplan_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func TestNativeEnergyplanDownsideAndAsyncShadow(t *testing.T) {
svc := shadowTestService(t)
svc.Optimizer = o
info, err := svc.Optimizer.(*EnergyplanOptimizer).Health(context.Background())
if err != nil || info.Name != "ftw-solver" || info.Version != "0.5.2" {
if err != nil || info.Name != "ftw-solver" || info.Version != "0.6.0" {
t.Fatalf("bundled worker health: %+v %v", info, err)
}
start := time.Now().UTC().Truncate(time.Hour)
Expand Down
2 changes: 1 addition & 1 deletion optimizer/native/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The [Energyplan contract](../../docs/energyplan-contract.md) defines the shared
planning and forecast boundary, result meanings, units and failure rules.
Core owns it; Energyplan keeps an identical copy.

Energyplan 0.5.2 uses the Home Use Binary License in `bundle/LICENSE.txt`. It
Energyplan 0.6.0 uses the Home Use Binary License in `bundle/LICENSE.txt`. It
permits private household use with FTW and free noncommercial redistribution
for that use. Commercial use, OEM bundles, paid installation and services need
a separate written license from Sourceful Labs AB. FTW's AGPL code has a
Expand Down
Binary file modified optimizer/native/bundle/ftw-solver-darwin-arm64
Binary file not shown.
Binary file modified optimizer/native/bundle/ftw-solver-linux-amd64
Binary file not shown.
Binary file modified optimizer/native/bundle/ftw-solver-linux-arm64
Binary file not shown.
16 changes: 8 additions & 8 deletions optimizer/native/bundle/manifest.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"schema_version": 1,
"product": "energyplan",
"version": "0.5.2",
"version": "0.6.0",
"source_repository": "srcfl/energyplan",
"source_commit": "38c4872a5f646e0b822f7645ae06f3b454a8ffea",
"source_commit": "e975bb946234d9a5c889e4957991d54737201ccf",
"rustc": "rustc 1.95.0 (59807616e 2026-04-14)",
"protocol_version": 1,
"forecast_protocol_version": 1,
Expand Down Expand Up @@ -39,16 +39,16 @@
"bytes": 15377
},
"ftw-solver-darwin-arm64": {
"sha256": "65f819dd4f723641a74efe0a2210531f2f5f82ef64e0c98dc6318baf78c3d85f",
"bytes": 1472304
"sha256": "9dc25999ce96247593adbe02c29cc368f8d03e91bd6e18be8f52acc8a5c82336",
"bytes": 1522000
},
"ftw-solver-linux-amd64": {
"sha256": "a7bc7c89642763c51892d361af99f60370f4cc8085cc92b02f5a4b9ee1cda260",
"bytes": 1889768
"sha256": "82a6a6d9414589b704f658117cca8c41d10db83c5eb909016dfd8d2aae1c4395",
"bytes": 1937544
},
"ftw-solver-linux-arm64": {
"sha256": "2057e3dc0f37fb5fc5a164f8717406c63fcc0d68ce1ddfe24f1a42a80e34e87f",
"bytes": 1511296
"sha256": "00875b4d243bd1e32a028084552559603f11f155cb5391ab9d8d0f1e7fcc4b4c",
"bytes": 1549032
},
"rust-runtime/COPYRIGHT-library.html": {
"sha256": "90567e2718bf7fd65a71a3a43c5596488e80e5f51ed02bfea6fec54458b5f3d1",
Expand Down
Loading