I hope I'm putting this in the right place...
Is there a block that both charges and discharges a battery? For example, say you have a solar panel and an electric furnace connected by copper cable. Is there a block I can place along the cable that will charge during the day by the solar panel and then when it becomes dark, power the furnace? I guess you could look at it as a generator with one slot.