Skip to main content

HAN Open Source House Model

Project description

PyPI PyPI - Downloads 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 edumud, 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

  • Data, API key and API documentation can be obtained from Meteoserver.nl

\begin{equation*} W^{3\beta}_{\delta_1 \rho_1 \sigma_2} \approx U^{3\beta}_{\delta_1 \rho_1} \end{equation*}

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.1.tar.gz (129.5 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.1-py3-none-any.whl (134.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: housemodel-0.0.1.tar.gz
  • Upload date:
  • Size: 129.5 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.1.tar.gz
Algorithm Hash digest
SHA256 8b2511de3b134333be0e2dfe5b322755ae891c0621c5ae98490ecdf0f53f4ff0
MD5 818e4d79c39a9fa16a6196a0f01f211c
BLAKE2b-256 97c602e53915f8252cb3c48a7d8735879ad79a70ab5d4c019ac24e109b34d30f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: housemodel-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 134.5 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7287a6a5bc109f21d2c1ab9dc5bdf47c3d840fba4f3200b3c703ba21364a78f5
MD5 751737bbc1c3b7915f5b3039f24d92ae
BLAKE2b-256 f25354303aaeb25bb3800c7a7759ff816ff32e4791f28152714b13763b2eae60

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