Analysis and Modeling of Radiated Emission from Electrical Discharges and Arc Formation