i am working in Sliding mode control and want implement it on custom power device. from the research papers it is not clear that how to use SMC, and how to find out the stable regions. can any one send me simulink model or matlab code for SMC that use in DVR or DSTATCOM.