Skip to content

bigladder/HPWHsim

Folders and files

NameName
Last commit message
Last commit date
Dec 11, 2024
Jul 8, 2024
Feb 1, 2021
Nov 5, 2024
Feb 27, 2025
Feb 27, 2025
Jul 8, 2024
Dec 20, 2023
Dec 27, 2023
Oct 21, 2024
Jul 2, 2024
Sep 17, 2024
Oct 15, 2019
Oct 19, 2017
Dec 12, 2023

Repository files navigation

HPWHsim

An open source simulation model for Heat Pump Water Heaters (HPWH).

HPWHsim was developed with whole house simulation in mind; it is intended to be run independently of the overarching simulation's time steps, other parameters, and does not aggregate its own outputs. It was also designed to run quickly, as the typical use case would see many simulations run, each a year-long or more.

Development

HPWHsim is configured as a CMake project. Currently, CMake is only configured to generate Microsoft Visual Studio solutions compiled with Microsoft Visual C++ (other generators and compilers will not work). CMake also handles version control via Git.

Dependencies

  • Microsoft Visual Studio 2017 with Visual C++ (which can be installed after from the Microsoft Visual Studio Installer)
  • CMake 3.5 or later
  • Git
  • Btwxt 1.0.0

Building HPWHsim from source

  1. Clone the git repository, or download and extract the source code.
  2. Make a directory called build inside the top level of your source.
  3. Open a console in the build directory.
  4. Type cmake ...
  5. Type cmake --build . --config Release.
  6. Type ctest -C Release to run the test suite and ensure that your build is working properly.