where Gi stands for the energy generated by the generation entities (e.g. solar panel) and Cj the energy consumed by the consumption entities (e.g. house). The additions in Equation 1 can imply all, some or any production or consumption entity, depending on how well the RFB is interconnected with the rest of the electric grid at a given time.