== HOWTO Production System Startup == May 16, 2019 The production system is the designated Windows PC in the corner of the operations room. Login to Windows on Production workstation. Open File Explorer to `C:\TMC Simulator 2019\bin` folder. === Starting the simulation === Decide which script you want to run ("full" or "practice"). Double-click on the correspondingly named `systemstart` .bat file. Observe a terminal window open and display webserver status messages. The CAD server GUI should appear displaying time 0:00:00. The Simulation Manager GUI should appear. Optionally, start any CADClients, ideally on a different workstation. Click "Start" button in Simulation Manager GUI. Observe the clock begin counting every second. In CADServer GUI, observe the timer running. Click on the "Traffic" tab to view the queue of traffic events. As events are processed, there will be a ten second delay and then the affected dots will change color in the CPTMS map (see below). Monitor simulation progress. The event queue should be processed according to the simulation time. The dot colors should be changed as specified in the traffic event data. === Start Web Apps === Start a web browser (ideally on a separate workstation). Start CPTMS: In the address bar enter "[http://cptms.tmcsim/cptms.html http://192.168.251.116/cptms]". A google map should appear with green dots. Start EInotebook: In the address bar enter "[http://192.168.251.116/einotebook]". The four tabs of the Electronic Instructor Notebook should appear, with the clock displaying the simulation time. Optionally, open the CMS monitor in a web browser: "[http://192.168.251.116/cms_monitor]" ---- Feb 22, 2018 Using Putty, login to the Linux VM `192.168.251.46` In the folder `/opt/FEPSimulator` launch 'runFEPSim' The terminal should respond "Running FEP Simulator..." (Note: this didn't work for me on 02/25/2019. I checked out the branch from svn and ran that one in my own account.) On the Windows Desktop, launch 'CADserver - 2017' On the Windows Desktop, launch 'ATMS Batch Driver' Observe "Building network..." message, Wait about 20 seconds. The ATMS Batch Driver window will appear, and logging messages will appear in the Putty window. Within 30 seconds the traffic network display from the ATMS client should show green dots on all the highways. On the Windows Desktop, launch 'Run !SimManager' In Sim Manager, load the desired script. Start CAD Clients if desired. If desired, On the Windows Desktop, launch '!ClockClient' Click "Start" button in !SimManager. A dialog will ask if you want to continue without Paramics, click 'Yes'. The simulation clock display should begin counting the elapsed seconds. === Notes on switching from "Practice" script to "Full" script === {{{ config/traffic_model_config.properties Events_File = config/vds_data/sample_data/atmsBatchEvents_practice.txt to ..._production.txt webapps/sim_scriptname.json {"filename":"practice_script_2016.xml"} to ... full_script... }}}