At some point, add tiered plans to base functionality. Specific things that need to be addressed;
Each plan can be tiered.
Each plan must have reset criteria: start of day, start of week, month, season or year. This may enough of a performance issue to drive writing back to the influx database? Can't have multiple tiers in a plan.
Need to add a flat rate element that sits parallel to daily "periods" (i.e something that applies at all times - e.g. Australian flate rate FiT combined with ToU on imports.)
Tiers can be represented in the tariffs as a either pairs of values or dict. E.g. something like this for a two tier, one rate for first 10kWh, second rate for everything else.
Most ugly part: allow for tiers that cross ToU periods. Not sure how to represent these in input.
All of this will probably require a rewrite of the core engine, as I think the tier stuff needs to be built in there rather than as part of the agents.
At some point, add tiered plans to base functionality. Specific things that need to be addressed;
All of this will probably require a rewrite of the core engine, as I think the tier stuff needs to be built in there rather than as part of the agents.