Public transport [PT]
This model describes a conventional public transport service described by a GTFS (General Transit Feed Specification).
Model description
Operator
The operator ensures a collective transport service which is described by a timetable. It also manages the fleet of vehicles that realise this service.
Service vehicles
Each service vehicle is affected to a set of trips. Trips are described in the timetables, and consist in a series of stops where users can be picked up or dropped off. The behaviour of the service vehicles is summarised in the following flowchart.
Simulation flowchart of a public transport service vehicle
Users
This model does not include the simulation of users.
Model implementation
Simulation model
Simulation model:
starling_sim.models.PT.model.ModelAgent population:
DictPopulationEnvironment:
EnvironmentTopology:
OSMNetworkDynamic input:
DynamicInputOutput factory:
starling_sim.models.PT.output.Output
Agent types and classes
This table provides the agent_type values to put in the input files for the agents of the model and their respective classes.
Agent |
agent_type |
class |
Public transports |
<PUBLIC_TRANSPORT_TYPE> |
|
Operator |
operator |