SYSC 5104 Assign 1 
Dongchao Chen 6588409
dchen053@uottawa.ca
University of Ottawa

Project - cardealership
To compile the project, in the CD++ Builder Perspective view, select "Build (generate makefile and compile)"

Project DEVSmodelsForm is under the DEVSmodelsForm sub-folder
/DEVSmodelsForm/ModelDescription-CarDealerShip.xml
/DEVSmodelsForm/form_cardealership.doc

Project Final Report is under the Final Report sub-folder 
/Final Report/cardealership.docx

================================================================================================================

How to run the simulation
Method 1 Run the batch files to execute defined simulation
Notes: Defined batch files have been renames as .bak files in order to submit assignment via email

atomic model - Reception
Rename reception1.bak to reception1.bat and run the reception1.bat
Rename reception2.bak to reception2.bat and run the reception2.bat
Rename reception3.bak to reception3.bat and run the reception3.bat

atomic model - CheckCar
Rename checkcar1.bak to checkcar1.bat and run the checkcar1.bat
Rename checkcar2.bak to checkcar2.bat and run the checkcar2.bat
Rename checkcar3.bak to checkcar3.bat and run the checkcar3.bat

atomic model - ServiceCar
Rename servicecar1.bak to servicecar1.bat and run the servicecar1.bat
Rename servicecar2.bak to servicecar2.bat and run the servicecar2.bat
Rename servicecar3.bak to servicecar3.bat and run the servicecar3.bat

coupled model - Mechanic
Rename mechanic1.bak to mechanic1.bat and run the mechanic1.bat
Rename mechanic2.bak to mechanic2.bat and run the mechanic2.bat
Rename mechanic3.bak to mechanic3.bat and run the mechanic3.bat

coupled model - cardealership
Rename cardealership1.bak to cardealership1.bat and run the cardealership1.bat
Rename cardealership2.bak to cardealership2.bat and run the cardealership2.bat
Rename cardealership3.bak to cardealership3.bat and run the cardealership3.bat


Method 2 Run the "Simu! Run a simulation for a coupled model" in the CD++ Builder Perspective view
- Define Coupled Model file name (.ma)
- Select Event file name (.ev)
- Select Log and define the Log file name (.log)
- Define the Simulation stop time
- Click the button "Start Simulation"

