Chapter 2. Sun Up

[Note]Note

microPublishing. During the code development cycle for a chapter a working snapshot will be maintained in the Figure 1, “Code Snapshot as of Feb 15, 2008” section of the chapter. At any point in time the code may be significantly ahead of the documentation.

1. Introduction to a Daily Drive Events Engine

The Sun Up phase of the Go West Scenario builds the core process structure. or said another way, this section provides the process "backbone" for Go West

The key concepts and simulation code objects in this Chapter are:

  • Daily Event Cycle. desc ???

  • KESE Variables. desc of putting all sim drivers at top in globule variables ???

  • Print Switches. desc T/F printing switch for tracing simulation

2. Incremental Programming

This section also introduces Incremental Programing. This is my preferred methodology to attack large, complex problems. Get a simple version of the mainline code working and incrementally expand the functionality.

3. Just-in-time Knowledge

A second major concept present in this section is Just-in-Time knowledge. This is the teaching process where information about SimPy functionality, KESE data structure and Python programming are present as they are needed to accomplish the modelling task at hand. You read what something does and then immediately see it used in the code. Very little theory and lost of practical application.

4. Basic Development Tools

????

Libraries

  • Python. SimPy

Reference Material

Code Editor

Stuff about using basic Python editor window.

Figure 2.1. Python Edit Window

Python Edit Window

Simulation Display

Stuff about simple output to the shell ????

Figure 2.2. Simulation Output in Python Shell

Simulation Output in Python Shell

Technology/kese/keseGoWest/ChapSunUp (last edited 2008-10-07 19:49:37 by jeff)