An integrated analysis of a community energy system under various electric vehicle penetration scenarios is conducted, using a linear cost optimization model.