Text this: General modeling procedure for photovoltaic arrays