Pātuhitia tēnei: Optimizing hybrid renewable energy systems, a review