Iterative sizing methodology for photovoltaic plants coupled with battery energy storage systems to ensure smooth power output and power availability | Synapse