.activate(+)
OD output configuration method
Description
UNSUPPORTED
The .activate(+) method, allows you to activate sub-output types on your OD results. In theory they should activate separate skim matrices for each sub-output type that is activated.
Signature
.activate(sub_output_type)
with
Parameter | Type | Unit | Compulsory | Description |
---|---|---|---|---|
sub_output_type | OdSkimSubOutputType.<enum> | - | YES | Choice of sub-output type, i.e., skim |
Return type
None
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
OdSkimSubOutputType.<enum> for the available output property enums and their compatibility
Source code
Class ODOutputTypeConfigurationWrapper
in projectwrappers.py
Last modified January 1, 0001