Merge pull request #650 from PyPSA/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
This commit is contained in:
commit
c133fe867d
@ -39,7 +39,7 @@ repos:
|
||||
|
||||
# Make docstrings PEP 257 compliant
|
||||
- repo: https://github.com/PyCQA/docformatter
|
||||
rev: v1.6.1-rc1
|
||||
rev: v1.6.3
|
||||
hooks:
|
||||
- id: docformatter
|
||||
args: ["--in-place", "--make-summary-multi-line", "--pre-summary-newline"]
|
||||
|
@ -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]
|
||||
|
@ -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.
|
||||
"""
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user