Efficient and Secure Strategy for Energy Systems of Interconnected Farmers′ Associations to Meet Variable Energy Demand