Power supply systems and lighting systems are the two main electrical systems in buildings. Power supply systems provide electricity to power various equipment and appliances, while lighting systems illuminate interior and exterior areas. The effective performance of these electrical systems is important for the building's operation and occupant safety and comfort.