From 3625d401c619e5f6cf86efcc8cf1263f0a7a1ffe Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 24 Apr 2023 22:09:06 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- scripts/build_bus_regions.py | 7 ++++--- scripts/build_cop_profiles.py | 2 -- scripts/build_gas_network.py | 2 -- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/scripts/build_bus_regions.py b/scripts/build_bus_regions.py index ee90eef6..6dc3b5a4 100644 --- a/scripts/build_bus_regions.py +++ b/scripts/build_bus_regions.py @@ -56,9 +56,10 @@ logger = logging.getLogger(__name__) def voronoi_partition_pts(points, outline): """ - Compute the polygons of a voronoi partition of `points` within the - polygon `outline`. Taken from - https://github.com/FRESNA/vresutils/blob/master/vresutils/graph.py + Compute the polygons of a voronoi partition of `points` within the polygon + `outline`. Taken from + https://github.com/FRESNA/vresutils/blob/master/vresutils/graph.py. + Attributes ---------- points : Nx2 - ndarray[dtype=float] diff --git a/scripts/build_cop_profiles.py b/scripts/build_cop_profiles.py index 342bd7e0..5d36cd5b 100644 --- a/scripts/build_cop_profiles.py +++ b/scripts/build_cop_profiles.py @@ -10,8 +10,6 @@ The COP is a function of the temperature difference between source and sink. The quadratic regression used is based on Staffell et al. (2012) - - https://doi.org/10.1039/C2EE22653G. """ diff --git a/scripts/build_gas_network.py b/scripts/build_gas_network.py index f3021022..23f58caa 100644 --- a/scripts/build_gas_network.py +++ b/scripts/build_gas_network.py @@ -27,8 +27,6 @@ def diameter_to_capacity(pipe_diameter_mm): bar -> 21.7 GW CH4 pipe capacity (LHV) Based on p.15 of - - https://gasforclimate2050.eu/wp-content/uploads/2020/07/2020_European-Hydrogen-Backbone_Report.pdf """ # slopes definitions