New quality factor to study the behavior of a solar panel