Skip to content

Commit 05f0fe9

Browse files
committed
fix: minor inconsistencies in docstring
1 parent 2e5a14c commit 05f0fe9

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

scripts/build_tyndp_network.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,9 @@ def build_shapes(
167167
Path to bidding zone shape file.
168168
countries : list[str]
169169
List of countries to consider.
170-
geo_crs : CRS, optional
170+
geo_crs : str, optional
171171
Coordinate reference system for geographic calculations. Defaults to GEO_CRS.
172-
distance_crs : CRS, optional
172+
distance_crs : str, optional
173173
Coordinate reference system to use for distance calculations. Defaults to DISTANCE_CRS.
174174
175175
Returns
@@ -243,7 +243,7 @@ def build_buses(
243243
A GeoDataFrame including bidding zone geometry, representative point and id.
244244
country_shapes : gpd.GeoDataFrame
245245
A GeoDataFrame including country geometry and representative point.
246-
geo_crs : CRS, optional
246+
geo_crs : str, optional
247247
Coordinate reference system for geographic calculations. Defaults to GEO_CRS.
248248
249249
Returns
@@ -438,9 +438,9 @@ def build_links(
438438
Path to bidding zone shape file.
439439
buses : gpd.GeoDataFrame
440440
A GeoDataFrame of electrical buses including country and coordinates.
441-
geo_crs : CRS, optional
441+
geo_crs : str, optional
442442
Coordinate reference system for geographic calculations. Defaults to GEO_CRS.
443-
distance_crs : CRS, optional
443+
distance_crs : str, optional
444444
Coordinate reference system to use for distance calculations. Defaults to DISTANCE_CRS.
445445
446446
Returns

scripts/cba/solve_cba_network.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ def optimize_with_rolling_horizon(
118118
snapshots : Sequence or None, optional
119119
Set of snapshots to consider in the optimization. The default is None.
120120
horizon : int
121-
Number of snapshots to consider in each iteration. Defaults to 100.
121+
Number of snapshots to consider in each iteration. Default is 100.
122122
overlap : int
123-
Number of snapshots to overlap between two iterations. Defaults to 0.
123+
Number of snapshots to overlap between two iterations. Default is 0.
124124
**kwargs
125125
Keyword arguments used by `linopy.Model.solve`, such as `solver_name`.
126126

0 commit comments

Comments
 (0)