[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2023-04-24 22:09:06 +00:00
parent 12b6e8fb9f
commit 3625d401c6
3 changed files with 4 additions and 7 deletions

View File

@ -56,9 +56,10 @@ logger = logging.getLogger(__name__)
def voronoi_partition_pts(points, outline): def voronoi_partition_pts(points, outline):
""" """
Compute the polygons of a voronoi partition of `points` within the Compute the polygons of a voronoi partition of `points` within the polygon
polygon `outline`. Taken from `outline`. Taken from
https://github.com/FRESNA/vresutils/blob/master/vresutils/graph.py https://github.com/FRESNA/vresutils/blob/master/vresutils/graph.py.
Attributes Attributes
---------- ----------
points : Nx2 - ndarray[dtype=float] points : Nx2 - ndarray[dtype=float]

View File

@ -10,8 +10,6 @@ The COP is a function of the temperature difference between source and
sink. sink.
The quadratic regression used is based on Staffell et al. (2012) The quadratic regression used is based on Staffell et al. (2012)
https://doi.org/10.1039/C2EE22653G. https://doi.org/10.1039/C2EE22653G.
""" """

View File

@ -27,8 +27,6 @@ def diameter_to_capacity(pipe_diameter_mm):
bar -> 21.7 GW CH4 pipe capacity (LHV) bar -> 21.7 GW CH4 pipe capacity (LHV)
Based on p.15 of Based on p.15 of
https://gasforclimate2050.eu/wp-content/uploads/2020/07/2020_European-Hydrogen-Backbone_Report.pdf https://gasforclimate2050.eu/wp-content/uploads/2020/07/2020_European-Hydrogen-Backbone_Report.pdf
""" """
# slopes definitions # slopes definitions