-
Notifications
You must be signed in to change notification settings - Fork 29
Specifying the Road Network
SimMobilityST requires a detailed representation of the road network. The details about the various components of the road network can be found here. The network components can be supplied in one of the following two ways:
- Database
- XML file
Note: Providing the network as input through XML files is yet to be implemented
-
Open the common settings configuration file
-
Ensure that the
databases
andcredentials
sections contain the necessary information to connect to the database containing the road network components.Note: Information on the
databases
andcredentials
section can be found here -
In the
db_proc_groups
tag, define the the procedure mapping as<proc_map id = "<map_name>" format = "aimsun"> <mapping name = "" procedure = ""/> </proc_map>
-
Within the procedure mapping defined above, add a mapping for each of the following mandatory components of the network as shown in the below table
Network Component Mapping Nodes <mapping name= "nodes" procedure="<procedure_name_for_nodes>"/>
Links <mapping name= "links" procedure="<procedure_name_for_links>"/>
Turning Groups <mapping name= "turning_groups" procedure="<procedure_name_for_turning_groups>"/>
Turning Paths <mapping name= "turning_paths" procedure = "<procedure_name_for_turning_paths>"/>
Turning Poly-lines <mapping name="turning_polylines" procedure="<procedure_name_for_turning_polylines>"/>
Turning Conflicts <mapping name="turning_conflicts" procedure="<procedure_name_for_turning_conflicts>"/>
Road Segments <mapping name="road_segments" procedure="<procedure_name_for_segments>"/>
Segment Poly-lines <mapping name="segment_polylines" procedure="<procedure_name_for_segment_polylines>"/>
Lanes <mapping name="lanes" procedure="<procedure_name_for_lanes>"/>
Lane Poly-lines <mapping name="lane_polylines" procedure="<procedure_name_for_lane_polylines>"/>
Lane Connectors <mapping name="lane_connectors" procedure="<procedure_name_for_lane_connectors>"/>
-
If you are executing SimMobilityST with public transit enabled, you need to add the following additional mappings
Network Component Mapping Bus Stops <mapping name= "bus_stops" procedure="<procedure_name_for_bus_stops>"/>
Bus Dispatch Frequency <mapping name= "pt_bus_dispatch_freq" procedure="<procedure_name_for_bus_freq>"/>
Bus Routes <mapping name= "pt_bus_routes" procedure="<procedure_name_for_bus_routes>"/>
PT Bus Stops <mapping name= "pt_bus_stops" procedure="<procedure_name_for_pt_bus_stops>"/>
Train Station Segments <mapping name= "mrt_road_segments" procedure="<procedure_name_for_mrt_segments>"/>
-
In the
network
tag, set<network_source value = "database"/>
and provide the values of thedatabase
,credentials
andproc_map
defined in steps 2 and 4<network> <network_source value = "database" /> <network_database database = "<database_id>" credentials = "<credential_id>" proc_map = "<map_name>"/> </network>
Note: This feature is yet to be implemented
-
Update the
network
tag as shown below
<network>
<network_source value = "xml" />
<network_xml_file_input value = "<input_file_path>"/>
<network_xml_file_output value = "<output_file_path>"/>
</network>
Step by step guide: How to edit network using QGIS and import in SimMobility