Examples

Java based PLANit examples

In the Java implementation of PLANit, we make a distinction between (network) converters, projects, and traffic assignments.

Converters are used to convert data formats from one type to another, for example a network converter converts a network from input format A to output format B. Converters are stand alone functionality that can be used separate from projects and traffic assignment. Often it is used to prepare inputs in the native PLANit format for an assignment later on.

Projects can hold a number of inputs (networks, zonings, demands) and assignments.

Assignments utilise a subset of the inputs available on the project it resides on (one network, one zoning, one demand), and performs a traffic assignment simulation for one or more time periods and/or modes.

The examples are split in multiple sections, each with a focus on a particular aspect of PLANit:

Project and Traffic Assignment examples:

Each section focuses on the options for its feature set and relies on the defaults for the other components where possible.

Convert examples:

The converters can convert either a single PLANit component, e.g., a network, a zoning, etc., or, alternatively, convert multiple of such components in a combined fashion. The latter are provided as either intermodal converters that convert with or without support for services (public transport routes). We therefore provide examples for the single component conversions in the form of network conversions, as well as some examples of intermodal conversion without including public transport services, and examples that do include public transport services


Project examples

Examples on how to configure a PLANit project

Input Builder examples

Examples on how to configure PLANit project inputs

Initial cost examples

Examples on how to configure initial costs

Traffic Assignment examples

Examples on how to configure a traffic assignment

Traffic Assignment Output examples

Examples on how to configure PLANit project outputs

Intermodal Converter examples

Examples on how PLANit intermodal converter reader/writer implementations

Converter Network examples

Examples on how PLANit network converter reader/writer implementations