[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [stem-dev] stem-dev Digest, Vol 117, Issue 7
|
I have an error when using SVN to obtain the source code.
Hi Emily,
The error is appearing in the BinomialDistribution
code which is part of the stochastic solver (not part of triggers/predicates/modifiers).
Could you please test your scenario
(including the triggers) using a deterministic solver?
IF that passes then the problem is not
triggers but most likely the convergence theshold setting in the stochastic
solver (which can cause also an apparant hang).
OutOfRangeExceptioncan also indicate a problem with the epi model itself. values in a compartment
should never go below zero so please double check all of your transitions
and rates....
Finally, what is the modification you
are triggering? Could this be causing a compartment value to go negative?
IF you are forcing a discontinous movement of population you may not be
able to use any integrating solver as there could be a problem getting
convergence around the discontinuity. If that's the issue you need to make
sure your modifier logic never causes a negative value.
Cheers,
Jamie
From:
stem-dev-request@xxxxxxxxxxx
To:
stem-dev@xxxxxxxxxxx
Date:
01/28/2019 09:00 AM
Subject:
stem-dev Digest,
Vol 117, Issue 7
Sent by:
stem-dev-bounces@xxxxxxxxxxx
Send stem-dev mailing list submissions to
stem-dev@xxxxxxxxxxx
To subscribe or unsubscribe via the World Wide Web, visit
https://www.eclipse.org/mailman/listinfo/stem-dev
or, via email, send a message with subject or body 'help' to
stem-dev-request@xxxxxxxxxxx
You can reach the person managing the list at
stem-dev-owner@xxxxxxxxxxx
When replying, please edit your Subject line so it is more specific
than "Re: Contents of stem-dev digest..."
Today's Topics:
1. Out of range error when using triggers (Emily Nixon)
----------------------------------------------------------------------
Message: 1
Date: Mon, 28 Jan 2019 16:36:21 +0000
From: Emily Nixon <emily.nixon@xxxxxxxxxxxxx>
To: developer mailing list STEM <stem-dev@xxxxxxxxxxx>
Subject: [stem-dev] Out of range error when using triggers
Message-ID:
<VI1PR0601MB2352807807A3AB21510AD868BF960@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset="iso-8859-1"
Hi all,
I was wondering if anyone knew what might be causing the error below when
I run my scenario "Jan19"?
When removing the triggers generated by my pajek graph, the scenario runs
normally. However, when the triggers are included in the scenario, progress
on the simulation control remains at 0% for a while and then this error
appears.
An internal error occurred during "Jan19"
org.apache.commons.math3.exception.OutOfRangeException: -0.045 out of [0,
1] range
at org.apache.commons.math3.distribution.BinomialDistribution.<init>(BinomialDistribution.java:75)
at org.eclipse.stem.core.math.BinomialDistributionUtil.fastPickFromBinomialDist(BinomialDistributionUtil.java:76)
at org.eclipse.stem.solvers.stochastic.impl.StandardStochasticImpl.step(StandardStochasticImpl.java:228)
at org.eclipse.stem.core.scenario.impl.ScenarioImpl.step(ScenarioImpl.java:395)
at org.eclipse.stem.jobs.simulation.Simulation.run(Simulation.java:313)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
I've had a go at troubleshooting this for a while and have run out of ideas
of what to try next to get it to work.
If anyone has any ideas of what the issue might be, then please let me
know and I will try to investigate further!
Best wishes,
Emily
Emily Nixon
PhD Student
Demonstrator
School of Biological Sciences
University of Bristol
Bristol Life Sciences Building
24 Tyndall Avenue
Bristol
BS8 1TQ
Tel +44 (0)117 394 1389
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.eclipse.org/mailman/private/stem-dev/attachments/20190128/8b1ca3fb/attachment.html>
------------------------------
_______________________________________________
stem-dev mailing list
stem-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://www.eclipse.org/mailman/listinfo/stem-dev
End of stem-dev Digest, Vol 117, Issue 7
****************************************
_______________________________________________
stem-dev mailing list
stem-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/stem-dev
Attachment:
20190128_150035.jpg
Description: JPEG image