Steven, If I understand correctly, you want to programmatically start a simulation configured according to your needs. You can try something like this: int steps = 500; SimState.doLoop(Tutorial3.class, new String[] {"-for", "" + steps}); Serban