Plot current currentSensor.i[:]
, harmonic current magnitude fundamentalWaveCurrent[:].y_RMS
, harmonic voltage magnitude fundamentalWaveVoltage[:].y_RMS
. The instantaneous voltages voltageSensor.i[:]
and currents currentSensor.i[:]
directly show the switching pattern of the inverter. There is not smoothing effect due to an inductance in this example; see PolyphaseTwoLevel_RL.