uxsimpp.Link¶
- class uxsimpp.Link(self: uxsimpp.trafficppy.Link, world: uxsimpp.trafficppy.World, link_name: str, start_node_name: str, end_node_name: str, vmax: float, kappa: float, length: float, merge_priority: float, capacity_out: float)¶
Bases:
pybind11_objectCreate a new Link
- __init__(self: uxsimpp.trafficppy.Link, world: uxsimpp.trafficppy.World, link_name: str, start_node_name: str, end_node_name: str, vmax: float, kappa: float, length: float, merge_priority: float, capacity_out: float) None¶
Create a new Link
Methods
__init__(self, world, link_name, ...)Create a new Link
inflow(t1, t2)outflow(t1, t2)set_travel_time(self)Set travel time
update(self)Update link state
Attributes
Reference to World
Arrival curve
Link capacity
Output capacity
Cumulative arrival (alias)
Cumulative departure (alias)
Platoon spacing
Departure curve
End node
Link ID
Jam density
Link length
Merge priority
Link name
Signal group
Start node
Reaction time
Instantaneous travel time
Real travel time
Maximum speed (alias)
Vehicles on link
Maximum speed
Backward wave speed
- property W¶
Reference to World
- __init__(self: uxsimpp.trafficppy.Link, world: uxsimpp.trafficppy.World, link_name: str, start_node_name: str, end_node_name: str, vmax: float, kappa: float, length: float, merge_priority: float, capacity_out: float) None¶
Create a new Link
- property arrival_curve¶
Arrival curve
- property capacity¶
Link capacity
- property capacity_out¶
Output capacity
- property cum_arrival¶
Cumulative arrival (alias)
- property cum_departure¶
Cumulative departure (alias)
- property delta¶
Platoon spacing
- property departure_curve¶
Departure curve
- property end_node¶
End node
- property id¶
Link ID
- inflow(t1, t2)¶
- property kappa¶
Jam density
- property length¶
Link length
- property merge_priority¶
Merge priority
- property name¶
Link name
- outflow(t1, t2)¶
- set_travel_time(self: uxsimpp.trafficppy.Link) None¶
Set travel time
- property signal_group¶
Signal group
- property start_node¶
Start node
- property tau¶
Reaction time
- property traveltime_instant¶
Instantaneous travel time
- property traveltime_real¶
Real travel time
- property u¶
Maximum speed (alias)
- update(self: uxsimpp.trafficppy.Link) None¶
Update link state
- property vehicles¶
Vehicles on link
- property vmax¶
Maximum speed
- property w¶
Backward wave speed