Skip to main content

No project description provided

Project description

Physically Consistent Neural Networks

This repository contains a clean and efficient version of Physically Consistent Neural Networks (PCNNs), where a physics-inspired module runs in parallel of a black-box one (neural networks) to capture physical effects.

PCNN

Installation

Using pip

With a python version above 3.10, you can install it directly through PyPI with pip install pcnns.

Local installation

After cloning the repository on your computer, go to the pcnn folder with cd path_to_the_folder/pcnn.

The fastest way to run the code is to use poetry, which can be installed from here.
You can then run poetry install to install all the required dependencies.
Once the dependencies are installed, you can for example run jupyter-lab with poetry run jupiter lab or VS code with poetry run code ..

Alternatively, you can install requirements from requirements.txt.

Related publications

Physically Consistent Neural Networks for building thermal modeling: Theory and analysis
Loris Di Natale, Bratislav Svetozarevic, Philipp Heer, and Colin N. Jones
Applied Energy 325 (2022). https://doi.org/10.1016/j.apenergy.2022.119806

Towards Scalable Physically Consistent Neural Networks: an Application to Data-driven Multi-zone Thermal Building Models
Loris Di Natale, Bratislav Svetozarevic, Philipp Heer, and Colin N. Jones
Submitted to Applied Energy (2023). https://arxiv.org/abs/2212.12380.

Contact

For additional information, pleasae contact loris.dinatale@netplus.ch

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

pcnns-0.2.10.tar.gz (24.0 kB view details)

Uploaded Source

Built Distribution

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

pcnns-0.2.10-py3-none-any.whl (26.2 kB view details)

Uploaded Python 3

File details

Details for the file pcnns-0.2.10.tar.gz.

File metadata

  • Download URL: pcnns-0.2.10.tar.gz
  • Upload date:
  • Size: 24.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for pcnns-0.2.10.tar.gz
Algorithm Hash digest
SHA256 a9981f9c5637235d634a1ec5e5b0508a67ec7c8587f56e2ee20f98d4ebd99f7b
MD5 9810f6f73a3c581daa566f53cee67932
BLAKE2b-256 98db281762ff22cec4cfd3d1972a2df4dbe3a9a4a32d5393b216d8efcf2ae2bb

See more details on using hashes here.

File details

Details for the file pcnns-0.2.10-py3-none-any.whl.

File metadata

  • Download URL: pcnns-0.2.10-py3-none-any.whl
  • Upload date:
  • Size: 26.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for pcnns-0.2.10-py3-none-any.whl
Algorithm Hash digest
SHA256 147284f4cdc2870b9f0497b7a1022d08eb7ec868934bb7bac8bbdd33c40d46b9
MD5 a74dd25268c2a545f6213cd5e03035fc
BLAKE2b-256 1f9d746d8b8ac25fee0b84f0a2acb23ee84585b32274cbe868d827addfe9c8e6

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