Optimization model of electricity sharing mechanism in energy communities July 10, 2025 · Tech: Python, Gurobi