Modelica Models and Jupyter Notebooks for System Analysis of Glucose Insulin Regulation
收藏资源简介:
This dataset contains source code of Modelica models of Glucose-Insulin regulation using different techniques. Accompanying Jupyter notebook is demo for system analysis (parameter estimation) of artificial data and to match model simulation able to be used in Teaching class. <strong>ModelicaIdentification.ipynb</strong> - default notebook - code contains ellipsis which needs to be replaced as per instruction in text <strong>ModelicaIdentificationResolution.ipynb - </strong>notebook - code with exemplar solution to default notebook <strong>glucoseinsulin.mo - </strong>Modelica source code <strong>PatientInsulinConcentration.csv</strong> - sample data to be fitted against model <strong>seminar11hw.GIExperiment.fmu</strong> - FMU exported from Modelica in order to run simulation in Python and PyFMI library Thanks to the MYBINDER service, the Jupyter notebook can be viewed and executed as https://mybinder.org/v2/zenodo/10.5281/zenodo.3633324/ note that you need to launch terminal first in Jupyter -> New -> Terminal and install pyfmi and matplotlib by: <pre><code class="language-bash">conda install -c conda-forge pyfmi matplotlib</code></pre> Most recent version with other models and notebooks https://mybinder.org/v2/gh/creative-connections/Bodylight-notebooks/master?filepath=Seminar11GlucoseInsulinIdentification/



