code: public static Object invoke( Object target, String name ) throws Exception {
          return target.getClass().getMethod(name).invoke(target);
      }
docs: Invokes a simulation method. (run | doc | analysis | ...)
  
  @param target the target simulation object
  @param name the name of the method (eg. run())
  @throws Exception