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

🧪 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.6.tar.gz (36.6 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.6-py3-none-any.whl (42.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: modnn-3.0.6.tar.gz
  • Upload date:
  • Size: 36.6 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.6.tar.gz
Algorithm Hash digest
SHA256 99ddb2ee7280e76598b96d44cf9ea36d19e17506522f5ef3be3f00f094bce987
MD5 0ab18f5192a037259d2a48ba2d5211b4
BLAKE2b-256 8c770ea2b083fecf1af54d5818bd593f1028c34caf842cbf6e5c8e13bbd1330d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: modnn-3.0.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 67428d8e864f8c9ab3dd04092a7bcb5a486a04e017d1c439393de1895432d952
MD5 8962e1806c35f072d1610982c577b4c6
BLAKE2b-256 fdeb841f9a123f291605364a9dbc596c0021dadf59d53330c8872a2f39ca469e

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