Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New "ToRORd_Land" cellular model and minor changes #60

Merged
merged 10 commits into from
Oct 25, 2023

Conversation

bergolho
Copy link
Contributor

Hello Sachetto,

In this pull request there are a few changes and additions to the solver. They are summarized below:

1) ToRORd_Land model:

A new variation of the ToRORd human cellular model to the repository has been implemented. It is called ToRORd_Land and it is a mix between the original ToRORd with the Land model. The model itself is suitable for electromechanical simulations, but we can control the fibre stretch of the Land model by setting the 'lambda' parameter equal to 1 (no deformation) leading to a 0D model.

In all my tests (single cell, cable, plain and biventricular) the model can be solved using a fixed Rush-Larsen timestep of dt=0.01ms without NaN errors and with an accuracy closer to the original Matlab code. Also, the user can include current modifiers to the model by using the new extra data functions "set_extra_data_mixed_torord_Land_same_celltype" and "set_extra_data_mixed_torord_Land_epi_mid_endo" and change the AP behaviour as desired. To test the model capabilities three new configuration files have been added to the example_configs/ folder:

  • "cable_mesh_with_ToRORd_Land_endo_mid_epi.ini"
  • "plain_mesh_ToRORd_Land_endo_mid_epi.ini"
  • "trace_state_vector_cell_ToRORd_Land.ini"

2) Change the PMJ delay calculus:

The PMJ delay calculus is now made using the difference between the LAT of the terminal Purkinje volume and the minimum LAT obtained from the coupled ventricular volumes to that Purkinje terminal. We no longer use a mean LAT of the coupled ventricular volumes.

3) New script to read ".acm" files:

Reader script to extract the data from a ".acm" file has been added to the /scripts folder.

@rsachetto rsachetto merged commit 1c09ef8 into rsachetto:master Oct 25, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants