利用动态仿真的公交车行驶时间进行公共交通分配
使用这种方法来估计公共交通系统运行变化对分布和模式划分的影响,例如沿一个交通通道引入信号优先和专用车道。
在Aimsun Next中,静态分配(私家车)和公共交通分配(乘客)在评估路径成本时都可以考虑到出行目的。
在技术注解#53中,我们给出了一些关于如何根据车辆类型修改静态分配成本的技巧。 静态模型中的需求是通过OD矩阵编码的,这些需求是由用户类别(车辆类型+出行目的)给出的。 因此,在流量延误函数、转弯罚函数和路口延误函数中访问行程目的,就像访问车辆类型一样简单:
vehicle = context.userClass.getPurpose()
For example, in a BPR function that has an additional term for tolls, we can decrease the vehicle VoT (value of time), which converts a toll (coded in the first user defined cost) into time units including a weight, when the trip purpose is ‘Work’.
def vdf(context, section, funcVolume):
vehicleName = context.userClass.getVehicle().getName()
tripPurposeName = context.userClass.getPurpose().getName()
vehicleVoT = context.userClass.getVehicle().getValueOfTimeMean()
if vehiclePurpose==”Work”: #If trip purpose is “Work”
vehicleVoT = 0.5 * vehicleVoT
#coefficients alpha and beta must be modified accordingly
alpha = 0.15
beta = 4.0
freeflowTravelTime = ( 60.0 / section.getSpeed() ) * section.length3D() / 1000.0
volume = funcVolume.getVolume()
addVolume = section.getAdditionalVolume()
capacity = section.getCapacity()
cost = freeflowTravelTime * ( 1 + alpha * ((volume + addVolume) / capacity ) ** beta) + vehicleVoT * section.getUserDefinedCost()
return cost
Another option, if you want to define a different VoT or VOC (vehicle operating cost) per vehicle type and trip purpose, is to define these values as an attribute of the User Class instead of using the Vehicle Type parameter. Activate the Types window, find the User Class type and double-click on User Class (GKUserClass) to access the Type Editor.
点击 “添加 “按钮,创建一个新的“双倍”类型的属性。
这个属性现在对任何“用户类别”都可用。 你可以在“用户类别”编辑界面的“属性”页中找到它。 只需填入数值,并在成本函数中访问这个属性(针对路段、转弯或两者)。
col = section.getModel().getColumn("GKUserClass::VoTperPurpose")
VoT = context.userClass.getDataValueDouble(col)
Transit cost functions can also access the trip purpose through the context parameter, and can access user class attributes, so you can still use the approaches presented above. In addition, another approach is available. In the User Class editor, for each Vehicle Type and Trip Purpose, a set of weights for Transit is available. These weights are automatically taken into account when adding up all cost components for the evaluation of the total cost of a transit trip.
欲了解更多关于静态私人和公共交通函数的信息,请参见 qthelp://aimsun.com.aimsun.20.0/doc/UsersManual/FunctionEditing.html 或参加我们的 宏观或战略模型课程。
关于脚本的更多信息,请参见 qthelp://aimsun.com.aimsun.20.0/doc/UsersManual/ScriptIntro.html 或参加我们的编程课程。
使用这种方法来估计公共交通系统运行变化对分布和模式划分的影响,例如沿一个交通通道引入信号优先和专用车道。
2014年8月:Margarida Delgado解释了Aimsun四阶段模型实验的连锁结构的优势。
分享
Aimsun Next 20
Aimsun Next 8.4
Aimsun Next 20
@manual {AimsunManual,
title = {Aimsun Next 20 User’s Manual},
author = {Aimsun},
edition = {Aimsun Next 20.0.3},
address = {Barcelona, Spain},
year = {2021. [In software]},
month = {Accessed on: Month, Day, Year},
url = {qthelp://aimsun.com.aimsun.20.0/doc/UsersManual/Intro.html},
}
Aimsun Next 8.4
@manual {AimsunManual,
title = {Aimsun Next 8.4 User’s Manual},
author = {Aimsun},
edition = {Aimsun Next 8.4.4},
address = {Barcelona, Spain},
year = {2021. [In software]},
month = {Accessed on: Month, Day, Year},
url = {qthelp://aimsun.com.aimsun.8.4/doc/UsersManual/Intro.html},
}
Aimsun Next 20
TY – COMP
T1 – Aimsun Next 20 User’s Manual
A1 – Aimsun
ET – Aimsun Next Version 20.0.3
Y1 – 2021
Y2 – Accessed on: Month, Day, Year
CY – Barcelona, Spain
PB – Aimsun
UR – [In software]. Available: qthelp://aimsun.com.aimsun.20.0/doc/UsersManual/Intro.html
Aimsun Next 8.4
TY – COMP
T1 – Aimsun Next 8.4 User’s Manual
A1 – Aimsun
ET – Aimsun Next Version 8.4.4
Y1 – 2021
Y2 – Accessed on: Month, Day, Year
CY – Barcelona, Spain
PB – Aimsun
UR – [In software]. Available: qthelp://aimsun.com.aimsun.8.4/doc/UsersManual/Intro.html