In this part of the tutorial, you will execute a two-year simulation run of the Eugene-Springfield metro area.
cd C:\workspace\eugene\tools
On the Mac, type:
cd /Users/yourname/workspace/eugene/toolsreplacing yourname with your login name on your machine.
python run_simulation_on_baseyear_cache.py
This will launch a very simple graphical user interface that will allow you to run a test simulation. Note that the first time you launch one of these graphical user interfaces, it may take up to a minute to load. Subsequent launches are much faster.
If you don't see the graphical user interface, check your task bar, as the application may be hidden behind another window.
You may see a warning message like this:
DeprecationWarning: ScipyTest is now called NumpyTest; please update your code test = ScipyTest().testJust ignore this warning -- it is a problem in the scipy package, which hopefully will be fixed in a later release of scipy.
The ``Use this configuration'' entry is pre-set to use the
default baseline configuration in the eugene Opus package
(eugene.configs.baseline), so you don't have to modify that
now. If you had multiple scenarios configured, this is where you
could set which one to run. Note that the name is in parts,
separated by periods. These parts correspond with the system path
to the actual module that has the configuration. Don't believe me?
Look in the eugene\configs directory.
If you want to stop the simulation while it is running, open the command prompt window and type Ctrl-C several times. When the simulation is finished, it will say something like:
Done running simulation for years 1981 thru 1982
That's it! You have now installed Opus and UrbanSim, a full application for Eugene-Springfield, Oregon, and run a simulation using a default scenario.
The results are all stored on your computer in a subdirectory of the output cache, with a name that indicates when the output was created. If you run this multiple times, it will create a new directory for each run. The contents of these directories are the complete set of ``primary'' variables and values predicted for all objects in the model, from which UrbanSim can recompute any ''computed'' variables defined by an Opus . However, these results are in binary files (arrays) that are not easy to read directly. Now we move on to how to examine the results by creating indicators from them.