.od_configuration

Traditional static traffic assignment property

Description

The .od_configuration property allows you to configure the options regarding traffic assignment outputs specific to Origin-Destination (OD) pairs.

PLANit activates the OD Configuration instance when accessing this property in case you did not explicitly activate it yourself via .activate(OutputType.OD

Return type

OD Output Configuration implementation

Example 1

from planit import *

# prep
planit_instance = PLANit()
planit_instance.set(TrafficAssignment.TRADITIONAL_STATIC)

#
# <other configuration>
#

# configure something on the path configuration instance
# note, OD output is implicitly activated in this case
planit_instance.od_configuration.<call method>

#
# <other configuration>
#

See also

Output Configuration landing page for all types of output configuration, including sub-types

Source code

Class AssignmentWrapper in Wrappers.py

Last modified January 1, 0001