This chapter integrates the considerations of aggregated energy needs, local PV power sharing, advanced community control, and battery storage sharing, which will be useful to optimize three functions (energy efficiency, energy production and flexibility) in a positive energy.