middoe 0.0.9__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- middoe-0.0.9/LICENSE +21 -0
- middoe-0.0.9/PKG-INFO +118 -0
- middoe-0.0.9/README.md +95 -0
- middoe-0.0.9/middoe/__init__.py +0 -0
- middoe-0.0.9/middoe/__init__.pyi +0 -0
- middoe-0.0.9/middoe/des_md.py +633 -0
- middoe-0.0.9/middoe/des_md.pyi +2 -0
- middoe-0.0.9/middoe/des_pp.py +681 -0
- middoe-0.0.9/middoe/des_pp.pyi +2 -0
- middoe-0.0.9/middoe/des_utils.py +948 -0
- middoe-0.0.9/middoe/des_utils.pyi +5 -0
- middoe-0.0.9/middoe/iden_parmest.py +845 -0
- middoe-0.0.9/middoe/iden_parmest.pyi +3 -0
- middoe-0.0.9/middoe/iden_uncert.py +854 -0
- middoe-0.0.9/middoe/iden_uncert.pyi +5 -0
- middoe-0.0.9/middoe/iden_utils.py +1871 -0
- middoe-0.0.9/middoe/iden_utils.pyi +33 -0
- middoe-0.0.9/middoe/iden_valida.py +198 -0
- middoe-0.0.9/middoe/iden_valida.pyi +2 -0
- middoe-0.0.9/middoe/krnl_expera.py +429 -0
- middoe-0.0.9/middoe/krnl_expera.pyi +3 -0
- middoe-0.0.9/middoe/krnl_models.py +1491 -0
- middoe-0.0.9/middoe/krnl_models.pyi +30 -0
- middoe-0.0.9/middoe/krnl_simula.py +214 -0
- middoe-0.0.9/middoe/krnl_simula.pyi +1 -0
- middoe-0.0.9/middoe/log_utils.py +270 -0
- middoe-0.0.9/middoe/log_utils.pyi +10 -0
- middoe-0.0.9/middoe/sc_estima.py +169 -0
- middoe-0.0.9/middoe/sc_estima.pyi +3 -0
- middoe-0.0.9/middoe/sc_sensa.py +622 -0
- middoe-0.0.9/middoe/sc_sensa.pyi +4 -0
- middoe-0.0.9/pyproject.toml +79 -0
middoe-0.0.9/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Seyed Zuhair Bolourchian Tabrizi
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
middoe-0.0.9/PKG-INFO
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: middoe
|
|
3
|
+
Version: 0.0.9
|
|
4
|
+
Summary: Model Identification, Discrimination, and Design of Experiments.
|
|
5
|
+
License: MIT
|
|
6
|
+
Author: Zuhair Tabrizi
|
|
7
|
+
Author-email: zuhairtabrizi@gmail.com
|
|
8
|
+
Requires-Python: >=3.9,<3.13
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Requires-Dist: matplotlib (<=3.10.1)
|
|
16
|
+
Requires-Dist: numpy (<=2.2.3)
|
|
17
|
+
Requires-Dist: pandas (<=2.2.3)
|
|
18
|
+
Requires-Dist: pendulum (>=3.0.0)
|
|
19
|
+
Requires-Dist: scipy (<=1.15.2)
|
|
20
|
+
Project-URL: Repository, https://github.com/zuhairblr/middoe/
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
|
|
23
|
+
<p align="left">
|
|
24
|
+
<img src="https://github.com/zuhairblr/middoe/blob/main/docs/assets/logo.png" width="300">
|
|
25
|
+
</p>
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# MIDDoE: Model Identification, Discrimination, and Design of Experiments
|
|
29
|
+
|
|
30
|
+
MIDDOE is an open-source Python package developed to support model identification for dynamic lumped models.
|
|
31
|
+
It addresses gaps in existing tools by offering a structured framework that integrates key techniques
|
|
32
|
+
for model identification, discrimination, and experimental design. MIDDOE is designed to balance flexibility,
|
|
33
|
+
accessibility, and practical usability.
|
|
34
|
+
|
|
35
|
+
## Key features:
|
|
36
|
+
|
|
37
|
+
- Comprehensiveness and Consistency: Ensures essential steps of model identification are included within a structured workflow.
|
|
38
|
+
|
|
39
|
+
- Flexibility: Allows integration with external simulators while also providing monolithic built-in options.
|
|
40
|
+
|
|
41
|
+
- Adaptability: Easily accommodates common physical constraints to enhance practical applicability.
|
|
42
|
+
|
|
43
|
+
- Accessibility: Utilises NumPy-based structures to improve generality and ensure minimal dependencies.
|
|
44
|
+
|
|
45
|
+
- Practicality: Offers a user-friendly interface suitable for experiments beyond the process systems engineering field.
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
## Functionalities:
|
|
49
|
+
|
|
50
|
+
A collection of numerical capabilities is embedded in MIDDOE to facilitate the model identification process. These include:
|
|
51
|
+
|
|
52
|
+
- Sensitivity Analysis: Evaluates the influence of parameters on model behaviour.
|
|
53
|
+
|
|
54
|
+
- Estimability Analysis: Assesses which parameters can be reliably estimated from available data.
|
|
55
|
+
|
|
56
|
+
- Parameter Estimation: Estimates model parameters based on experimental data.
|
|
57
|
+
|
|
58
|
+
- Uncertainty Analysis: Quantifies uncertainties in parameter estimates and model predictions.
|
|
59
|
+
|
|
60
|
+
- Model-Based Design of Experiments for Model Discrimination (MBDoE-MD): Designs experiments to distinguish between competing models.
|
|
61
|
+
|
|
62
|
+
- Model-Based Design of Experiments for Parameter Precision (MBDoE-PP): Designs experiments to improve parameter precision and model robustness.
|
|
63
|
+
|
|
64
|
+
- Model Validation: Assesses the model's predictive capability using independent data.
|
|
65
|
+
|
|
66
|
+
Some service functionalities are also provided to support usage, and post-processing of results, including:
|
|
67
|
+
- Data handling,
|
|
68
|
+
- Plotting and reporting,
|
|
69
|
+
- Insilico data generator.
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
## Applications:
|
|
74
|
+
|
|
75
|
+
MIDDOE has been tested across a variety of domains, including:
|
|
76
|
+
|
|
77
|
+
- Pharmaceutical systems
|
|
78
|
+
|
|
79
|
+
- Biological processes
|
|
80
|
+
|
|
81
|
+
- Mineral systems
|
|
82
|
+
|
|
83
|
+
- Chemical processes
|
|
84
|
+
|
|
85
|
+
### Installation
|
|
86
|
+
|
|
87
|
+
#### PyPI [](https://pypi.org/project/Pyomo/) [](https://pypistats.org/packages/pyomo)
|
|
88
|
+
|
|
89
|
+
pip install middoe
|
|
90
|
+
|
|
91
|
+
### Tutorials and Examples
|
|
92
|
+
|
|
93
|
+
* A set of MIDDoE case studies to call the identification workflow in cases of Pharmaceutical, Biological ,Mineral and Chemical systems are added to the package.
|
|
94
|
+
* A documentation to guide the user through the package functionalities and how to use them will be available soon.
|
|
95
|
+
|
|
96
|
+
### Getting Help
|
|
97
|
+
|
|
98
|
+
For help and community support, you can:
|
|
99
|
+
* use the #MIDDOE tage on StackOverflow
|
|
100
|
+
* contact the developer (zuhairtabrizi@gmail.com)
|
|
101
|
+
|
|
102
|
+
### Developers
|
|
103
|
+
|
|
104
|
+
Contributions are welcome! If you'd like to improve MIDDOE, report issues, or suggest new features, please visit the GitHub repository for guidelines.
|
|
105
|
+
By contributing to this project, you are agreeing to the following terms and conditions:
|
|
106
|
+
1. You agree your contributions are submitted under the MIT License.
|
|
107
|
+
2. You confirm that you are authorized to make the contributions and grant the license. If your employer has rights to intellectual property that includes your contributions, you represent that you have received permission to make contributions and grant the required license on behalf of that employer.
|
|
108
|
+
|
|
109
|
+
### License
|
|
110
|
+
|
|
111
|
+
MIDDOE is licensed under the MIT License. See the LICENSE file for details.
|
|
112
|
+
|
|
113
|
+
### Acknowledgements
|
|
114
|
+
|
|
115
|
+
This work is part of the CO2Valorize project that has received funding from the European Union’s Horizon Europe research and innovation programme under the Marie Skłodowska-Curie Grant Agreement No. 101073547.
|
|
116
|
+
MIDDOE was developed to address gaps in existing tools and has benefited from insights gained through applications in various disciplines. Special thanks to the research community for their ongoing contributions and feedback.
|
|
117
|
+
|
|
118
|
+
|
middoe-0.0.9/README.md
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
<p align="left">
|
|
2
|
+
<img src="https://github.com/zuhairblr/middoe/blob/main/docs/assets/logo.png" width="300">
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
# MIDDoE: Model Identification, Discrimination, and Design of Experiments
|
|
7
|
+
|
|
8
|
+
MIDDOE is an open-source Python package developed to support model identification for dynamic lumped models.
|
|
9
|
+
It addresses gaps in existing tools by offering a structured framework that integrates key techniques
|
|
10
|
+
for model identification, discrimination, and experimental design. MIDDOE is designed to balance flexibility,
|
|
11
|
+
accessibility, and practical usability.
|
|
12
|
+
|
|
13
|
+
## Key features:
|
|
14
|
+
|
|
15
|
+
- Comprehensiveness and Consistency: Ensures essential steps of model identification are included within a structured workflow.
|
|
16
|
+
|
|
17
|
+
- Flexibility: Allows integration with external simulators while also providing monolithic built-in options.
|
|
18
|
+
|
|
19
|
+
- Adaptability: Easily accommodates common physical constraints to enhance practical applicability.
|
|
20
|
+
|
|
21
|
+
- Accessibility: Utilises NumPy-based structures to improve generality and ensure minimal dependencies.
|
|
22
|
+
|
|
23
|
+
- Practicality: Offers a user-friendly interface suitable for experiments beyond the process systems engineering field.
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
## Functionalities:
|
|
27
|
+
|
|
28
|
+
A collection of numerical capabilities is embedded in MIDDOE to facilitate the model identification process. These include:
|
|
29
|
+
|
|
30
|
+
- Sensitivity Analysis: Evaluates the influence of parameters on model behaviour.
|
|
31
|
+
|
|
32
|
+
- Estimability Analysis: Assesses which parameters can be reliably estimated from available data.
|
|
33
|
+
|
|
34
|
+
- Parameter Estimation: Estimates model parameters based on experimental data.
|
|
35
|
+
|
|
36
|
+
- Uncertainty Analysis: Quantifies uncertainties in parameter estimates and model predictions.
|
|
37
|
+
|
|
38
|
+
- Model-Based Design of Experiments for Model Discrimination (MBDoE-MD): Designs experiments to distinguish between competing models.
|
|
39
|
+
|
|
40
|
+
- Model-Based Design of Experiments for Parameter Precision (MBDoE-PP): Designs experiments to improve parameter precision and model robustness.
|
|
41
|
+
|
|
42
|
+
- Model Validation: Assesses the model's predictive capability using independent data.
|
|
43
|
+
|
|
44
|
+
Some service functionalities are also provided to support usage, and post-processing of results, including:
|
|
45
|
+
- Data handling,
|
|
46
|
+
- Plotting and reporting,
|
|
47
|
+
- Insilico data generator.
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
## Applications:
|
|
52
|
+
|
|
53
|
+
MIDDOE has been tested across a variety of domains, including:
|
|
54
|
+
|
|
55
|
+
- Pharmaceutical systems
|
|
56
|
+
|
|
57
|
+
- Biological processes
|
|
58
|
+
|
|
59
|
+
- Mineral systems
|
|
60
|
+
|
|
61
|
+
- Chemical processes
|
|
62
|
+
|
|
63
|
+
### Installation
|
|
64
|
+
|
|
65
|
+
#### PyPI [](https://pypi.org/project/Pyomo/) [](https://pypistats.org/packages/pyomo)
|
|
66
|
+
|
|
67
|
+
pip install middoe
|
|
68
|
+
|
|
69
|
+
### Tutorials and Examples
|
|
70
|
+
|
|
71
|
+
* A set of MIDDoE case studies to call the identification workflow in cases of Pharmaceutical, Biological ,Mineral and Chemical systems are added to the package.
|
|
72
|
+
* A documentation to guide the user through the package functionalities and how to use them will be available soon.
|
|
73
|
+
|
|
74
|
+
### Getting Help
|
|
75
|
+
|
|
76
|
+
For help and community support, you can:
|
|
77
|
+
* use the #MIDDOE tage on StackOverflow
|
|
78
|
+
* contact the developer (zuhairtabrizi@gmail.com)
|
|
79
|
+
|
|
80
|
+
### Developers
|
|
81
|
+
|
|
82
|
+
Contributions are welcome! If you'd like to improve MIDDOE, report issues, or suggest new features, please visit the GitHub repository for guidelines.
|
|
83
|
+
By contributing to this project, you are agreeing to the following terms and conditions:
|
|
84
|
+
1. You agree your contributions are submitted under the MIT License.
|
|
85
|
+
2. You confirm that you are authorized to make the contributions and grant the license. If your employer has rights to intellectual property that includes your contributions, you represent that you have received permission to make contributions and grant the required license on behalf of that employer.
|
|
86
|
+
|
|
87
|
+
### License
|
|
88
|
+
|
|
89
|
+
MIDDOE is licensed under the MIT License. See the LICENSE file for details.
|
|
90
|
+
|
|
91
|
+
### Acknowledgements
|
|
92
|
+
|
|
93
|
+
This work is part of the CO2Valorize project that has received funding from the European Union’s Horizon Europe research and innovation programme under the Marie Skłodowska-Curie Grant Agreement No. 101073547.
|
|
94
|
+
MIDDOE was developed to address gaps in existing tools and has benefited from insights gained through applications in various disciplines. Special thanks to the research community for their ongoing contributions and feedback.
|
|
95
|
+
|
|
File without changes
|
|
File without changes
|