Text this: The functional algorithm of hybrid stand-alone diesel-PV power supply system with energy storage operating in a cyclic mode