Measuring flicker severity and other related parameters is possible using typhoon.test.IEC61000.flickermeter API function from the TyphoonTest Library. This function should be implemented on the provided(captured) voltage samples from the simulation.