Demand#

The Demand submodule of polaris-studio uses the same database management layer as the Supply module but is significantly less sophisticated in terms of its capabilities for manipulation of the database and for ensuring consistency. This is because, in general, the demand database is generated and populated by the POLARIS simulation and the main interactions the user will have with the Demand database are to extract data from it.

The Demand class provides the same high-level interface to this file as the Supply module:

Data Model#

Demand data is stored in an SQLite database called “ModelName-Demand.sqlite”. This section will document the structure and purpose of the tables in that database.

Conventions#

A few conventions have been adopted in the definition of the data model and some are listed below:

  • Geometry field is always called geo

  • Projection is always planar and in meters

  • Tables required by the data model have capital first letter

Pure data tables#

Geometry-enabled tables#