Optimal hybrid renewable energy systems for energy security: a comparative study | Synapse