Skip to content

Commit

Permalink
Create documentation.yml
Browse files Browse the repository at this point in the history
poetry lock
  • Loading branch information
RobinsonBeaucour authored and RobinsonBeaucour committed Jun 12, 2024
1 parent d750713 commit 038a8bc
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 4 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: documentations

on: [push, pull_request, workflow_dispatch]

permissions:
contents: write

jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- name: Install dependencies
run: |
pip install poetry
poetry lock
poetry install --with doc
- name: Sphinx build
run: |
poetry run sphinx-build -M html ./docs ./docs/_build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html
force_orphan: true
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
</div>

[![PyPI Version](https://img.shields.io/pypi/v/heatpro.svg)](https://pypi.python.org/pypi/heatpro)
[![Build Status](https://img.shields.io/travis/NicolasLamaison/heatpro.svg)](https://travis-ci.com/NicolasLamaison/heatpro)
[![Documentation Status](https://readthedocs.org/projects/heat-load-profile-generator/badge/?version=latest)](https://heat-load-profile-generator.readthedocs.io/en/latest/?version=latest)

[![pages-build-deployment](https://github.com/CEA-Liten/HeatPro/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/CEA-Liten/HeatPro/actions/workflows/pages/pages-build-deployment)
The present package finds its roots in the need of using representative heating load curve for the simulation and optimization of various District Heating Network (DHN) production plant. The main principle is to disagreggate monthly or yearly heat load into an hourly heat load using an hourly based external temperature profile. The resulting load curve also includes DHN supply and return temperatures.

This package was used for the study of a production plant combining Power-to-Heat, Biomass and Storage ([Lamaison et al., 2019](https://doi.org/10.1016/j.energy.2019.07.044)). It was also the tool used to generate various heat load curves in a study of long term storage management ([Cuisinier et al., 2022](https://doi.org/10.1016/j.energy.2021.122773)).
Expand Down Expand Up @@ -47,7 +45,7 @@ More recently, it was used in a collaboration between RTE and CEA with the aim o
pip install heatpro
```

- Documentation: [https://heat-load-profile-generator.readthedocs.io](https://heat-load-profile-generator.readthedocs.io)
- Documentation: [https://cea-liten.github.io/HeatPro/](https://cea-liten.github.io/HeatPro/)



0 comments on commit 038a8bc

Please sign in to comment.