Getting started#
Installation#
Check requirements:
Python 3.7
Clone or download repository.
In your Python environment, run
pip install -e path_to_cobmo_repository
.
Alternative installation#
If you are running into errors when installing or running CoBMo, this may be due to incompatibility with new versions of package dependencies, which have yet to be discovered and fixed. As a workaround, try installing CoBMo in an tested Anaconda environment via the the provided environment.yml
, which represents the latest Anaconda Python environment in which CoBMo was tested and is expected to work.
Check requirements:
Windows 10
Anaconda Distribution (Python 3.x version)
Clone or download repository.
In Anaconda Prompt, run
conda env create -f path_to_cobmo_repository/environment.yml
Once the environment setup finished, run
conda activate cobmo
andpip install -e path_to_cobmo_repository
.
Important
Please also create an issue on Github if you run into problems with the normal installation procedure.
Examples#
The examples
directory contains several run scripts which demonstrate possible usages of CoBMo:
run_example.py
: Example run script for using the building model.run_storage_planning_example.py
: Run script for single simulation / optimization of sensible thermal or battery storage.run_storage_planning_battery_cases.py
: Run script for BES cases lifetime.run_validation.py
: Run script for building model validation.run_evaluation_load_reduction.py
: Run script for evaluating demand side flexibility in terms of load reduction.run_evaluation_price_sensitivity.py
: Run script for evaluating demand side flexibility in terms of price sensitivity.
Papers#
The following papers have been prepared with CoBMo:
Anthony Vautrin, Sebastian Troitzsch, Srikkanth Ramachandran, and Thomas Hamacher (2019). Demand Controlled Ventilation for Electric Demand Side Flexibility. IBPSA Building Simulation Conference.
A preliminary implementation of CoBMo was used to prepare the results for this paper.
The related scripts are currently not included in the repository.
[Submitted.] Sebastian Troitzsch, and Thomas Hamacher. Control-oriented Thermal Building Modelling.
CoBMo version 0.3.0 was used to prepare the results for this paper.
The related scripts are
examples/run_evaluation_load_reduction.py
andexamples/run_evaluation_price_sensitivity.py
.
Contributing#
If you are keen to contribute to this project, please see Contributing.