Skip to main content

HAN Open Source House Model

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

housemodel-0.0.2.tar.gz (105.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

housemodel-0.0.2-py3-none-any.whl (121.9 kB view details)

Uploaded Python 3

File details

Details for the file housemodel-0.0.2.tar.gz.

File metadata

  • Download URL: housemodel-0.0.2.tar.gz
  • Upload date:
  • Size: 105.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.15

File hashes

Hashes for housemodel-0.0.2.tar.gz
Algorithm Hash digest
SHA256 5d9ac973cc2bf9f23eed3f891f92ab07ccf69a9236cce91ebf239190080ba4bd
MD5 0b40221e12197ef8ff0ab805e2fe8cae
BLAKE2b-256 d9e5bbaafc6e8fa94522053e723f7c3a4e8d1e3d05de3236422fcb52914f8dde

See more details on using hashes here.

File details

Details for the file housemodel-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: housemodel-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 121.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.15

File hashes

Hashes for housemodel-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6734bb92741ee838effc66903e82e7fd64cc792058cfda3c450f7966ad019ff9
MD5 8eafbd74be3872a7d0feeba93c5d8272
BLAKE2b-256 f0b8ffb3580c6ccf9cf1faadada193b632e8ef13866008b255ccbc9bafc570bf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page