Releases: TS-CUBED/CirculatorySystemModels.jl
v0.4.1
What's Changed
Updated the Bjordalsbakke example to remove extra initial conditions, which are no longer allowed (and no longer necessary) in MTK9. Since MTK9 the initial condition map cannot be over-prescribed.
Full Changelog: v0.4.0...v0.4.1
v0.4.0
Breaking changes
Moved the module to the new MTK syntax. Due to changes in MTK9 this release is no longer compatible with MTK8 and Julia 1.9.
What's Changed
- Update the lib with
@mtkmodel
by @ven-k in #29 - CompatHelper: bump compat for ModelingToolkit to 9, (keep existing compat) by @github-actions in #30
- Reduce compile time by @termi-official in #31
- Impedance typo by @termi-official in #32
- Update by @TS-CUBED in #33
- Fix mtk9 42 by @TS-CUBED in #34
New Contributors
- @ven-k made their first contribution in #29
- @termi-official made their first contribution in #31
Full Changelog: v0.3.1...v0.4.0
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.
v0.3.0
Release Notes:
Breaking changes from v0.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 and Elastance are now in terms of dV/dt. Use the new argument
inP=true
to recover the old form. Initial conditions need to be changed accordingly. - Compliance and Elastance have options for external pressure as parameter
has_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.
v0.2.0
CirculatorySystemModels v0.2.0
Breaking changes:
The Double-Hill chamber DHChamber
is now in terms of dV/dt
rather than dp/dt
which increases computation speed by an order of magnitude. The parameter Ev
has been removed.
Please use the ventricular volume as an initial condition instead of the pressure. This can be calculated as
Merged pull requests: