Skip to main content

MIDDoE: Model-(based) Identification, Discrimination, and Design of Experiments

PyPI MIT License GitHub Stars


🌍 About MIDDoE

MIDDoE is an open-source Python package designed to streamline model identification for dynamic lumped models. Developed to address gaps in existing tools, MIDDoE offers a structured framework integrating:

✅ Model Identification
✅ Model Discrimination
✅ Experimental Design

With its flexible and user-friendly design, MIDDoE ensures practical usability across various scientific disciplines.


✨ Key Features

✅ Comprehensive Workflow — A structured framework that covers all essential steps in model identification.
✅ Flexible Integration — Supports external simulators while offering built-in options.
✅ Adaptable Design — Easily accommodates physical constraints for practical applications.
✅ Accessible Framework — Uses NumPy-based structures for improved generality and minimal dependencies.
✅ User-Friendly Interface — Designed for use beyond traditional process systems engineering applications.


⚙️ Functionalities

MIDDoE offers a wide range of numerical capabilities to support model identification, including:

🔍 Sensitivity Analysis — Identifies key parameters influencing model behaviour.
📊 Estimability Analysis — Determines which parameters can be reliably estimated.
📈 Parameter Estimation — Estimates model parameters based on experimental data.
📉 Uncertainty Analysis — Evaluates confidence in model predictions.
🧪 MBDoE for Model Discrimination (MBDoE-MD) — Optimises experiments to distinguish between competing models.
🎯 MBDoE for Parameter Precision (MBDoE-PP) — Designs experiments to improve parameter precision.
🧪 Model Validation — Assesses predictive accuracy using independent data.

Additional service functionalities include:

  • 📂 Data Handling
  • 📑 Plotting and Reporting
  • 🧬 In-silico Data Generation

🧪 Applications

MIDDoE has been successfully applied across various domains, including:

  • 💊 Pharmaceutical systems
  • 🧫 Biological processes
  • 🪨 Mineral systems
  • ⚗️ Chemical processes

🚀 Installation

MIDDoE can be installed via PyPI or by cloning the repository:

PyPI Installation

pip install middoe

Git Clone

git clone https://github.com/zuhairblr/middoe.git

📚 Tutorials and Examples

MIDDoE provides a comprehensive set of tutorials and case studies demonstrating its application in:

  • 📋 Pharmaceutical Systems
  • 🧬 Biological Processes
  • 🪨 Mineral Systems
  • ⚗️ Chemical Processes

📝 Documentation will be available soon to guide users through package functionalities.


💬 Getting Help

For support and community interaction:


👨‍💻 Developers

We welcome contributions! If you'd like to improve MIDDoE, report issues, or suggest new features, please visit the GitHub repository for guidelines.

Contributing Terms

By contributing to MIDDoE, you agree to the following terms:
1️⃣ Your contributions are submitted under the MIT License.
2️⃣ You confirm that you have the rights to submit these contributions.


🛡️ License

MIDDoE is licensed under the MIT License. See the LICENSE file for more details.


📖 Citation

If you use MIDDoE in your research, please cite:

  1. Tabrizi, Z., Barbera, E., Leal da Silva, W.R., & Bezzo, F. (2025).
    MIDDoE: An MBDoE Python package for model identification, discrimination, and calibration.
    Digital Chemical Engineering, 17, 100276.
    https://doi.org/10.1016/j.dche.2025.100276

  2. Tabrizi, S.Z.B., Barbera, E., Da Silva, W.R.L., & Bezzo, F. (2025).
    A Python/Numpy-based package to support model discrimination and identification.
    In J.F.M. Van Impe et al. (Eds.), Systems and Control Transactions, 4, 1282-1287.
    https://doi.org/10.69997/sct.192104


🧪 Applied To

MIDDoE has been applied in various EU reports, research works, and projects, e.g.:

  1. Tabrizi, Z., Rodriguez, C., Barbera, E., Leal da Silva, W.R., & Bezzo, F. (2025).
    Wet Carbonation of Industrial Recycled Concrete Fines: Experimental Study and Reaction Kinetic Modeling.
    Ind Eng Chem Res, 64(45), 21412–21425.
    https://doi.org/10.1021/acs.iecr.5c02835

🙏 Acknowledgements

This work is part of the CO2Valorize project, funded by the European Union’s Horizon Europe research and innovation programme under the Marie Skłodowska-Curie Grant Agreement No. 101073547.

MIDDoE is a collaborative effort between:

Additionally, MIDDoE has been extended to integrate with gPROMS, a commercial process and model simulator developed by Siemens Industry Software Limited, UK.

We warmly thank the research community for their valuable feedback and ongoing contributions that have helped shape and improve this project.


🔗 Resources


💻 Developed with ❤️ by the MIDDoE team

Metadata

Release files for middoe 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for middoe 0.1.2
File Size Uploaded Provenance Actions
middoe-0.1.2.tar.gz 195.8 kB With provenance Details for middoe-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for middoe 0.1.2
File Interpreter ABI Platform Actions
middoe-0.1.2-py3-none-any.whl Python 3 none any Details for middoe-0.1.2-py3-none-any.whl

Total release size: 396.9 kB

Release files / middoe-0.1.2.tar.gz

Download URL middoe-0.1.2.tar.gz
Size 195.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1708bfb7e1859110bc64539952b7121d8fb8ffc854a0d44336da15df00a69211
BLAKE2b-256 checksum
How to use checksums
164a6c4d1e0129a89a4f885d8001697d99be824c8e5572ea899d0f27dfc6a973
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Release files / middoe-0.1.2-py3-none-any.whl

Download URL middoe-0.1.2-py3-none-any.whl
Size 201.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5db371bbe4832e72bbd4f8b3e0258a7c127a41fc777aa65af83fe937d18755ed
BLAKE2b-256 checksum
How to use checksums
7ca917a88feade3589ac78a6e818bb6ff9e7f62066245c1387d3652cb0590612
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Security for middoe 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for middoe-0.1.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page