Skip to content

Commit f5e70da

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent b4376db commit f5e70da

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

scripts/add_electricity.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@
2727
fuel costs, efficiency, carbon-dioxide intensity.
2828
- ``resources/powerplants.csv``: confer :ref:`powerplants`
2929
- ``resources/profile_{}.nc``: all technologies in ``config["renewables"].keys()``, confer :ref:`renewableprofiles`
30-
- ``resources/demand/microgrid_load.csv``: microgrid electric demand
30+
- ``resources/demand/microgrid_load.csv``: microgrid electric demand
3131
- ``networks/base.nc``: confer :ref:`base`
32-
32+
3333
Outputs
3434
-------
3535
- ``networks/elec.nc``: output network
3636
3737
Description
3838
-----------
39-
The rule :mod:`add_electricity` takes as input the network generated in the rule "create_network" and adds to it both renewable and conventional generation, storage units and load, resulting in a network that is stored in ``networks/elec.nc``.
39+
The rule :mod:`add_electricity` takes as input the network generated in the rule "create_network" and adds to it both renewable and conventional generation, storage units and load, resulting in a network that is stored in ``networks/elec.nc``.
4040
"""
4141

4242
import os

scripts/build_demand.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
.. code:: yaml
99
1010
microgrids_list:
11-
microgridX:
11+
microgridX:
1212
lon_min:
13-
lon_max:
14-
lat_min:
15-
lat_max:
13+
lon_max:
14+
lat_min:
15+
lat_max:
1616
load:
1717
scaling_factor:
1818
@@ -28,7 +28,7 @@
2828
2929
Description
3030
-----------
31-
The rule :mod:`build_demand` contains functions that are used to create a shape file of the microgrid, to mask a raster with the shape file and to estimate
31+
The rule :mod:`build_demand` contains functions that are used to create a shape file of the microgrid, to mask a raster with the shape file and to estimate
3232
the population. Then the population is multiplied for the per person load and the microgrid load is then obtained. The process applies to all the microgrids specified in config.yaml.
3333
"""
3434

scripts/solve_network.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@
1616
max_iterations:
1717
skip_iterations:
1818
track_iterations:
19-
19+
2020
Inputs
2121
------
2222
- ``networks/elec.nc``
2323
2424
Outputs
2525
-------
2626
- ``networks/results/networks/elec.nc``: Solved PyPSA network including optimisation results
27-
27+
2828
Description
2929
-----------
3030
Total annual system costs are minimised with PyPSA. The full formulation of the

0 commit comments

Comments
 (0)