Skip to content

Debugging Daysim

goreaditya edited this page Sep 13, 2024 · 1 revision

Daysim runs as an executable program in SeaCast. The code included in this repository is intended as a plug-and-play model component - most users should not have to edit or debug the Daysim code. However, if interested in model estimation or error tracing within Daysim, follow the steps below.

Clone the uncompiled code in the Daysim repository. Open the solution file (DaySim.sln) in Visual Studio. Right click on Daysim in the Solution Explorer and select Properties. Under the Debug window, choose to "start external program" and point to the DaySim.exe file in the clone repository. Below, change the working directory in Start Options to the location of the model run that is to be debugged. Add a command line argument above this as follows:

-c daysim\daysim_configuration.properties

This tells Visual Studio to use the configuration settings for the model run on the cloned version of the code. Add breakpoints to the code where needed and select Debug from the top menu bar.

The wiki describes the basic theory and process to use SeaCast for travel modeling applications.

Calibration and Testing

Utilities

Release Notes

  • Notes on Latest Code and Inputs
Clone this wiki locally