Skip to content

Commit

Permalink
Fixed the documentation and updated headers (#28)
Browse files Browse the repository at this point in the history
* Fixed the documentation and updated headers

* Renaming
  • Loading branch information
Mathias157 authored Jan 21, 2025
1 parent 7af371f commit d9c654b
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 30 deletions.
18 changes: 0 additions & 18 deletions docs/examples.md

This file was deleted.

File renamed without changes.
10 changes: 8 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# pybalmorel
Convenient python framework for pre-, post-processing or executing the GAMS framework [Balmorel](https://balmorelcommunity.github.io/Balmorel).

Get started [here](get_started.md).
Get started [here](get_started.md), or check out our GitHub repository for jupyter notebooks examples:
- [Pre-Processing](https://github.com/Mathias157/pybalmorel/blob/master/examples/PreProcessing.ipynb)
- [Execution](https://github.com/Mathias157/pybalmorel/blob/master/examples/Execution.ipynb)
- [Post-Processing](https://github.com/Mathias157/pybalmorel/blob/master/examples/PostProcessing.ipynb)
- [Map Plotting](https://github.com/Mathias157/pybalmorel/blob/master/examples/MapPlotting.ipynb)


```{toctree}
Expand All @@ -10,7 +14,9 @@ Get started [here](get_started.md).
:hidden:
get_started
examples
preprocessing
execution
postprocessing
```

```{toctree}
Expand Down
10 changes: 10 additions & 0 deletions docs/postprocessing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Post Processing

The package includes many plotting tools. Go to the next page to get an overview and the [map plotting page](postprocessing/map_plotting.md) for details on the map plotting tool.

```{toctree}
:maxdepth: 1
postprocessing/overview.md
postprocessing/map_plotting.md
```
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Pybalmorel for map plotting
# Pybalmorel for Map Plotting

This notebook provide examples on how to use the pybalmorel post processing map plotting tool.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Post-Processing
# Overview

There are several functions to plot energy balances, transmission capacity maps and a ipywidget to interactively plot bar charts, check out [this notebook](https://github.com/Mathias157/pybalmorel/blob/master/examples/PostProcessing.ipynb).

Expand Down Expand Up @@ -30,14 +30,8 @@ model.results.plot_map(model.results.sc[0], 'electricity', 2050)
model.results.plot_profile('heat', 2050, model.results.sc[1])
```

For more information about the map plotting please look here :
There are many more features, read more about the map plotting tool here [here](map_plotting.md).

```{toctree}
:maxdepth: 1
:hidden:
postprocessing_map.md
```

## Getting Specific Results
The `model.results` is actually a `MainResults` class. The example below illustrates how to get specific results using that class.
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/preprocessing.md → docs/preprocessing.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ GUI.geofilemaker()
```

The video below illustrates how it works.
:::{figure} ../img/geoset_generator_example.gif
:::{figure} /img/geoset_generator_example.gif
:name: geofilemaker
:alt: How to use the 'geofilemaker' GUI.
:width: 100%
Expand Down
File renamed without changes.

0 comments on commit d9c654b

Please sign in to comment.