PyANGKernel.GKScenario

class GKScenario

Aimsun Next Microscopic simulator Scenario data.

Details

Note that part of the information is on a separated class ( GKScenarioInputData )

Inheritance diagram of PyANGKernel.GKScenario

Synopsis

Methods

Static functions

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

__init__()
static addTrafficDemandExtension(iname, aname, type)
Parameters:
  • iname – str

  • aname – str

  • typeGKType

It will add a Traffic Demand extension with internal name ‘iname’, external name ‘aname’ and objects’ type ‘type’

getDemandVehicles()
Return type:

.list of GKMobileAgent

It returns vehicles used in demand in the scenario. No include Peds!

getInputData()
Return type:

GKScenarioInputData

Extra data in this scenario

getTrafficArrivalsFolder()
Return type:

GKFolder

helper function: list all the available traffic arrivals items, either from the project or from the subnetwork

getTransitPlanVehicles()
Return type:

.list of GKMobileAgent

It returns vehicles used in Transit Plan in the scenario

getUsedVehicles()
Return type:

.list of GKMobileAgent

It returns all vehicles used in all traffic demand objects in the scenario. No include Peds!

static removeTrafficDemandExtensions(type)
Parameters:

typeGKType

sameDay()
Return type:

bool

Returns true if the complete scenario sim times happens in the same day

setInputData(aInputData)
Parameters:

aInputDataGKScenarioInputData

Extra data in this scenario