Piper Twin Turboprop Undifferentiated or Other Model
Flight Crew Flight Instructor; Flight Crew Multiengine; Flight Crew Instrument
Flight Crew Last 90 Days 100.; Flight Crew Total 22500.; Flight Crew Type 300.
Troubleshooting; Workload
Aircraft Equipment Problem Critical; Airspace Violation All Types; Deviation / Discrepancy - Procedural Clearance; Deviation / Discrepancy - Procedural Published Material / Policy; Flight Deck / Cabin / Aircraft Event Smoke / Fire / Fumes / Odor
Aircraft Equipment Problem Dissipated; Flight Crew Overcame Equipment Problem
Aircraft
Climbing out from ZZZ. After about 3 minutes; had some electrical smoke and odor in the cabin. Aircraft was recently out of a large inspection and repair process. I pulled almost all the circuit breakers that were not absolutely essential for flight. Left electric fuel pumps breakers in for auto pumps. Transponder for operating near a Class B air space. And all engine instrument breakers to keep track of engine temps; torque and fuel flows. Pulled most of the breakers one by one to see if any one at a time would eliminate the odor and light electrical smoke issue. Not paying good attention to aircraft during this trouble shooting process; and emergency as I considered the event; at my position and altitude while climbing; I inadvertently entered the ZZZ1 Class B airspace. By the time I realized the aircraft was in the outer ring at or above 4;000 feet after working the electrical issue; I was already exiting the airspace to the south east and had climbed to about 10;000 feet. The odor started thinning out and as each circuit breaker was reset and I turned towards my home base airport of ZZZ2 to land and report the problem to our maintenance base. Next time; I would most likely handle the event the same way because my concern was mostly an electrical fire possibly becoming a major event. I could have turned a bit more east but that was not on my mind when the light smoke and odor started to become obvious inside the cabin.
Piper Twin Turboprop pilot reported 'electrical smoke and odor' shortly after takeoff. Fumes dissipated after troubleshooting problem.