ts_core.config.config_helpers module¶
Config Helper Tools¶
This module contains a series of functions that transform the parsed excel document into SUMO conpatible XML.
Each function corresponds to ONE of the SUMO configuration files
-
mk_add(intersections: dict, branches: dict)[source]¶ Generate the additional attributes XML file.
This file handles, among other things, traffic detectors.
So far the only implemented option is a set of lane area detectors on all lanes for each branch. For each branch the start and end points of the detector are defined in the Excel configuration as the distance from the intersection.
Parameters: - intersections –
- branches –
-
mk_edge(intersections: dict, branches: dict)[source]¶ Helper to make the edg.xml file
Parameters: - intersections –
- branches –