def METHOD_NAME():
    """
    Creates voronoi polygons for hvmv and ehv substations
    Returns
    -------
    None.
    """
    substation_list = ["hvmv_substation", "ehv_substation"]
    for substation in substation_list:
        cfg_boundaries = egon.data.config.datasets()["substation_voronoi"]["sources"]["boundaries"]
        cfg_substation = egon.data.config.datasets()["substation_voronoi"]["sources"][substation]
        cfg_voronoi = egon.data.config.datasets()["substation_voronoi"]["targets"][substation+ "_voronoi"]
        view = "grid.egon_voronoi_no_borders"
        # Create view for Voronoi polygons without taking borders into account
        db.execute_sql(
            f"DROP VIEW IF EXISTS {view} CASCADE;"
        )
        db.execute_sql(
            f"""
            CREATE VIEW {view} AS
               SELECT (ST_Dump(ST_VoronoiPolygons(ST_collect(a.point)))).geom
               FROM {cfg_substation['schema']}.
                    {cfg_substation['table']} a;
            """
        )
        # Clip Voronoi with boundaries
        db.execute_sql(
            f"""
            INSERT INTO {cfg_voronoi['schema']}.{cfg_voronoi['table']} (geom)
            (SELECT ST_Multi(ST_Intersection(
                ST_Transform(a.geometry, 4326), b.geom)) AS geom
             FROM {cfg_boundaries['schema']}.
                  {cfg_boundaries['table']} a
             CROSS JOIN {view} b);
            """
        )
        # Assign substation id as foreign key
        db.execute_sql(
            f"""
            UPDATE {cfg_voronoi['schema']}.{cfg_voronoi['table']} AS t1
                SET  	bus_id = t2.bus_id
	            FROM	(SELECT	voi.id AS id,
			                sub.bus_id ::integer AS bus_id
		            FROM	{cfg_voronoi['schema']}.{cfg_voronoi['table']} AS voi,
			                {cfg_substation['schema']}.{cfg_substation['table']} AS sub
		            WHERE  	voi.geom && sub.point AND
			                ST_CONTAINS(voi.geom,sub.point)
		           GROUP BY voi.id,sub.bus_id
		           )AS t2
	            WHERE  	t1.id = t2.id;
            """
        )
        db.execute_sql(
            f"""
            CREATE INDEX  	{cfg_voronoi['table']}_idx
                ON          {cfg_voronoi['schema']}.{cfg_voronoi['table']} USING gist (geom);
            """
        )
        db.execute_sql(f"DROP VIEW IF EXISTS {view} CASCADE;")