Plot current currentSensor.i[:]
, harmonic current magnitude fundamentalWaveCurrent[:].y_RMS
, harmonic voltage magnitude fundamentalWaveVoltage[:].y_RMS
. The instantaneous voltages voltageSensor.i[:]
directly show the switching pattern of the inverter.