Development of A System-Dynamics-Based Methodology For Comprehensive Community Energy Planning