bugMCSim simulation sofware - Bugs: bug #57156, Spikes input function is not...

 
 

bug #57156: Spikes input function is not properly printed out at the end of an experiment

Submitter:  Frederic Yves Bois <fredomatic>
Submitted:  Sun 03 Nov 2019 08:37:12 AM UTC
   
 
Category:  Sim Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Confirmed Privacy:  Public
Assigned to:  fredomatic Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 01 Feb 2020 07:57:31 AM UTC, comment #2: 

see also bug 57715

Frederic Yves Bois <fredomatic>
Group administrator
Sun 03 Nov 2019 08:51:43 AM UTC, comment #1: 

In fact, the bug is when printing the value of spikes at final time. The calculation of outputs is coherent: at a discontinuity.
the time point belongs to the NEW period UNLESS we are at the final time. So the spike does not apply at a final time and should not be printed (it should all be zeros). This should be written out clearly in the manual.

Frederic Yves Bois <fredomatic>
Group administrator
Sun 03 Nov 2019 08:37:12 AM UTC, original submission:  

If the last spike and the final simulation time are the same, the spike is not properly updated/computed.
It is possible/likely that this happens only in models without differential equations.
General note: Spikes are unreliable and their use should be discouraged, unless they are thoroughly tested. This warning has been added to the manual to mitigate bug impact.

Frederic Yves Bois <fredomatic>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #47783:  normal_test.in added by fredomatic (605B - application/octet-stream - the second experiment is clearly not computed correctly.)
file #47782:  sim.out added by fredomatic (204B - application/octet-stream - the second experiment is clearly not computed correctly.)
file #47781:  pop_2.model added by fredomatic (589B - application/octet-stream - the second experiment is clearly not computed correctly.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by fredomatic (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-11-03 fredomatic SummarySpikes input function is not properly updated at the end of an experiment Spikes input function is not properly printed out at the end of an experiment
    2019-11-03 fredomatic Attached File- Added pop_2.model, #47781
        Attached File- Added sim.out, #47782
        Attached File- Added normal_test.in, #47783

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code