Read in b-phase current from COMTRADE file and scale properly.
Step 1: Define sampling frequency and build a waveform with several component frequencies.
N samples per cycle
C cycles of fundamental
Step 2: Perform the sliding window RMS calculation.
Russell W. Patterson, P.E.
Manager, System Protection & Analysis
Tennessee Valley Authority
rwpatterson@tva.gov