Frequency-based control of a micro-grid with multiple renewable energy sources