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.5 is GOOD, will use it for BESTOpt dynamic modeling

🧪 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.5.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.5-py3-none-any.whl (42.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: modnn-3.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 aaffe1bfb5d55ab8112a30cd16ebb7c10dfea390b0bd75d6d4670baa7d1c7605
MD5 ff516b2d1d819d4fb951418e49d61040
BLAKE2b-256 c35b27b1531ef98afc735dc5dbd374dfc5bcb4ddd9fd4497042eb29cb9849ee0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: modnn-3.0.5-py3-none-any.whl
  • Upload date:
  • Size: 42.8 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 790c11002fe58b3fef521cce7e016b8213bcf9ad0f089a0b13efae2d8dab81f8
MD5 b3a2ee3e75cd49b4d9808d4c5a63159e
BLAKE2b-256 afd7f62ba7ce83d3859d59e93832a669611507ad0ee961f898c154b4cc0b1982

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