# Path: edisgo/tools/geo.py
# def proj2equidistant(srid):
#     """
#     Transforms to equidistant projection (epsg:3035).
# 
#     Parameters
#     ----------
#     srid : int
#         Spatial reference identifier of geometry to transform.
# 
#     Returns
#     -------
#     :py:func:`functools.partial`
# 
#     """
# 
#     return Transformer.from_crs("EPSG:{}".format(srid), "EPSG:3035", always_xy=True).transform


import pandas as pd
import os
import numpy as np
    from shapely.ops import transform
from edisgo.tools.geo import proj2equidistant

if "READTHEDOCS" not in os.environ:



def grid_expansion_costs(
    edisgo_obj, without_generator_import=False

# Path: edisgo/tools/geo.py
# def proj2equidistant(srid):
#     """
#     Transforms to equidistant projection (epsg:3035).
# 
#     Parameters
#     ----------
#     srid : int
#         Spatial reference identifier of geometry to transform.
# 
#     Returns
#     -------
#     :py:func:`functools.partial`
# 
#     """
# 
#     return Transformer.from_crs("EPSG:{}".format(srid), "EPSG:3035", always_xy=True).transform


# Path: edisgo/flex_opt/costs.py
import pandas as pd
import os
import numpy as np
    from shapely.ops import transform
from edisgo.tools.geo import proj2equidistant


if "READTHEDOCS" not in os.environ:



def grid_expansion_costs(
    edisgo_obj, without_generator_import=False

):