First time here? Checkout the FAQ!
x
0 votes
by (120 points)

Hi all,

I’m using carputils to run PSD reentry simulations in 2D tissue with a prepacing phase using the following structure (based on one of the examples):

-prepacing_beats 5  
-prepacing_bcl 1000  
-prepacing_lats sim/LATS.dat

During runtime, I see the message:

L1 : Assuming stimulus strength 60.000000 uA/uF with duration 1.000000 ms for prepacing

I would like to change this default stimulus strength and duration during prepacing, without affecting the main simulation, but there doesn’t seem to be a flag allowing this.

Is this possible? And if so, how can I modify the stimulus settings specifically for the prepacing phase? I’ve looked through many Q&As here and in the documentation, but haven’t found a solution.

Thanks in advance!

1 Answer

0 votes
by (420 points)

Hey, 

currently this is not possible. But I opened an issue and a merge request which exposes these parameters to be changed at runtime. If you want to use this feature before the MR is reviewed and accepted, you have to checkout the branch prepacing_stimulus and build openCARP from source.

Then you can set the options

-prepacing_stimdur (in ms)

-prepacing_stimstr (in uA/uF)

to change the values to your desire.

Best, Tobias

Welcome to openCARP Q&A. Ask questions and receive answers from other members of the community. For best support, please use appropriate TAGS!
architecture, carputils, documentation, experiments, installation-containers-packages, limpet, slimfem, website, governance
...