PyANGKernel.GKRoadPricing¶
- class GKRoadPricing¶
Force a turn on a vehicle depending on its origin and/or destination to enter or exit a road pricing depending on a percentage and the associated cost.
Details
The user must specify the section where the action is applied and the turn that vehicles will be forced to take if willing to either enter the priced road or exit it if already in. Then the user must specify which vehicles on the section will be affected by this action, by specifying the OD pairs affected. Finally, the user can choose the vehicle class considered and the level of compliance for this action.
Synopsis¶
Methods¶
def
__init__()def
getDestination()def
getHOTSection()def
getOrigin()def
getZone()def
setDestination()def
setHOTSection()def
setOrigin()def
setZone()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
- class GKRoadPricingType¶
Set whether the action will make vehicles enter or exit the priced road.
- __init__()¶
Returns whether the cost calculation to take the decision considers the remainder of the current zone.
Returns whether the cost calculation to take the decision considers the remainder of the trip.
Returns whether the cost calculation to take the decision considers the next segment.
- getCentroidConfiguration()¶
- Return type:
Gets the related centroid configuration
- getDestination()¶
- Return type:
Gets the destination centroid of the affected car. Can be NULL, means ANY.
Gets the complementary section. This is where the vehicles will go into if the action is NOT satisfied. If NULL, Aimsun Next will select a section.
Gets the next section. This is where the vehicles will go into if the action is satisfied.
- getOrigin()¶
- Return type:
Gets the origin centroid of the affected car. Can be NULL, means ANY.
- getRoadPricingType()¶
- Return type:
Gets the type of road pricing, either entry or exit.
- setCentroidConfiguration(config)¶
- Parameters:
config –
GKCentroidConfiguration
Sets the related centroid configuration
- setCostCalculationToEndOfCurrentZone(value)¶
- Parameters:
value – bool
Sets the cost calculation to take the decision to consider the remainder of the current zone when true and not to consider it otherwise.
- setCostCalculationToEndOfTrip(value)¶
- Parameters:
value – bool
Sets the cost calculation to take the decision to consider the remainder of the trip when true and not to consider it otherwise.
- setCostCalculationToNextSegment(value)¶
- Parameters:
value – bool
Sets the cost calculation to take the decision to consider the next segment when true and not to consider it otherwise.
- setDestination(centroid)¶
- Parameters:
centroid –
GKCentroid
Sets the destination centroid of the affected car. Can be NULL, means ANY.
Sets the complementary section. This is where the vehicles will go into if the action is NOT satisfied. If NULL, Aimsun Next will select a section.
Sets the next section. This is where the vehicles will go into if the action is satisfied.
- setOrigin(centroid)¶
- Parameters:
centroid –
GKCentroid
Sets the origin centroid of the affected car. Can be NULL, means ANY.
- setReevaluateWhenTTIsUpdated(update)¶
- Parameters:
update – bool
- setRoadPricingType(atype)¶
- Parameters:
atype –
GKRoadPricingType
Sets the type of road pricing, either entry or exit.
- setSegmentWeight(value)¶
- Parameters:
value – float
- setThresholdAction(value)¶
- Parameters:
value – float
- setVisibilityDistance(value)¶
- Parameters:
value – float
- setZone(value)¶
- Parameters:
value – int