public class Main {

    public static void main(String[] args) {

        // Modify inverter class so it must be instantiated so time delay or other things could be added

        Simulator sim = new Simulator();

        for (int i = 0; i < 20; i++) {
            System.out.println("Step " + i);
            sim.simStep();
        }


    }

}

@@ -71,17 +71,25 @@
      // 
-M
+Need to m
 odify in
@@ -105,79 +105,85 @@
 ass 
-so it must be instantiated so time delay or other things could be added
+to account for possibility of adding deadtime or other local inverter effects
 %0A%0A  
@@ -344,16 +344,68 @@
      %7D%0A%0A
+        System.out.println(%22Simulation complete%22);%0A%0A
 %0A    %7D%0A%0A

Test commit from Idea