Exposable manually-set control parameters for 16WW DHW top-up. Use storage-charge-pref-by-hour-local-time.csv to lookup how to consider grid electricity in each grid hour for topping-up the heat battery. (Generally only in any case if the store is mainly empty for example.) The hours are including any daylight saving, will mainly apply in winter. H is typical high grid demand and to be avoided. M is possible relatively low demand and may be suitable, eg for v low intensity. L is typical low demand and prime time for top-up if intensity OK. In all cases a random buffer period of at least a few minutes should be applied around the hour boundaries, as loads switching on exact hour boundaries is unfriendly to the grid. Topping-up at 'M' may require a lower intensity than at 'L'. Implicitly top-up may occur in unmarked periods if grid 'super-green' ie bottom-quartile intensity over last 24h/7d and no (pumped) storage drawdown. Use intensity-threshold-by-HML.csv to look up grid intensity upper threshold to allow grid top-up at H/-/M/L levels. To get local time with any daylight adjustment needed use: TZ='Europe/London' date Other suggested parameters to be dealt with: * Reduce spill margin before diversion to minimum (50W?) for 2h either side of 12:00Z, else ~100W, or even wider when grid red? Reasoning: to minimise spill to grid when it may already be full of other spilled solar. * Cap *imports* during night top-up of thermal store from grid to 1.5kW/1.8kW to reduce I^2R losses and to distinguish from other loads. Eg top-up would stop while the dishwasher was heating water (2kW). PARTIAL CHANGELOG (algorithm and config) * Made 15h 'M' to allow possibility of precharge before 16h--19h peak/'H'.