This folder Zip contains two folders and 4 MATLAB matrix files. The folder labeled Models contains the SimPowerSystems models
for both the five and eleven level inverters using both OHSW and HLCCAPOPWM. To run either of the OHSW files follow the steps
below.

1) Open the file in MATLAB
2) Open one of the four .mat files in the upper most folder corresponding to the level inverter model. For example, if running the
	5_LEVEL OHSW model open load the 5_LEVEL_RESULTS.mat file.
3) Make sure that the data from the mat file is loaded into the switching table in the modulation index controller table. To
	do this for the 5-level inverter use the following commands.
	MI=RESULTS(:,1); delta=RESULTS(:,[1-2]);
4) Once loaded you may now run the Simulation.
5) If running the eleven level inverter you must also load the switching states table into the MATLAB workspace found in the 
	11_LEVEL model folder. 

The second folder labeled PSO MATLAB Program contains the PSO program used to calculate the switching angles. Open this folder 
and open the README.txt file located inside for further instructions.