Medium Voltage Capacitor Bank Automation Controller Modeling in MatLab/Simulink