Techno-economic optimization of hybrid renewable energy systems for green hydrogen production and rural electrification | Synapse