Text this: Construction of run-length waveform sample library in amplitude domain of complex dynamic power signals