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:
τa,m=Laϑa,m
with
τa,m=travel time on link segment a for mode m,ϑa,m=free flow speed on link a for mode m,La=length of link segmenta,
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()
planit_instance set(TrafficAssignment.TRADITIONAL_STATIC)
planit_instance.project.
# set physical cost to FREE FLOW
set(PhysicalCost.FREEFLOW) planit_instance.project.assignment.
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