Text this: Supervisory control and sliding mode control of a medium voltage direct AC-AC electronic voltage regulator