diff --git a/.changeset/energyplan-0-6-0.md b/.changeset/energyplan-0-6-0.md new file mode 100644 index 000000000..d57ed3464 --- /dev/null +++ b/.changeset/energyplan-0-6-0.md @@ -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. diff --git a/go/internal/mpc/energyplan_fault_test.go b/go/internal/mpc/energyplan_fault_test.go index de432e2bd..ea728d01a 100644 --- a/go/internal/mpc/energyplan_fault_test.go +++ b/go/internal/mpc/energyplan_fault_test.go @@ -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) diff --git a/go/internal/mpc/energyplan_test.go b/go/internal/mpc/energyplan_test.go index e5c6556ec..5a2458f44 100644 --- a/go/internal/mpc/energyplan_test.go +++ b/go/internal/mpc/energyplan_test.go @@ -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) diff --git a/optimizer/native/README.md b/optimizer/native/README.md index f954123e0..8804a4de0 100644 --- a/optimizer/native/README.md +++ b/optimizer/native/README.md @@ -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 diff --git a/optimizer/native/bundle/ftw-solver-darwin-arm64 b/optimizer/native/bundle/ftw-solver-darwin-arm64 index 05cd84aa6..ec5746f08 100755 Binary files a/optimizer/native/bundle/ftw-solver-darwin-arm64 and b/optimizer/native/bundle/ftw-solver-darwin-arm64 differ diff --git a/optimizer/native/bundle/ftw-solver-linux-amd64 b/optimizer/native/bundle/ftw-solver-linux-amd64 index e3e36e525..fd4a2f1d6 100755 Binary files a/optimizer/native/bundle/ftw-solver-linux-amd64 and b/optimizer/native/bundle/ftw-solver-linux-amd64 differ diff --git a/optimizer/native/bundle/ftw-solver-linux-arm64 b/optimizer/native/bundle/ftw-solver-linux-arm64 index 5f41e41da..ba8a43c1a 100755 Binary files a/optimizer/native/bundle/ftw-solver-linux-arm64 and b/optimizer/native/bundle/ftw-solver-linux-arm64 differ diff --git a/optimizer/native/bundle/manifest.json b/optimizer/native/bundle/manifest.json index 02850f515..7068d9c8d 100644 --- a/optimizer/native/bundle/manifest.json +++ b/optimizer/native/bundle/manifest.json @@ -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, @@ -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",