Relation between space charge accumulation and partial discharge activity in enameled wires under PWM-like voltage waveforms