Skip to main content

Arbitrage Tracker (gw-pi2, Sezibwa)

Cumulative record of the TOU battery arbitrage on gw-pi2 (Sezibwa). Each night the inverter discharges the battery during a peak-tariff window and recharges it from the grid at the off-peak rate from 00:00. Daily progress goes to the Element business room; this page is the running record. It is rebuilt from the OpenEMS backend by scripts/arbitrage_tracker.py in the nfe-modbus-energy-logger repo.

Settings and why they were chosen: Arbitrage Window and Thresholds (decision record).

Last updated: 2026-10-2627 06:4932 EAT.

Totals

Measure Value
Nights armed 027
Energy shifted to peak 0.0116.2 kWh
Estimated net saving 021,972 UGX
Average per armed night4.30 kWh, 814 UGX
Projected per month at that rate24,413 UGX

Night by night

data(edgeoffline)
Night Config Window Start SoC start SoC end Shifted (kWh) Peak (kW) Lowest pack (V) Saving (UGX) Recharge 00-06 (kWh) Notes
2026-09-26 v12 22:00-23:59 22:03 78% 48% 3.08 6.1 50.96 582 5.9 nofirst dataarmed (edge offline)night
2026-09-27 v13 off 0 0 4.5 nodisarmed: dataSoC (edge65% offline)after the 27 Sep overload outage
2026-09-28 v14 21:30-23:30 21:33 87% 64% 2.28 4.6 51.45 432 4.1 nowindow datamoved (edgeto offline)21:30-23:30
2026-09-29 v15 off 0 0 5.5 nodisarmed: dataSoC (edge61% offline)after the 05:15-07:51 grid outage
2026-09-30 v17 21:00-23:00 21:03 87% 60% 2.75 6.3 50.94 519 4.5 window 21:00-23:00, no datamore (edgemanual offline)disarms
2026-10-01 v18 off 0 0 5.7 noskipped: datatwo (edgeoutages offline)left SoC at 51% before the window
2026-10-02 v18 off 0 0 1.7 nostill datadisarmed (edgere-arm offline)missed)
2026-10-03 v19 21:00-23:00 21:03 64% 38% 2.64 4.4 51.10 499 7.0 nore-armed datawith (edgethe offline)v17 profile
2026-10-04 v19 21:00-23:00 21:03 84% 63% 2.17 2.2 52.17 410 4.3 no data (edge offline)
2026-10-05 v21 18:00-23:59 19:22 15% 9% 0.08 1.9 49.32 15 10.8 nodriver datarules live: start at 30% or above, floor 15%; 0.9 kWh of the discharge was during an outage (edgebackup, offline)not counted)
2026-10-06 v21 18:00-23:59 18:04 89% 25% 5.04 4.0 51.14 953 8.4 no1.5 datakWh of the discharge was during an outage (edgebackup, offline)not counted)
2026-10-07 v21 18:00-23:59 18:04 89% 25% 6.56 5.0 51.00 1,239 8.3 no data (edge offline)
2026-10-08 v21 18:00-23:59 18:04 89% 21% 6.88 5.5 50.22 1,300 8.7 no data (edge offline)
2026-10-09 v21 18:00-23:59 18:04 79% 28% 5.18 4.3 50.88 980 8.0 no data (edge offline)
2026-10-10 v21 18:00-23:59 18:04 65% 15% 4.96 4.1 51.10 938 9.4 no data (edge offline)
2026-10-11 v21 18:00-23:59 18:04 54% 15% 3.59 4.3 50.26 679 9.2 no data (edge offline)
2026-10-12 v21 18:00-23:59 18:00 77% 15% 6.12 4.4 50.52 1,157 9.0 no data (edge offline)
2026-10-13 v21 18:00-23:59 18:03 89% 15% 7.51 5.1 50.34 1,419 9.3 no data (edge offline)
2026-10-14 v21 18:00-23:59 18:04 89% 23% 6.76 4.1 50.82 1,277 8.5 no data (edge offline)
2026-10-15 v21 18:00-23:59 18:04 89% 20% 6.97 4.1 50.62 1,317 7.3 no data (edge offline)
2026-10-16 v21 18:00-23:59 18:04 92% 15% 7.97 4.1 50.28 1,507 9.6 no data (edge offline)
2026-10-17 v21 18:00-23:59 18:04 55% 15% 4.16 4.1 50.37 786 9.6 no data (edge offline)
2026-10-18 v21 18:00-23:59 18:04 80% 15% 1.47 5.7 50.54 278 10.7 no5.9 datakWh of the discharge was during an outage (edgebackup, offline)not counted)
2026-10-19 v21 18:00-23:59 18:04 75% 15% 5.64 4.1 50.27 1,067 10.2 no0.2 datakWh of the discharge was during an outage (edgebackup, offline)not counted)
2026-10-20 v21 18:00-23:59 18:04 40% 15% 2.50 4.2 50.68 473 9.6 no data (edge offline)
2026-10-21 v21 18:00-23:59 18:05 87% 15% 4.90 4.3 50.26 926 7.9 no1.1 datakWh of the discharge was during an outage (edgebackup, offline)not counted)
2026-10-22 v21 18:00-23:59 18:04 36% 9% 2.33 3.3 49.43 440 10.3 no0.9 datakWh of the discharge was during an outage (edgebackup, offline)not counted)
2026-10-23 v21 18:00-23:59 18:10 90% 15% 1.06 4.2 0.00 200 2.6 no data (edge offline)
2026-10-24 v21 18:00-23:59 18:05 40% 15% 0.65 3.7 0.00 123 2.1 no data (edge offline)
2026-10-25 v21 18:00-23:5918:0489%19%7.124.350.761,3468.9
2026-10-26 v21 18:00-23:59 18:05 82% 22% 5.87 no5.1 50.42 1,109 8.7

Outages and reliability

Every grid outage, with how the battery carried it and how much of the reserve that night's arbitrage had already used. This is the record for judging what the deeper discharge costs in backup.

No

outagesrecordedsince
MeasureValue
Outages42 (62.8 h)
Outages where the firstsite armedwent night.

dark
5
Outages that started after an arbitrage night, before the recharge0
Of those, site went dark0
DateStartEndDurationSoC at startLowest SoCLowest pack (V)Battery supplied (kWh)Site darkArbitrage use before (kWh)Notes
2026-10-0110:4514:123h2793%60%52.163.4no
2026-10-0120:2020:420h2256%52%51.920.5no
2026-10-0315:1016:491h3990%66%52.102.5no
2026-10-0416:3516:520h1790%87%52.600.3no
2026-10-0506:4009:272h4796%68%52.073.0no
2026-10-0510:3513:443h0966%37%51.702.9no
2026-10-0513:5014:420h5237%31%51.910.5no
2026-10-0515:2517:171h5230%15%50.911.6no
2026-10-0519:2520:551h3015%9%49.321.0yes, 48 min no data
2026-10-0619:2020:060h4681%64%52.001.7no
2026-10-0916:5017:551h0590%79%52.621.1no
2026-10-1010:4510:470h0293%93%52.920.0no
2026-10-1012:3012:540h2492%89%52.800.3no
2026-10-1015:1517:392h2488%65%52.322.4no
2026-10-1102:1508:206h05100%60%52.284.0no0.0
2026-10-1217:2018:040h4489%77%51.991.3no
2026-10-1603:4505:031h1898%89%52.900.9no
2026-10-1703:3903:430h0498%98%53.050.0no
2026-10-1703:5007:033h1398%74%52.802.4no
2026-10-1713:5015:151h2570%57%52.171.3no
2026-10-1803:4903:520h0398%98%53.050.0no
2026-10-1812:3513:340h5992%83%52.531.0no
2026-10-1819:2522:383h1367%15%50.546.0no
2026-10-1902:2003:030h43100%94%52.900.5no
2026-10-1913:5015:431h5392%76%52.491.8no
2026-10-1919:3019:400h1060%58%52.010.2no
2026-10-2004:2505:240h5998%91%52.900.7no
2026-10-2005:5009:303h40100%61%51.924.3no
2026-10-2009:3509:360h0161%52.520.0no
2026-10-2009:4011:071h2760%44%51.701.6no
2026-10-2112:5012:510h0193%52.950.0no
2026-10-2112:5513:100h1592%90%52.770.2no
2026-10-2120:4522:592h1456%16%50.262.9yes, 38 min no data
2026-10-2203:4009:375h5797%41%52.501.7yes, 234 min no data
2026-10-2219:3320:000h2715%13%50.160.8no
2026-10-2220:0520:120h0713%12%50.180.0no
2026-10-2220:2520:260h0112%12%50.210.0no
2026-10-2220:3020:340h0411%10%49.430.1yes, 0 min no data
2026-10-2407:1511:434h2896%60%52.600.7yes, 216 min no data
2026-10-2412:5014:291h3959%43%51.831.7no
2026-10-2613:4014:350h5592%84%52.700.8no
2026-10-2703:4503:500h0598%98%53.060.0no

Where to tweak

  • Unused battery headroom: the battery ends the window with an average 0.4 kWh above its floor (45% before the driver rules, 15% from v21) (73 UGX a night if shifted too).
  • Peak energy still bought from the grid: 1.2 kWh a night between 18:00 and midnight falls outside the window. That is the ceiling for more shifting, limited by battery size and the backup reserve.
  • Voltage margin: the lowest pack voltage so far is 49.32 V against the 50.4 V disarm trigger and 48.8 V inverter cut-off.
  • Spread: each shifted kWh earns about 189 UGX net (666.5 peak minus 429.7 off-peak at 90% round trip). A new quarterly tariff changes this directly.

Method

  • Shifted energy: battery discharge (ess0/ActivePower > 0) integrated over the configured window, with 10 minutes added at the end for the inverter clock lag. Only minutes with the grid present count; discharge during an outage is backup, not arbitrage, and is shown in the notes.
  • Saving: shifted kWh at the peak rate, minus the off-peak cost of putting that energy back at 90% round-trip efficiency. It is energy only (no service charge, VAT or battery wear).
  • Recharge: battery charging between 00:00 and 06:00. It includes refilling any evening outage use, so it can exceed the shifted energy.
  • Config history: ADR-016 in the microgrid-gateway repo (v12 22:00-23:59, v13 off, v14 21:30-23:30 from 28 Sep, v17 21:00-23:00 from 30 Sep, v18 off 1-2 Oct, v19 re-armed from 3 Oct, v21 from 5 Oct: 18:00-23:59 with the driver's 30% start and 15% floor).
  • Outage: a minute counts as an outage when any phase of the inverter's grid-side meter (meter0) reads under 150 V or the inverter reports machine state 3 (off grid). Minutes with no data during an outage mean the edge lost power, which means the site went dark; an outage counts as dark at 5 such minutes or when SoC fell to 10% (the inverter's cut-off point seen on 24 Sep).
  • Arbitrage use before an outage: the energy that night's window took from the battery (grid present), for outages that start after the window and before 06:00. It is the backup the site did not have because of arbitrage. An outage that starts inside the window is marked, because from then on the discharge is backup.