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.1.5.tar.gz (22.6 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.1.5-py3-none-any.whl (24.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pcnns-0.1.5.tar.gz
Algorithm Hash digest
SHA256 360c7b23db6b67eaba89b64f427cdcf2437f9fb1e55b714d9e30dcbb20d08df4
MD5 1f87c98aae3d9b2afda9583c6ebc982c
BLAKE2b-256 82e72faa0029fbf4acd51399f6185001758009579f5f412c237eb498fc06c72d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pcnns-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 24.6 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.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d5d2527f39e9a1ebf74bffeb48ece793eefe43c1f66ba1abfdcbfd6dd490bf74
MD5 41ad44ed993344ccb8486b74888dff53
BLAKE2b-256 36e6c314156a2b286e7044330ba7f2f9a1d07df4bc75d4f83afb4f32a8ed9026

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