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

can someone help me to fix the error that i have with stimulus definition

L2 : Output directory exists: 2022-06-26_simple_74_petsc_np1/restart_0

L1 : Warning: Legacy stimuli defined. Please consider switching to stimulus definition "stim[]"!
L2 : Copying over of previous activation file not implemented.

L2 : Copying over of previous activation file not implemented.

Adjusting dim_t to make dimensions consistent
Adjusting dim_t to make dimensions consistent
Adjusting dim_t to make dimensions consistent
Adjusting dim_t to make dimensions consistent
Adjusting dim_t to make dimensions consistent

this is how i define the stimulus

stim=  ['-simID',   rstID ,
                '-num_stim',               2,
                'stimulus[0].name',     "S1",
                '-stimulus[0].stimtype',   0,
                '-stimulus[0].strength', 50.,
                '-stimulus[0].duration',   2.0,
                '-stimulus[0].npls',         74,
                '-stimulus[0].bcl',   500.0,
                '-stimulus[0].start',   0.0,
         
                '-stimulus[0].x0',     -4950.,
                '-stimulus[0].xd',       100.,
                '-stimulus[0].y0',       -150.,
                '-stimulus[0].yd',       300.,
                
                
                'stimulus[1].name',     "S2",
                '-stimulus[1].stimtype',   0,
                '-stimulus[1].strength', 50.,
                '-stimulus[1].duration',   2.0,
                '-stimulus[1].npls',        1,
                '-stimulus[1].bcl',   300,
                '-stimulus[1].start', 36800.,
         
                '-stimulus[1].x0',     -4950.,
                '-stimulus[1].xd',       100.,
                '-stimulus[1].y0',       -150.,
                '-stimulus[1].yd',       300.,
                '-tend',37100.]
by (18.3k points)
Which simulator message is your question referring to?

1 Answer

0 votes
by (18.3k points)
selected by
 
Best answer

Which simulator message is your question referring to?

by (470 points)
It's ok now i find my error it was because i was reading the prévious state and i should adjust the time of the stimulus not from 0 but from the end of the previous state(.roe file) from wich i was reading
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
...