CESAR-P

CESAR-P: A dynamic urban building energy simulation tool - Published in JOSS (2022)

https://github.com/hues-platform/cesar-p-core

Science Score: 93.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 10 DOI reference(s) in README and JOSS metadata
  • Academic publication links
    Links to: sciencedirect.com, joss.theoj.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software

Scientific Fields

Political Science Social Sciences - 90% confidence
Mathematics Computer Science - 84% confidence
Last synced: 4 months ago · JSON representation

Repository

CESAR-P code library

Basic Info
  • Host: GitHub
  • Owner: hues-platform
  • License: agpl-3.0
  • Language: HTML
  • Default Branch: master
  • Size: 95.5 MB
Statistics
  • Stars: 16
  • Watchers: 2
  • Forks: 7
  • Open Issues: 0
  • Releases: 9
Created almost 5 years ago · Last pushed over 2 years ago
Metadata Files
Readme License

README.rst

================
cesar-p - readme
================

.. image:: https://joss.theoj.org/papers/10.21105/joss.04261/status.svg
   :target: https://doi.org/10.21105/joss.04261

CESAR-P (Combined Energy Simulation And Retrofitting - Python) calculates the energy demand for a district or other site with
a bottom-up approach by using the building simulation tool EnergyPlus. The steps involved are gathering and calculating 
the parameters per building on your site, generation of the simulation input files (IDF), 
running the simulation with EnergyPlus and post-processing the results. All steps can be run in parallel.

You can also create your customized pipeline to combine simulation of archetypical buildings with a clustering and upscaling
for a large amount of buildings, e.g. whole Switzerland. You would use CESAR-P for the simulation part, but the clustering 
and upscaling are not included in CESAR-P so far.

*Inputs*

As a input, the building **footprint and height, year of construction, building type** (residential, office, ....)
and **hourly weather data** as EnergyPlus weather file (epw) are needed. 
If shading shall be considered **footprints and height of potential neighbours** must be provided.

*Outputs*

Default output is a summary with **annual energy demand** values (heating, cooling, domestic hot water) per building. **Hourly result series** can be queried on demand.
Further CESAR-P is capable of calculating **operational cost and emissions** based on the energy demand results. 
There is also the possibility to apply **retrofit measures** to the building construction and compare between different simulation runs. Output include besides the results 
a detailed Log with the **retrofit measures** along with pricing and embodied emission infromation.

The target audience of the software are energy planners, energy utilities, cities and researchers to identify the time-resolved 
energy consumption of buildings at large scale to successfully in-tegrate renewable energy technologies in buildings and to 
develop energy masterplans for neighborhoods and cities.

Full documentation: https://cesar-p-core.readthedocs.io/en/latest/

Project Info
============

CESAR-P is developed at the **Urban energy systems Laboratory** at Empa (Swiss Federal Laboratories for Materials Science and Technology).

The whole project is named **CESAR-P**. The repository for the code library is **cesar-p-core**, 
the python base code package name **cesarp** (avoiding the - to be sure not to run into problems in includes etc) 
and the wheel/PyPi package name you use during installation **cesar-p**.

The predecessor tool of CESAR-P is CESAR, for more details see section References.

- Main contact: Kristina Orehounig

- Contributors

  - Léonie Fierz (main developer until July 2021)
  - Aaron Bojarski (package graphdb_access, main maintainer since July 2021)
  - Ricardo Parreira da Silva (Passive Cooling: window shading and night ventilation)
  - James Allan (Graph Database data for Archetypical constructions)
  - Sven Eggimann (shapefile parser for reading site vertices)

- Programming Language and Version: 

  - Python 3.8

- Supported platforms:
  
  - Windows (development platform)
  - Linux (Ubuntu system used for testing/CI)
  - Mac (not tested)


- License: CESAR-P is released under AGPLv3 open source license. Contact UES Lab to discuss about other licensing terms.

- Dependencies

  - EnergyPlus (Version 8.5 to 9.5 supported)
  - Excel or OpenOffice (part of the Input Files are in xlsx format)
  - For Python dependencies see pyproject.toml and poetry.lock

- Documentation

  - https://cesar-p-core.readthedocs.io/en/latest/
  - Raw documentation markdown files under docs/source/public


Project Status
===============
Released, development ongoing

Changelog: https://cesar-p-core.readthedocs.io/en/latest/history-releasenotes.html

Bug-Tracking & Open Issues
---------------------------

Please file an issue on https://github.com/hues-platform/cesar-p-core/issues

Include follwoing information for a bug report:

* log files
* version of cesar-p-core
* your custom configuration
* any input files that could be connected to the problem
* instead of providing your configuration and input files separately, you can use the cesarp.manager.ProjectSaver to create a ZIP file of your simulation run

References
==========

* Orehounig et al., (2022). CESAR-P: A dynamic urban building energy simulation tool. Journal of Open Source Software, 7(78), 4261, https://doi.org/10.21105/joss.04261

The base methodology of CESAR-P regarding building simulation and retrofit is set up according to CESAR Matlab. For details refer to following publication:

* Danhong Wang, Jonas Landolt, Georgios Mavromatidis, Kristina Orehounig, Jan Carmeliet,
  CESAR: A bottom-up building stock modelling tool for Switzerland to address sustainable energy transformation strategies,
  Energy and Buildings, Volume 169, 2018, Pages 9-26, ISSN 0378-7788, https://doi.org/10.1016/j.enbuild.2018.03.020.
  (http://www.sciencedirect.com/science/article/pii/S0378778817337696)


* To cite the CESAR-P OpenSource version:

  Léonie Fierz, Aaron Bojarski, Urban Energy Systems Lab, Empa. (2023)
  hues-platform/cesar-p-core. Zenodo. https://doi.org/10.5281/zenodo.4682880


Installation & Usage
========================

- Installation guide: https://cesar-p-core.readthedocs.io/en/latest/installation.html
- Usage instructions: https://cesar-p-core.readthedocs.io/en/latest/usage/index.html
- Usage examples: https://github.com/hues-platform/cesar-p-usage-examples


Contributing
============

You are welcome to open issues reporting bugs or creating pull requests with bugfixes or new features!

We develop and test this library on our internal GitLab and synchronize new versions to GitHub.

Before submitting your contribution as a pull request please make sure tests run through and code 
complies with formatting and typing rules checked with the tools described under 
https://cesar-p-core.readthedocs.io/en/latest/development/development-commands.html

Credits
=======

This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage

Owner

  • Name: HUES Platform
  • Login: hues-platform
  • Kind: organization

JOSS Publication

CESAR-P: A dynamic urban building energy simulation tool
Published
October 14, 2022
Volume 7, Issue 78, Page 4261
Authors
Kristina Orehounig ORCID
Urban Energy Systems Laboratory, Empa, Duebendorf, Switzerland
Leonie Fierz ORCID
Urban Energy Systems Laboratory, Empa, Duebendorf, Switzerland
James Allan
Urban Energy Systems Laboratory, Empa, Duebendorf, Switzerland
Sven Eggimann ORCID
Urban Energy Systems Laboratory, Empa, Duebendorf, Switzerland
Natasa Vulic
Urban Energy Systems Laboratory, Empa, Duebendorf, Switzerland
Aaron Bojarski
Urban Energy Systems Laboratory, Empa, Duebendorf, Switzerland
Editor
Tim Tröndle ORCID
Tags
buildings energy consumption cities retrofitting solutions costs and emissions

GitHub Events

Total
  • Issues event: 2
  • Watch event: 4
  • Issue comment event: 1
  • Fork event: 1
Last Year
  • Issues event: 2
  • Watch event: 4
  • Issue comment event: 1
  • Fork event: 1

Committers

Last synced: 5 months ago

All Time
  • Total Commits: 48
  • Total Committers: 3
  • Avg Commits per committer: 16.0
  • Development Distribution Score (DDS): 0.229
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Fierz Leonie l****z@e****h 37
Aaron Bojarski a****i@e****h 6
kristina-o 8****o 5
Committer Domains (Top 20 + Academic)
empa.ch: 2

Issues and Pull Requests

Last synced: 4 months ago

All Time
  • Total issues: 9
  • Total pull requests: 1
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 4 months
  • Total issue authors: 3
  • Total pull request authors: 1
  • Average comments per issue: 1.11
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: 42 minutes
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 1.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • olejandro (7)
  • chanattan (1)
  • LeonieFierz (1)
Pull Request Authors
  • Ja98 (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 45 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 7
  • Total maintainers: 1
pypi.org: cesar-p

Combined Energy Simulation And Retrofit

  • Versions: 7
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 45 Last month
Rankings
Dependent packages count: 10.1%
Stargazers count: 16.5%
Forks count: 16.8%
Average: 17.3%
Downloads: 21.5%
Dependent repos count: 21.6%
Maintainers (1)
Last synced: 4 months ago

Dependencies

poetry.lock pypi
  • alabaster 0.7.12 develop
  • atomicwrites 1.4.0 develop
  • babel 2.10.3 develop
  • coverage 6.4.1 develop
  • docutils 0.16 develop
  • flake8 3.9.2 develop
  • imagesize 1.4.1 develop
  • importlib-metadata 4.12.0 develop
  • iniconfig 1.1.1 develop
  • jinja2 3.1.2 develop
  • licenseheaders 0.8.8 develop
  • markupsafe 2.1.1 develop
  • mccabe 0.6.1 develop
  • memory-profiler 0.58.0 develop
  • pluggy 1.0.0 develop
  • psutil 5.9.1 develop
  • py 1.11.0 develop
  • pycodestyle 2.7.0 develop
  • pyflakes 2.3.1 develop
  • pygments 2.12.0 develop
  • pytest 7.1.2 develop
  • pytest-cov 2.12.1 develop
  • pytest-html 3.1.1 develop
  • pytest-metadata 2.0.1 develop
  • regex 2022.6.2 develop
  • snowballstemmer 2.2.0 develop
  • sphinx 4.5.0 develop
  • sphinx-rtd-theme 0.5.2 develop
  • sphinxcontrib-applehelp 1.0.2 develop
  • sphinxcontrib-devhelp 1.0.2 develop
  • sphinxcontrib-htmlhelp 2.0.0 develop
  • sphinxcontrib-jsmath 1.0.1 develop
  • sphinxcontrib-qthelp 1.0.3 develop
  • sphinxcontrib-serializinghtml 1.1.5 develop
  • zipp 3.8.0 develop
  • attrs 21.4.0
  • beautifulsoup4 4.8.0
  • black 21.12b0
  • certifi 2022.6.15
  • charset-normalizer 2.1.0
  • click 8.1.3
  • click-plugins 1.1.1
  • cligj 0.7.2
  • colorama 0.4.5
  • cycler 0.11.0
  • decorator 5.1.1
  • eppy 0.5.59
  • esoreader 1.2.3
  • et-xmlfile 1.1.0
  • fiona 1.8.21
  • fonttools 4.34.3
  • future 0.18.2
  • geomeppy 0.11.8
  • geopandas 0.9.0
  • idna 3.3
  • isodate 0.6.1
  • jsonpickle 2.2.0
  • kiwisolver 1.4.3
  • lxml 4.9.1
  • matplotlib 3.5.2
  • munch 2.5.0
  • mypy 0.910
  • mypy-extensions 0.4.3
  • numpy 1.23.0
  • openpyxl 3.0.10
  • packaging 21.3
  • pandas 1.4.3
  • pathspec 0.9.0
  • pillow 9.2.0
  • pint 0.17
  • platformdirs 2.5.2
  • pyclipper 1.3.0.post3
  • pydot3k 1.0.17
  • pyparsing 3.0.9
  • pypoly2tri 0.0.3
  • pyproj 3.3.1
  • python-contracts 0.1.4
  • python-dateutil 2.8.2
  • pytz 2022.1
  • pyyaml 5.4.1
  • rdflib 6.1.1
  • requests 2.28.1
  • scipy 1.8.1
  • setuptools-scm 7.0.4
  • shapely 1.8.2
  • six 1.16.0
  • soupsieve 2.3.2.post1
  • sparqlwrapper 1.8.5
  • tinynumpy 1.2.1
  • toml 0.10.2
  • tomli 1.2.3
  • transforms3d 0.3.1
  • types-pyyaml 5.4.12
  • types-requests 2.28.0
  • types-six 0.1.9
  • types-urllib3 1.26.16
  • typing-extensions 4.3.0
  • urllib3 1.26.10
pyproject.toml pypi
  • MyPy ^0.910 develop
  • black ^21.7b0 develop
  • flake8 ^3.9.2 develop
  • licenseheaders ^0.8.8 develop
  • memory-profiler ^0.58.0 develop
  • pytest ^coverage>=5.5 develop
  • pytest-cov ^2.12 develop
  • pytest-html ^3.1.1 develop
  • sphinx ^4.1.1 develop
  • sphinx_rtd_theme ^0.5.2 develop
  • PyYaml ^5.4
  • SPARQLWrapper ^1.8
  • Shapely ^1.7
  • eppy ^0.5
  • esoreader ^1.2
  • geomeppy ^0.11
  • geopandas ^0.9.0
  • jsonpickle ^2.0.0
  • numpy ^1.20
  • openpyxl ^3.0
  • pandas ^1.3
  • pint ^0.17
  • python >=3.8, <3.10
  • python-contracts ^0.1
  • rdflib ^6.0
  • requests ^2.26.0
  • scipy ^1.7
  • types-PyYAML ^5.4.3
  • types-requests ^2.26.2
  • types-six ^0.1.7
Dockerfile docker
  • python 3.8-slim-buster build
docs/source/public/requirements.txt pypi
  • sphinxcontrib-svg2pdfconverter *