my spark program which compute pv and uv etc...