Text this: Hardware in the loop simulation of photovoltaic system with industrial PLC