RV-10
Flight Crew Instrument; Flight Crew Private
Flight Crew Last 90 Days 24; Flight Crew Total 1200; Flight Crew Type 435
Human-Machine Interface
Aircraft Equipment Problem Critical; Inflight Event / Encounter Weather / Turbulence
Flight Crew Landed in Emergency Condition; Flight Crew Diverted
Human Factors; Weather; Aircraft
Loss of electrical system resulted in communications loss in IMC.  Attempted a return to the departure airport due to anticipated VMC weather conditions. Arrived and attempted landing but weather changed to IMC. Changed destination to ZZZ where visibility allowed a safe landing. Recently changed panel to glass panel with battery backup ADAHRS. This backup coupled with my iPad foreflight map program allowed for safe navigation and landing.
RV10 pilot reports electrical failure in IMC. Due to a recently installed glass panel with battery backup ADAHRS and an iPad with foreflight; a safe landing ensues at a divert airport.