.deactivate_output(+)

Traditional static traffic assignment method

Description

This .deactivate_output allows you to de-activate types of output that were previously activated (or activated by default).

Signature

.deactivate_output(output_type)

with

Parameter Type Unit Compulsory Description
output_type OutputType.<enum> - yes Choice of output type to de-activate

Return type

None

Supported types

Traditional static assignment currently supports the following output types:

  • OutputType.LINK for link segment outputs
  • OutputType.OD for origin-destination based outputs (skims)
  • OutputType.PATH for path specific outputs

Example 1

from planit import *

# Choose to run PLANit with a traditional static traffic assignment method
planit_instance = PLANit()
planit_instance.set(TrafficAssignment.TRADITIONAL_STATIC)

# de-activate the default link outputs
planit_instance.assignment.deactivate_output(OutputType.LINK)

See also

N/A

Source code

Class AssignmentWrapper in Wrappers.py