Actually, the children were housed in the Great Catherine Palace itself and not the AP. They were moved after a while because of the lack of sufficient indoor plumbing, not electricity. The entire park, then renamed Detskoe Selo including the AP was part of the orphan camp.
The AP had several commissars of the area as residents, with their families. However they took up residence on the upper floors of the right side aisle, not the other side used by the IF themselves. That side was a public museum.