Hi.
I want to add a electricity backup module but I can't find any documentation on it.
I have a rough idea on how to make one in case the functionality isn't implemented yet.
Lets say we have a solar cell with 2 output fuels
i) 'Electricity' to the grid - governed by Demand tree, Surplus wasted
ii) 'Electricity to battery' - own type of fuel, which is not under Demand tree. Surplus avaliable to earlier modules
The idea here is that if there is no demand for i), then ii) will be produced instead, making the whole production avaliable to "earlier modules", which in this case will be a module that takes 'Electricity to battery' as input fuel and produces a fuel called 'Stored electricity" as a resource/increase in stock.
Finally a module that uses 'Stored electricity' as input fuel, if avaliable, creates 'Electricity' as output fuel when needed, i.e, for a region with limited capacity to deliver power at a given time.
There probably is a more elegant way of doing this, but thought I'd give an example on how to go around this problem in case the functionality doesn't exist.
Best regards,
David Jedland
Uppsala municipality, Sweden