QUALITY CONTROL IN RENEWABLE ENERGY SYSTEMS