MarekMatejak / Physiolibrary

Modelica library for Physiology
BSD 3-Clause "New" or "Revised" License
33 stars 19 forks source link

Collapsing feature of elastic vessels seems not functioning #7

Closed TomasKulhanek closed 9 years ago

TomasKulhanek commented 9 years ago

Collapsing feature of elastic vessels seems not functioning as elastic element goes into negative volume without a big force or nasty modeling. Attached example of 4 windkessel units in series with a pump. The fourth gets into negative volume after several seconds.

File 1: test model https://raw.githubusercontent.com/TomasKulhanek/Physiolibrary.models/master/Cardiovascular/test/CollapsingCVSTotal.mo File 2: script to run the test and plot volumes https://raw.githubusercontent.com/TomasKulhanek/Physiolibrary.models/master/Cardiovascular/test/CollapsingCVSTotal.mos

MarekMatejak commented 9 years ago

Please add the description of expected behaviour of the experiment.

TomasKulhanek commented 9 years ago

Fixed. Added CollapsingPressureVolume parameter.