From 07a0ec2b103562e29fbb6338ae044c374912f7a4 Mon Sep 17 00:00:00 2001 From: Ate Hempenius Date: Tue, 24 Jun 2025 14:07:59 +0200 Subject: [PATCH 1/2] peak shaving battery algorithm added to the GC + cleanup of gc canvas --- Zero_engine.alpx | 4 + _alp/Agents/EnergyModel/EmbeddedObjects.xml | 30 - .../AOC.GCDistrictHeating.xml | 3 - .../AOC.GCEnergyConversion.xml | 3 - .../AOC.GCEnergyProduction.xml | 3 - .../GCGridBattery/AOC.GCGridBattery.xml | 3 - _alp/Agents/GCHouse/AOC.GCHouse.xml | 3 - _alp/Agents/GCIndustry/AOC.GCIndustry.xml | 3 - .../GCNeighborhood/AOC.GCNeighborhood.xml | 3 - .../GCPublicCharger/AOC.GCPublicCharger.xml | 3 - _alp/Agents/GCUtility/AOC.GCUtility.xml | 3 - .../GridConnection/AOC.GridConnection.xml | 74 --- _alp/Agents/GridConnection/Code/Events.java | 6 - _alp/Agents/GridConnection/Code/Events.xml | 40 -- .../Agents/GridConnection/Code/Functions.java | 507 +++------------ _alp/Agents/GridConnection/Code/Functions.xml | 148 ++--- .../GridConnection/Levels/Level.level.xml | 178 +---- _alp/Agents/GridConnection/Variables.xml | 612 +++--------------- 18 files changed, 242 insertions(+), 1384 deletions(-) delete mode 100644 _alp/Agents/GridConnection/Code/Events.java delete mode 100644 _alp/Agents/GridConnection/Code/Events.xml diff --git a/Zero_engine.alpx b/Zero_engine.alpx index 43084e2d..53a63dad 100644 --- a/Zero_engine.alpx +++ b/Zero_engine.alpx @@ -985,6 +985,10 @@ 1742557314771 +