.remove(+)

Link output configuration method

Description

The .remove(+) method, allows you to remove output properties from the link segment results, i.e., removing an existing column from each link segment result row based on the provided output property.

If you decide to add and remove output properties, ensure that at least one method of unique identification for the link segment remains in place. If not the assignment will fail.

Not all output properties are available in combination with link segment results. For a list of compatible output properties see the OutputProperty.<enum> documentation

Signature

.remove(output_property)

with

Parameter Type Unit Compulsory Description
output_property OutputProperty.<enum> - YES Choice of output property to remove

Return type

None

Example 1

from planit import *

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

# remove the computed speed of the simulation link segment results
planit_instance.assignment.link_configuration.remove(OutputProperty.COMPUTED_SPEED)

See also

OutputProperty.<enum> for the available output property enums and their compatibility

Source code

Class LinkOutputTypeConfigurationWrapper in wrappers.py

Last modified January 1, 0001