Skip to content

Commit

Permalink
Merge pull request #286 from greco-project/feature/documentation_issu…
Browse files Browse the repository at this point in the history
…e_163

Improve documentation
  • Loading branch information
SabineHaas authored Apr 19, 2021
2 parents c21eab6 + b5a6f92 commit 50c4740
Show file tree
Hide file tree
Showing 5 changed files with 103 additions and 50 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ Here is a template for new release sections
### Added
- Add config file for RTD `readthedocs.yml` (#276)
- Tests have been added which check if the examples of pvcompare run with exit code 0 (#284)
- Added basic model assumptions to RTD and introduced section "local energy system" in Model assumptions in RTD (#286)
- Added headings in `parameters.rst` to make references of these sections possible in RTD (#286)
- Improved "scope and limitations" section of RTD with additional information and corrections (#286)

### Changed
- The inlet temperatures of the heat pump and the stratified thermal storage have been revised in the pvcompare input parameters, adapting them in order to fit typical temperatures of the heating system. Also the pvcompare input parameters of the stratified thermal storage have been revised (#272)
Expand Down
15 changes: 8 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,16 @@ easily be enhanced to analyse other conversion technologies.

The functionalities include

* calculation of an area potential for PV on roof-tops and facades based on building parameters,
* calculation of an area potential for PV on roof-tops and façades based on building parameters,
* calculation of heat and electricity demand profiles for a specific amount of people living in these buildings,
* calculation of PV feed-in time series for a set of PV installations on roof-tops and facades incl. different technologies,
* calculation of PV feed-in time series for a set of PV installations on roof-tops and façades incl. different technologies,

* all technologies in the database of `pvlib <https://pvlib-python.readthedocs.io/en/stable/index.html>`_,
* a specific concentrator-PV module, and
* a module of silicon-perovskite cells,
* a specific concentrator-PV module (`CPV <https://pvcompare.readthedocs.io/en/latest/model_assumptions.html#cpv>`_) and
* a module of perovskite-silicon cells (`PeroSI <https://pvcompare.readthedocs.io/en/latest/model_assumptions.html#perosi>`_),

* calculation of temperature dependent COPs or respectively EERs for heat pumps and chillers,
* download and formatting of `ERA5 weather data <https://www.ecmwf.int/en/forecasts/datasets/reanalysis-datasets/era5>`_ (global reanalysis data set),
* preparation of data and input files for the energy system optimization,
* a sensitivity analysis for input parameters and
* visualisations for the comparison of different technologies.
Expand All @@ -58,7 +59,7 @@ Installation

To install *pvcompare* follow these steps:

- Clone *pvcompare* and navigate to the directory ``\pvcompare`` containing the ``setup.py`` and ``requirements.txt``:
- Clone *pvcompare* and navigate to the directory ``\pvcompare`` containing the ``setup.py``:

::

Expand All @@ -71,7 +72,7 @@ To install *pvcompare* follow these steps:

pip install -e .

- For the optimization you need to install a solver. Your can download the open source `cbc-solver <https://projects.coin-or.org/Cbc>`_ from https://ampl.com/dl/open/cbc/ . Please follow the installation `steps <https://oemof-solph.readthedocs.io/en/latest/readme.html#installing-a-solver>`_ in the oemof installation instructions. You also find information about other solvers there.
- For the optimization you need to install a solver. You can download the open source `cbc-solver <https://projects.coin-or.org/Cbc>`_ from https://ampl.com/dl/open/cbc/ . Please follow the installation `steps <https://oemof-solph.readthedocs.io/en/latest/readme.html#installing-a-solver>`_ in the oemof installation instructions. You also find information about other solvers there.

Examples and basic usage
========================
Expand All @@ -83,4 +84,4 @@ Contributing

We are warmly welcoming all who want to contribute to *pvcompare*.
Please read our `Contributing Guidelines <https://github.com/greco-project/pvcompare/blob/dev/CONTRIBUTING.md>`_.

You can also get in contact by writing an `issue on github <https://github.com/greco-project/pvcompare/issues/new/choose>`_.
55 changes: 35 additions & 20 deletions docs/model_assumptions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,65 +4,77 @@
Model assumptions
~~~~~~~~~~~~~~~~~

The energy system optimization implemented in *pvcompare* is a linear optimization that minimizes the costs of the
energy system. Depending on the input parameters single components or all components of
the energy system underlie an investment optimization. Certain constraints like a maximum
installed capacity, a maximum amount of greenhouse gas / CO₂ emissions or the requirement
of forming a net zero energy (NZE) *community*, if applied, have to be met.
Check out the `model equations <https://multi-vector-simulator.readthedocs.io/en/v0.5.5/Model_Equations.html#>`_
and `model assumptions <https://multi-vector-simulator.readthedocs.io/en/v0.5.5/Model_Assumptions.html#>`_ of MVS for detailed information.

.. _local_energy_system:

Local energy sytem
==================

.. _building_assumptions:

Building assumptions
====================
--------------------

The demand profiles that are introduced in the next sections are based on so called
standard load profiles. These standard load profiles are generated for around 500-1000
Household, therefore the curve is flattened and cannot be compares to the load curve of
a single household. This is why the *pvcompare* simulations are based on *NZE communities*
reather than a single *NZE building*. As a consequence all simulations are run over a
number of 400 identical buildings. In order to interpret the simulation results for
a single building, the total demand / production can be devided by 400. (TODO: is this correct??)
The analyzed local energy system is assumed to belong to an urban neighbourhood with a specific
number of buildings. A minimum amount of buildings is required when using the functionalities
for calculating demand profiles of *pvcompare*, which are introdcued in :ref:`demand`. They are based on standard load
profiles that are generated for around 500-1000 households. These load profiles are therefore flattened compared to load profiles of
single households.
The amount of buildings, households per storey, number of people per household and further parameters
can be adjusted in the inputs file :ref:`building_parameters`; the default is a number of 20 buildings.

In general we assume an urban environment that allows high solar exposure without shading
from surrounding buildings or trees.

The stardard building is constructed with defined building parameters, such as

* length south facade
* length eastwest facade
* length south façade
* length eastwest façade
* total storey area
* hight of storey
* population per storey

All building parameters are contained in 'data/static_inputs/building_parameters.csv'.
The construction of the buidling, as well as the available facades for PV usage
The construction of the buidling, as well as the available façades for PV usage
are based on the research of `Hachem, 2014 <https://www.sciencedirect.com/science/article/abs/pii/S0306261913009112>`_.

The default building parameters are based on the following assumptions that have
been adopted from `Hachem, 2014 <https://www.sciencedirect.com/science/article/abs/pii/S0306261913009112>`_:

Each storey (with a total area of 1232 m²) is defided into 8 flats, each 120 m². The rest of the
Each storey (with a total area of 1232m²) is divided into 8 flats of 120m² each. The rest of the
storey area is used for hallway and staircases etc. Each of the 8 flats is inhabited
by 4 people, meaning in average 30m² per person (it is assumed that a NZE building
is operated efficiently). Therefore the number of persons per storey is set to 32.

All building parameters can be adjusted in the inputs file :ref:`building_parameters`.

Exploitation for PV Installation
--------------------------------

It is assumed that PV systems can cover "50% of the south façade
area, starting from the third floor up, and 80% of the east and west
façades." (`Hachem, 2014 <https://www.sciencedirect.com/science/article/abs/pii/S0306261913009112>`_.)
The facades of the first two floors are discarded for PV installation because of
The façades of the first two floors are discarded for PV installation because of
shading.

It is possible to simulate a gable roof as well as a flat roof. For the gable roof it
is assumed that only the south facing area is used for PV installations. Assuming
an elevation of 45°, the gable roof area facing south equals 70% of the total floor area.

For a flat roof area available to PV installations is assumed to be 40% of the
total floor area, due to shading between the modules (see `Energieatlas <https://energieatlas.berlin.de/Energieatlas_Be/Docs/Datendokumentation-Solarkataster_BLN.pdf>`_.
For a flat roof, the area available to PV installations is assumed to be 40% of the
total floor area, due to shading between the modules (see `Energieatlas <https://energieatlas.berlin.de/Energieatlas_Be/Docs/Datendokumentation-Solarkataster_BLN.pdf>`_).

Maximum Capacity
----------------
With the help of the calculated available area for PV exploitation, the maximum
capacity can be calculated. The maximum capacity, given in
the unit of kWp, depends on the size and the efficiency of the specific PV technology.
It serves as a limit for the investment optimization with MVS.
It serves as a limit (constraint) for the investment optimization.
It is calculated as follows:

.. math::
Expand Down Expand Up @@ -100,6 +112,8 @@ conditions the following methods are selected from `modelchain object <https://p
- temperature_model="sapm"
- losses_model="pvwatts"

.. _cpv:

2. CPV
------

Expand Down Expand Up @@ -203,8 +217,9 @@ week measurement in Madrid in May 2019. The Data can be found in
`Zenodo <https://zenodo.org/record/3346823#.X46UDZpCT0o>`_ ,
whereas the performance testing of the test module is described in `Askins, et al. (2019) <https://zenodo.org/record/3349781#.X46UFZpCT0o>`_.

.. _psi:

2. PeroSi
3. PeroSi
---------
The perovskite-silicon cell is a high-efficiency cell that is still in its
test phase. Because perovskite is a material that is easily accessible many
Expand Down Expand Up @@ -520,4 +535,4 @@ To model a water or brine source chiller, you can either
mode,technology,quality_grade,temp_high,temp_low,factor_icing,temp_threshold_icing
chiller,water-water,0.3,25,15,None,None
(In this example with constant outlet temperature **temp_high**)
(In this example with constant outlet temperature **temp_high**)
Loading

0 comments on commit 50c4740

Please sign in to comment.