v0.3.1
CirculatorySystemModels v0.3.1
Breaking changes since version 0.1.X:
- The Double-Hill chamber
DHChamber
is now in terms ofdV/dt
rather thandp/dt
which increases computation speed by an order of magnitude. The old form can be recovered using theinP
argument. The parameterEv
has been removed. Please use the ventricular volume as an initial condition instead of the pressure. This can be calculated as$V = p/E_{min}$ -
Compliance
andElastance
are now in terms of dV/dt. Use the new argumentinP=true
to recover the old form. Initial conditions need to be changed accordingly. -
Compliance
andElastance
have options for external pressure as parameterhas_ep
and as a connector pin to connect other pressures tohas_variable_ep
- the latter can take an equation likeC.ep.p ~ LV.p * K
. - Chamber has been deleted and replaced with
VariableCompliance
which can take a function forE(t)
and has external pressure options like the other compliances and elastances. -
ShiChamber
already was formulated in terms of dV/dt. It now has the argumentinP=true
to allow thedp/dt
form. Initial conditions need to be changed accordingly.
NOTE: the use of inP
is strongly discouraged, since it needs the first derivative of the Elastance function, is less stable, and an order of magnitude slower. If you want to define initial condtions in pressure, it is advised to calculate the corresponding initial volume.