https://github.com/jmarrec/energyplus-cpp-demo
Using C++ to drive EnergyPlus. A fancy CLI for E+ with a terminal UI based on FTXUI
https://github.com/jmarrec/energyplus-cpp-demo
cpp cpp20 energyplus ftxui hacktoberfest
Last synced: 2 months ago
JSON representation
Using C++ to drive EnergyPlus. A fancy CLI for E+ with a terminal UI based on FTXUI
- Host: GitHub
- URL: https://github.com/jmarrec/energyplus-cpp-demo
- Owner: jmarrec
- Created: 2022-10-10T21:12:38.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-25T18:02:50.000Z (over 2 years ago)
- Last Synced: 2024-06-11T16:07:22.398Z (12 months ago)
- Topics: cpp, cpp20, energyplus, ftxui, hacktoberfest
- Language: C++
- Homepage:
- Size: 22.8 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# C++ to drive EnergyPlus
[](https://github.com/jmarrec/EnergyPlus-Cpp-Demo/actions/workflows/build.yml)
[](https://github.com/jmarrec/EnergyPlus-Cpp-Demo/actions/workflows/clang-format-check.yml)
[](https://github.com/jmarrec/EnergyPlus-Cpp-Demo/actions/workflows/cppcheck.yml)
## Usage
This uses my branch: https://github.com/NREL/EnergyPlus/tree/export_energyplusapi
Make sure you have conan installed: `pip install conan` (tested with 1.53)
```shell
conan install . -pr:b=default -b missing -if build/ -of build
cd build/
cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -Denergyplus_DIR:PATH=/Users/julien/Software/Others/EnergyPlus-build-release/_CPack_Packages/Darwin/TGZ/EnergyPlus-22.2.0-5b72c372e7-Darwin-macOS12.1-arm64/lib/cmake/energyplus ..
ninja
cd Products/
./test
```