public static void main(String args[]) throws FileNotFoundException, SQLException, SimulationException { LOAD_SIM_TEST_PARAMS = true; // get output directory JFrame parent = null; userInput = new UserInput(parent); userInput.destDir = System.getProperty("user.dir"); userInput.setVisible(true); if (userInput.destDir.isEmpty()) { System.out.println( "Destination directory not specified or user " + "selected cancel. Aborting run."); System.exit(0); } ATNEngine atn = new ATNEngine(); SimJob job = new SimJob(); job.setJob_Descript("atn1"); // job.setNode_Config("2,[5],2000,1.000,0,0,[70],2494,13.000,1,X=0.155,0"); //Info comes from // client job.setNode_Config( "5,[5],2000,1.000,1,K=9431.818,0,[14],1751,20.000,1,X=0.273,0,[31],1415,0.008,1,X=1.000,0,[42],240,0.205,1,X=0.437,0,[70],2494,13.000,1,X=0.155,0"); job.setManip_Timestamp((new SimpleDateFormat("yyyy-MM-dd HH:mm:ss")).format(new Date())); job.setTimesteps(401); String atnManipId = UUID.randomUUID().toString(); job.setATNManipulationId(atnManipId); atn.processSimJob(job); System.out.println("Processing complete."); }