This commit is contained in:
LukasFrankenQ 2023-11-12 00:35:30 +00:00
commit d1243daf4b
2 changed files with 9 additions and 12 deletions

View File

@ -22,10 +22,10 @@ logger = logging.getLogger(__name__)
import json import json
import geopandas as gpd
import numpy as np import numpy as np
import pandas as pd import pandas as pd
import xarray as xr import xarray as xr
import geopandas as gpd
from shapely.geometry import Polygon from shapely.geometry import Polygon
@ -86,13 +86,11 @@ def prepare_egs_data(egs_file):
return egs_data return egs_data
def get_capacity_factors( def get_capacity_factors(network_regions_file, air_temperatures_file):
network_regions_file,
air_temperatures_file
):
""" """
Performance of EGS is higher for lower temperatures, due to more efficient air cooling Performance of EGS is higher for lower temperatures, due to more efficient
Data from Ricks et al.: The Role of Flexible Geothermal Power in Decarbonized Elec Systems air cooling Data from Ricks et al.: The Role of Flexible Geothermal Power
in Decarbonized Elec Systems.
""" """
delta_T = [-15, -10, -5, 0, 5, 10, 15, 20] delta_T = [-15, -10, -5, 0, 5, 10, 15, 20]
@ -127,7 +125,6 @@ def get_capacity_factors(
return capacity_factors return capacity_factors
if __name__ == "__main__": if __name__ == "__main__":
if "snakemake" not in globals(): if "snakemake" not in globals():
from _helpers import mock_snakemake from _helpers import mock_snakemake