Electrical demand in the world especially residential demand is increasing. Instead of building new conventional power plants, distributed generation based on renewable resources are an alternative solution to cope the demand. Simultaneously, government of some countries release their regulation to encourage households be active player in the market. However, in several years now, Feed in Tariff (FiT) is decreased by the regulation. Demand side management strategies especially load shifting are used to reduce the electric cost and trying to handle household satisfaction. To reach the similar goal in the community, coordination of energy management is necessary where customers maximize their self-consumption through PV sharing. Using energy contract and Particle Swarm Optimization it is expected to help the costumers to find their optimal cost, and to reach a maximum self-consumption rate.