Skip to main content

Output Files

This page describes all the possible output files from the Terragraph Planner, including topology kml files, reporting csv files, and ILP problem files.

Topology KML File

The Topology object can be exported in the KML format using write_to_kml_file. There are different kinds of topologies that represent different stages in a planner, such as the candidate topology and reporting topology.

  • The candidate topology is a topology that is generated by an LOS Analysis plan and can be directly used as an input for an Optimization plan.
  • The reporting topology is the final topology of an End-to-End plan or Optimization plan. It contains the optimized network, but also the candidate site and link information for convenient reference.

Visualization

All the output KML files can be visualized with Google Earth or other GIS tools like QGIS.

The output topology KML files primarily provide 3 kinds of information, which are site information, link information and demand information. The figure below is a example of the folder structure of the output topology kml file in Google Earth.

As shown, the top folders are named by the status of the sites and links. Under the status folders, there are CN sites, DN sites, POP sites, WIRELESS_BACKHAUL Links, WIRELESS_ACCESS Links and ETHERNET Links (which is not shown in the example). These contain the placemarks and lines representing the corresponding sites or links with the specific status and type. There is also a Demand folder which shows the demand sites and connections to the physical sites in the corresponding subfolders.

Each site or link has its own attributes in the data field.

Site Attributes

  1. Site Type: Type of the site, which can be CN, DN or POP. This should match the site type of the folder.
  2. Site Geohash: A hash indicating the location of the site.
  3. Altitude: Altitude relative to the mean sea level in meters. N/A if the altitude is not determined.
  4. Status: Status type of the site, which can be EXISTING, PROPOSED, CANDIDATE, UNREACHABLE or UNAVAILABLE. This should match the status type of the folder.
  5. Polarity: Polarity of the site, which can be ODD, EVEN or UNASSIGNED.
  6. Location Type: Type of the location, which can be ROOFTOP, STREET_LEVEL or UNKNOWN.
  7. Device SKU: The SKU of the device mounted on this site.
  8. Number of Subscribers: Number of the subscribers (see Tiered Service).
  1. Link Type: Type of the link, which can be WIRELESS_BACKHAUL, WIRELESS_ACCESS or ETHERNET. Wired links have type ETHERNET. Wireless links where both end-sites are POPs/DNs are WIRELESS_BACKHAUL. Wireless links between a POP/DN and a CN are WIRELESS_ACCESS.
  2. Tx Site Name: The name of the transmitting site.
  3. Rx Site Name: The name of the receiving site.
  4. Status: Status type of the link, which can be EXISTING, PROPOSED, CANDIDATE, UNREACHABLE or UNAVAILABLE. This should match the status of the folder.
  5. Distance: Length of the link in meters.
  6. Data flow (Gbps): Estimated data flow on the link in Gbps (non-zero for reporting topology only).
  7. Throughput (Gbps): The capacity of the link in Gbps.
  8. Utilization: Data flow divided by the throughput value. In other words, the estimated percentage of link capacity that will be utilized (non-zero for reporting topology only).
  9. Tx Beam Azimuth: Azimuth of the link in tx\rightarrowrx direction.
  10. Rx Beam Azimuth: Azimuth of the link in rx\rightarrowtx direction.
  11. Deviation from Tx Boresight: The angle (in degrees) between the horizontal orientation of the tx sector and the link.
  12. Deviation from Rx Boresight: The angle (in degrees) between the horizontal orientation of the rx sector and the link.
  13. Deviation from El Boresight: The vertical angle (in degrees) between the link and the horizontal axis. We assume that the equipment is mounted parallel to the ground.
  14. Tx Power (dBm): The transmit power of the link.
  15. Estimated MCS: Estimated MCS level of the link.
  16. Estimated SNR (dB): Estimated signal-to-noise ratio of the link.
  17. Estimated SINR (dB): Estimated signal-to-interference-plus-noise ratio of the link.
  18. Estimated RSL: Estimated received signal level of the link.
  19. Confidence Level: A number between 0 and 1 indicating how confident the planner is that the link has valid LOS.
  20. Channel: The channel of the link.

Reporting CSV Files

There are 3 output CSV files for reporting purposes, which are the site file, link file and sector file.

Site CSV File

Contains site level information.

  1. Site Geohash: A hash indicating the location of the site.
  2. Status: Status type of the site, which can be EXISTING, PROPOSED, CANDIDATE, UNREACHABLE or UNAVAILABLE.
  3. Lat: The latitude of the site location.
  4. Lon: The longitude of the site location.
  5. Altitude: Altitude relative to the mean sea level in meters. N/A if the altitude is not determined.
  6. Site Type: Type of the site, which can be CN, DN or POP.
  7. Polarity: Polarity of the site, which can be ODD, EVEN or UNASSIGNED.
  8. Outages Caused: Number of demand sites that would lose their connection to any of the active POPs if the site were to go down.
  9. Site Capex: The capex of the site.
  10. Active Nodes: Number of active nodes on the site.
  11. Active Sectors: Number of active sectors on the site.
  12. Active Links: Number of active wireless links connected to the site.
  13. Hops to Nearest Pop: Number of hops a signal has to travel from the closest active POP site.
  14. Building Id: The id of the building where the site is mounted. N/A if the site is not mounted on the building rooftop.
  15. Device SKU: The SKU of the device mounted on the site.
  16. Number of Subscribers: Number of the subscribers to the site.
  17. Name: The name of the site. If the site name is provided by the input, the planner will keep it. Otherwise, an internal id is used as the name.
  18. Outgoing Flow: The outgoing flow from the site in Gbps.
  19. Incoming Flow: The incoming flow to the site in Gbps.

Contains link information.

  1. Link Geohash: Unique link hash that is formed by the geohashes of the connecting sites.
  2. Link Type: Type of the link, which can be WIRELESS_BACKHAUL, WIRELESS_ACCESS or ETHERNET.
  3. Status: The status type of the link, which can be EXISTING, PROPOSED, CANDIDATE, UNREACHABLE or UNAVAILABLE.
  4. Tx Site Name: The name of the transmitting site.
  5. Rx Site Name: The name of the receiving site.
  6. Distance: Length of the link in meters
  7. Data Flow (Gbps): Estimated data flow on the link in Gbps
  8. Throughput (Gbps): The capacity of the link in Gbps.
  9. Utilization: Data flow divided by the throughput value. In other words, the estimated percentage of link capacity that will be utilized
  10. Tx Beam Azimuth: Azimuth of the link in tx\rightarrowrx direction.
  11. Rx Beam Azimuth: Azimuth of the link in rx\rightarrowtx direction.
  12. Deviation from Tx Boresight: The angle (in degrees) between the horizontal orientation of the tx sector and the link.
  13. Deviation from Rx Boresight: The angle (in degrees) between the horizontal orientation of the rx sector and the link.
  14. Deviation from El Boresight: The vertical angle (in degrees) between the link and the horizontal axis. We assume that the equipment is mounted parallel to the ground.
  15. Tx Power (dBm): The transmit power of the link
  16. Estimated MCS: Estimated MCS level of the link.
  17. Estimated SNR (dB): Estimated signal-to-noise ratio of the link.
  18. Estimated SINR (dB): Estimated signal-to-interference-plus-noise ratio of the link.
  19. Estimated RSL: Estimated received signal level of the link.
  20. Sectors: IDs of the tx and rx sectors that connect the link. Refer to the sector csv file for the sectors details.
  21. Outages Caused: Number of demand sites that would lose their connection to any of the active POPs if this link were to go down.
  22. Confidence Level: A number between 0 and 1 indicating how confident the planner is that the link has valid LOS.
  23. Channel: The channel of the link.
  24. Violates Diff Sector Angle Rule: True if the link violates the minimum angle threshold to another link on the same site; false otherwise.
  25. Violates Near-Far Rule: True if the link violates the near far rule; false otherwise.
  26. Violates Sector Link Limit: True if the link is connected to a sector that violates the number of DN-DN and DN-CN connections allowed.

Sector CSV File

Contains sector level information.

  1. Sector ID: Unique ID of the sector.
  2. Node ID: Identifying index, from 0, of which node on the site contains the sector.
  3. Sector Position Identifying index, from 0, of which position the sector is in the node.
  4. Site Geohash: The unique geohash of the site the sector is on.
  5. Status: The status type of the sector, which can be PROPOSED, CANDIDATE, UNREACHABLE.
  6. Azimuth Orientation: Horizontal orientation of the sector.
  7. Polarity: The polarity of the site that the sector is on.
  8. Channel: The channel of the sector.
  9. Node Cost: The cost of the node containing the sector.
  10. Active Backhaul Links: Number of active backhaul links connected to the sector.
  11. Active Access Links: Number of active access links connected to the sector.
  12. Site Type: Type of the site this sector is mounted on.
  13. Violates Link Load: True if the sector has more DN-DN or DN-CN connected than is allowed.

Debugging Files

For debugging purposes, we provide a number of intermediate outputs that may be useful. For example, for each step of the optimization flow, we generate a debug KML file.

Additionally, each ILP in the optimization flow generates the ILP problem .lp file which contains the objective function, constraints, and variables.

You can get all the debugging files by setting SYSTEM/DEBUG_MODE of the input configuration file to True.