Seol mar théacs é seo: The Use of the Newton-Raphson Method for Optimization of a Solar Energy System