Skip to main content

Physics-Informed Modularized Neural Network for Building Energy Modeling

Project description

ModNN

ModNN is a Modularized Physics-Informed Neural Network for building energy modeling.

It incorporates with physics-informed model structure, loss function, and model constraints.


🚀 Installation

You can install the package using pip:

pip install modnn

🧠 Example

Please find the online Jupyter notebook for a step-by-step instruction: https://colab.research.google.com/drive/1A2jt1q53RtxGuaoym6N1PmlKELDPpYFX?usp=sharing

🧠 Update log

🧠 [2.0.0] 2025 May 9

To further improve physical consistency,

I replaced heat transfer module by set of energy balance equations,

Start from version 2.0.0

🧠 [2.0.1] 2025 May 10

Add another parameter: "envelop_mdl",

Allow user to use the new physics based module or previous data driven module.

🧠 [2.0.2] 2025 May 10

Fix bug due to parameter: "envelop_mdl",

Vectorize calculation,speed improved by ~6 times.

🧠 [3.0.0] 2025 June 11

Update datadriven modnn RC based envelop_mdl really hard to tune on new dataset

🧠 [3.0.1] 2025 June 11

Add a step function for one step ahead prediction

🧠 [3.0.2] 2025 June 11

Fix bug for step function

🧠 [3.0.3] 2025 June 11

Fix bug for step function

🧠 [3.0.4] 2025 Sept 10

Didn't work on it for 3 months, just update the latest version Will use it for BESTOpt building dynamic model

🧠 [3.0.5] 2025 Sept 15

3.0.4 CAN-NOT work at all, I mistakenly comment one line and add a new line of code

🧠 [3.0.6] 2025 Sept 15

Fix temperature unit conversion issue

🧠 [3.0.7] 2025 Sept 15

Fix step model zone module dimension issue

🧪 Requirements

Python 3.7+

PyTorch

NumPy

Pandas

Matplotlib

Seaborn

scikit-learn

tqdm

📬 License

MIT License

🙋‍♂️ Author

Zixin Jiang: zjiang19@syr.edu

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

modnn-3.0.7.tar.gz (36.7 kB view details)

Uploaded Source

Built Distribution

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

modnn-3.0.7-py3-none-any.whl (42.9 kB view details)

Uploaded Python 3

File details

Details for the file modnn-3.0.7.tar.gz.

File metadata

  • Download URL: modnn-3.0.7.tar.gz
  • Upload date:
  • Size: 36.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for modnn-3.0.7.tar.gz
Algorithm Hash digest
SHA256 2bdfa03d3c99e1aec6b61a995641ddc5af42a6de1821373dab0b922aa06fa428
MD5 9a55b32adc8c58d6f1c122c08634b848
BLAKE2b-256 4bb6ecab935d23ff517751672f2504dbec25d3627534215a2b55b58d57f87e98

See more details on using hashes here.

File details

Details for the file modnn-3.0.7-py3-none-any.whl.

File metadata

  • Download URL: modnn-3.0.7-py3-none-any.whl
  • Upload date:
  • Size: 42.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for modnn-3.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c5bc55926d7a3b993517218d7395ffe9ad0af61d7227a20b7123bcd0e149d8e8
MD5 66104c3b056bcd35d468b3a31d32599e
BLAKE2b-256 d703ff3fdc41e04ab0ee85c4f37e4cd6f15f1f09a85f1b7579c7b3cc331d910f

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