FreeFlow Cost

A Cost function that always returns free flow travel time
Description

Travel time on a link segment for any mode is based on the free flow travel time, e.g.Ā Length divided by speed This function looks like the following:

\(\Large \tau_{a,m} = {L_a \over \vartheta_{a,m}}\)

with

\(\tau_{a,m}= \textrm{travel time on link segment } a \textrm{ for mode } m,\\ \vartheta_{a,m} = \textrm{free flow speed on link } a \textrm{ for mode } m,\\ L_a = \textrm {length of link segment} a,\)

Defaults

This class has no defaults (yet)

Methods

This class has no methods (yet)

Properties

This class has no properties (yet)

Example 1

from planit import *

planit_instance = Planit()
planit_instance.project.set(TrafficAssignment.TRADITIONAL_STATIC)

# set physical cost to FREE FLOW
planit_instance.project.assignment.set(PhysicalCost.FREEFLOW)

See also

Traffic assignment on assignments that support this physical cost implementation
PhysicalCost.<enum> for all available physical cost options
PhysicalCost landing page for all available physical cost implementations

Source code

Class FreeFlowCostWrapper in projectwrappers.py


Last modified January 1, 0001