This framework predicts photovoltaic power output and evaluates losses against cleaning costs to optimize panel maintenance. If power losses exceed cleaning expenses, panels are cleaned, ensuring cost-effective operation, improved efficiency, and sustainable management of photovoltaic systems on university campuses.