OdSkimSubOutputType.<enum>
OdSkimSubOutputType types
Description
Class exposing the available OD skim sub-output type types as enums. They can be used to (de-)activate skims on the origin-destination level output results of a traffic assignment run.
Fields
<enum> Fields | Description | Instance documentation |
---|---|---|
COST |
Represents the OD cost skim | N/A |
Example 1
from planit import *
# prep
planit_instance = Planit()
planit_instance.project.set(TrafficAssignment.TRADITIONAL_STATIC )
planit_instance.project.assignment.activate_output(OutputType.OD)
# deactivate and activate COST skim for ODs (just for the sake of the example, not practically useful)
planit_instance.project.assignment.od_configuration.deactivate(OdSkimSubOutputType.COST)
planit_instance.project.assignment.od_configuration.activate(OdSkimSubOutputType.COST)
See also
Assignment for the various assignment methods where one can activate output types
OD Output Configuration for the OD output configuration implementation
Source code
Class OdSkimSubOutputType
in enums.py