Skip to main content

PyPI Documentation Status PyPI - License

A Python package for modelling the thermal behaviour of a building with HVAC installations. The code is being developed in the Research Group Balanced Energy Systems (BES) at HAN University of Applied Sciences, The housemodel package can be used under the conditions of the GPLv3 license.

Features

  • Basic classes for thermal network representation of buildings.

  • Additional classes for HVAC installations.

  • Conductive and convective heat transfer.

  • Matrix formalism for dynamic evaluation of temperature distributions.

  • Heat rate balance equations including solar irradiance and human presence.

  • ODE solver evaluating building dynamics and HVAC control.

Installation

To use the package housemodel, install it in a Python environment:

(env) pip install housemodel

or

(env) conda install housemodel

This should automatically install the dependency packages matplotlib , scipy and pandas, if they haven’t been installed already. If you are installing by hand, ensure that these packages are installed as well.

Example use

"""Example Python script using the housemodel package."""

from housemodel.buildings.building import Building

 # create Building object
 h = Building("MyHouse")
 section = param["Building"]
 # read nodes attribute from dictionary and create capacity matrix
 h.nodes_from_dict(section["nodes"])
 h.fill_c_inv()
 h.edges_from_dict(section["edges"])
 # read FixedNode objects (external nodes);
 h.boundaries_from_dict(param["boundaries"])  # function selects "outdoor" as ambient
 h.make_k_ext_and_add_ambient()  # initialize k_ext_mat and add diagonal elements

 b = StratifiedBufferNew.from_dict(param["Buffer"])
 b.generate_nodes()
 b.fill_c_inv()
 b.generate_edges()
 b.generate_ambient()
 b.make_k_ext_and_add_ambient()

 total = TotalSystem("HouseWithBuffervessel", [h, b])
 total.sort_parts()
 # compose c-1-matrix from parts and merge tag_lists
 total.merge_c_inv()
 total.merge_tag_lists()
 ...

housemodel pages

Author and license

References

  • …

Release files for housemodel 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for housemodel 0.0.2
File Size Uploaded
housemodel-0.0.2.tar.gz 105.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for housemodel 0.0.2
File Interpreter ABI Platform
housemodel-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 226.9 kB

Release files / housemodel-0.0.2.tar.gz

Download URL housemodel-0.0.2.tar.gz
Size 105.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5d9ac973cc2bf9f23eed3f891f92ab07ccf69a9236cce91ebf239190080ba4bd
BLAKE2b-256 checksum
How to use checksums
d9e5bbaafc6e8fa94522053e723f7c3a4e8d1e3d05de3236422fcb52914f8dde
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.15

Release files / housemodel-0.0.2-py3-none-any.whl

Download URL housemodel-0.0.2-py3-none-any.whl
Size 121.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6734bb92741ee838effc66903e82e7fd64cc792058cfda3c450f7966ad019ff9
BLAKE2b-256 checksum
How to use checksums
f0b8ffb3580c6ccf9cf1faadada193b632e8ef13866008b255ccbc9bafc570bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.15

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page