my simulation about condenser bank working

This is my simulation about the to work (on-off) of condenser bank. This bank is made by many condensers of different capacity. The model and simulation is implemented on Matlab of MathWork Inc. The little difference is result of maximun capacity and real reactive demand.

Dr. Jorge Luis Mírez Tarrillo
Group of Mathematical Modeling and Numerical Simulation (GMMNS).
Universidad Nacional de Ingeniería. Lima, Perú.
E-mail: jmirez@uni.edu.pe
Website Personal: https://jorgemirez2002.wixsite.com/jorgemirez
Facebook http://www.facebook.com/jorgemirezperu 
Linkedin https://www.linkedin.com/in/jorge-luis-mirez-tarrillo-94918423/
Scopus ID: https://www.scopus.com/authid/detail.uri?authorId=56488109800
Google Scholar: https://scholar.google.com/citations?user=_dSpp4YAAAAJ
MATLAB Group Admin in Facebook: https://www.facebook.com/groups/Matlab.Simulink.for.All
WhatsApp Channel/Canal: https://whatsapp.com/channel/0029VbCvpZsAYlUSz2esek2y