Energy Accumulators/Storage Units

Dear all,
I’m currently working on a research project which includes an optimizing loop of energy for the whole research area. This means, I’d need to run simulations about the energy demand and energy yield. Sometimes the yielded energy is much higher than the demand and vice versa. To store the sufficient energy I’d need storage units (batteries for electricity and heat accumulators for heat). Is there a tool or a honeybee component that determines how much capacity should my battery/accumulator have depending on the simulation results?
Really ANY help will be appreciated :slight_smile:
Best regards,