Switchboards and Panelboards, based on the 2023 NEC
For other than a totally enclosed switchboard, a space of at least 3 ft must be provided between the top of the switchboard and any combustible ceiling unless a noncombustible shield is provided between