A system includes at least one photovoltaic module installed on a roof deck, at least one electrical connector electrically connected to the photovoltaic module, and at least one electrical component electrically and removably connected to the electrical connector. The electrical component includes a housing and an electronic component located within the housing. The electronic component includes at least one of an optimizer, a rapid shutdown device, or an inverter. The electrical component is separate from the photovoltaic module and is configured to be disconnected from the electrical connector while the photovoltaic module remains installed on the roof deck.