Electrical enclosures are used to protect the components of a system from the environment, while providing…