Skip to content

This project focuses on analyzing and visualizing substations within a specified geographic area. It includes various scripts to filter, retrieve, and visualize substation data using different tools and libraries.

Notifications You must be signed in to change notification settings

ramborghini1990/sing-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Substation Analysis Project

Description

This project focuses on analyzing and visualizing substations within a specified geographic area. It includes various scripts to filter, retrieve, and visualize substation data using different tools and libraries.

Methods

5. 04_visualize_dss_result.py

  • Description: Visualizes the results of the DSS analysis on a map.
  • Parameters:
    • georef_dss_path: Path to the georeferenced DSS file.
    • linked_dss_path: Path to the linked DSS file.
  • Returns: HTML file with the map visualization.

6. 05_select_polygon.py

  • Description: Selects a polygon from a shapefile and retrieves substation data within it.
  • Parameters:
    • file_path: Path to the shapefile.
  • Returns: Substation data within the selected polygon.

7. 90_substation_analysis_substation_tag_check.py

  • Description: Analyzes substation tags by state.
  • Parameters:
    • state: Name of the state.
  • Returns: Analysis of substation tags.

8. 91_selected_tags_analysis.py

  • Description: Analyzes selected substation tags by state.
  • Parameters:
    • state: Name of the state.
    • selected_properties: List of selected properties to analyze.
  • Returns: Analysis of selected substation tags.

9. 92_selected_substation_distribution.py

  • Description: Analyzes the distribution of selected substation tags by state.
  • Parameters:
    • state: Name of the state.
    • selected_properties: List of selected properties to analyze.
  • Returns: Distribution analysis of selected substation tags.

10. 93_distinct_operator.py

  • Description: Retrieves distinct operators from a CSV file and filters them.
  • Parameters:
    • file_path: Path to the CSV file.
    • operators_to_exclude: Set of operators to exclude.
  • Returns: Filtered list of distinct operators.

11. 101_convert_geojson_to_geopackage.py

  • Description: Converts a GeoJSON file to a GeoPackage file.
  • Parameters:
    • geojson_path: Path to the GeoJSON file.
  • Returns: GeoPackage file.

12. 201_final.py

  • Description: Builds a grid using a specified border ID.
  • Parameters:
    • border_id: ID of the border.
  • Returns: Grid data.

13. 202_final_flask.py

  • Description: Flask application to build a grid using a specified border ID and optional GeoJSON data.
  • Parameters:
    • border_id: ID of the border.
    • substation_coordinates: GeoDataFrame of substation coordinates.
    • building_geojson: GeoDataFrame of building data.
    • streets_geojson: GeoDataFrame of street data.
    • load_profiles: DataFrame of load profiles.
  • Returns: JSON response with the grid data.

14. 202_osm.py

  • Description: Finds substations within a specified border polygon using Overpass API.
  • Parameters:
    • border_id: ID of the border.
  • Returns: Substation data within the specified border polygon.

15. boarderid_200.py

  • Description: Lists all layers in a GeoPackage file.
  • Parameters:
    • gpkg_file: Path to the GeoPackage file.
  • Returns: List of available layers.

About

This project focuses on analyzing and visualizing substations within a specified geographic area. It includes various scripts to filter, retrieve, and visualize substation data using different tools and libraries.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages