Skip to content

physiology/Physiolibrary

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

261 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Physiolibrary

Physiolibrary ( http://www.physiolibrary.org ) is a free open-source Modelica library designed for modeling human physiology. This library contains basic physical laws governing human physiology, usable for cardiovascular circulation, metabolic processes, nutrient distribution, thermoregulation, gases transport, electrolyte regulation, water distribution, hormonal regulation and pharmacological regulation.

Library description

The origin of this Modelica Physiolibrary was in the first version of our HumMod Golem Edition model implementation, where it was called HumMod.Library. As the successors of Guyton's Medical Physiology School write, the original HumMod model is “The best, most complete, mathematical model of human phys-iology ever created” ( http://hummod.org ).

We are also developing many types of smaller physiological models for use in medical education, so it was essential to separate this library from our HumMod Modelica implementation. This separation improves the quality of the next HumMod release and provides a useful Modelica library to modelers in this bioscience. The library contains only carefully-chosen elementary physiological laws, which are the basis of more complex physiological processes. For example from only two type of blocks (Chemical.ChemicalReaction and Chemical.Substance) it is possible to compose the allosteric transitions or the Michaelis-Menten equation.

Library contains also the icons for higher level (HumMod) subsystem implementations:

screenshot

Installation

  • Physiolibrary/package.mo can be directly opened by each Modelica environments.

  • OpenModelica: Physiolibrary is already included from version 1.9.

  • Dymola support of physical units:

    • Using Windows batch script: call "Physiolibrary\Resources\Install\Dymola\install.bat"
    • Manually: copy the Physiolibrary/Resources/DisplayUnits/displayUnits.mos over dymola-install-dir/insert/displayUnits.mos

Prerequisities

Current release

Download Physiolibrary 2.3.0 (2015-02-16)

Release notes

  • Version v2.3.0 (2015-02-16)

  • New: * Population domain for population models of organisms, cells,.. * cardiovascular models as example of Hydraulic domain * components: osmotic reabsorption, ideal osmotic flow filtration * display units: umol/min,nmol/min,pmol/min,l/day * icons: heart ventricle icon, microcirculation, population * blocks: 1(one) as constant, energy per mass, DegradationGain, FractionGain * installation to System Modeler script (Resources/Install)

  • Fix: * OsmoticCell with more possible membrane type interfaces * factors: dissabling option and with decadic logarith * redefinition of unmeasurables physical quantities * manipulation with initial input and final output values of variables * units of heart starling slopes in CardiovascularSystemGCG example

  • Rename: * units Torr with capital 'T' (from name - Evangelista Torricelli) * Blocks.Math.Exponentiation to Blocks.Math.Power

  • Version v2.2.0 (2014-09-06)

  • New read/write of values in non-SI units from/to file

  • New outflow/inflow sources

  • New chemical internal heats

  • New passive fluxes through membranes

  • Fixed collapsing ElasticVessel at negative sucking pressures

  • Fixed concentrations are always per volume of whole solution

  • Fixed determining of Dymola installation folder

  • Renamed actualFlow, actualConc, .. in sensors

  • Renamed FlowConcentrationMeasure to IncrementalFlowConcentrationMeasure

  • Renamed thermal OutStream to MassOutflow

  • Version v2.1.1 (2014-05-02)

  • New compoment: HydraulicComponents.IdealValve for modeling aortic, pulmonary, triscupid and mitral valve

  • New types: pH, VolumeDensityOfCharge

  • New examples: Osmotic.Examples.CelebrospinalFluid, Hydraulic.Examples.Windkessel and Hydraulic.Example.MinimalCirculation

  • Fix: role of hydraulic pressure in Osmotic.Components.Membrane

  • Version v2.1.0 (2014-02-28)

  • Upgrade to MSL 3.2.1 (still compatible with MSL 3.2)

  • New: constants HydraulicResistanceConst, HydraulicElastanceConst and HydraulicElastanceToComplianceConst and type HydraulicElastance

  • New: steady state component ElectricChargeConservationLaw

  • New: display units for hydraulic resistance/conductance/compliance/elastance, for gas solubility

  • Rename: HydraulicResistanceConst to HydraulicResistanceToConductanceConst

  • Fix: gas solution in liquid with corrected GasSolubility type

  • Fix: bidirectional stream flows

  • Fix: steady state example of dissolved oxygen

  • Fix: installation batch file for Dymola in Windows

  • Fix: references in overview (user's guide)

  • Version v2.0.2 (2014-01-26)

  • Support for steady states calculation by energy/mass conservation laws or environment sources

  • Conditional inputs for each domain blocks

  • Package States renamed to SteadyStates, added SteadyStates.Components

  • Removed package Mixed

  • Package FileUtilities moved to Types.FileUtilities

  • Version v1.2.0 (2014-01-15)

  • Package structure Physiolibrary.{domain}.[Examples|Components|Sources|Interfaces].{component}

  • New icons

  • Thermal: Relative heat energy to normal body temperature (37degC)

  • New examples: Guyton-Coleman-Granger cardiovascular model, Coleman thermal energy transfers

  • Version v1.1.0 (2013-12-30)

  • Heat connector compatibility between Physiolibrary.Thermal package and Modelica.Thermal.HeatTransfer package (MSL 3.2)

  • Some English language corrections

  • Hydrostatic pressure patch

  • New examples

  • Version v1.0.1 (2013-12-11)

  • The library uses the Modelica Standard Library (MSL) version 3.2.

  • Contains nice physiological icons.

  • Support for physiological units: min,kcal,mmHg,ml,mEq,..

  • Base blocks for chemical, hydraulical, osmotic, thermal or mixed domains

  • Support of equilibrated systems

  • Support for expandable inputs/outputs/tests lists

License

This Modelica package is free software and the use is completely at your own risk; it can be redistributed and/or modified under the terms of the Modelica License 2.

Development and contribution

Release manager: Marek Matejak Contributor: [Tomas Kulhanek] (https://github.com/TomasKulhanek)

Do you want to contribute? It is easy. Make a fork in your GitHub account, do your commit and do the pull request. The project is now open for new contributors.

You may report bugs or issues to project issues or to e-mail: marek<at>matfyz<dot>cz

About

Modelica library for Physiology

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Modelica 99.0%
  • Other 1.0%