-
Notifications
You must be signed in to change notification settings - Fork 41
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
Perturbation is never triggered #39
Comments
Could you include KaSim's version number? Le 26/08/2011 20:13, ajendrex a écrit :
|
On 08/26/2011 03:31 PM, jkrivine wrote:
tested KaSim versions: 1.07 and 1.08 |
Issue corrected in KaSim >= 1.08_290811 |
I downloaded and compiled KaSim 1.08_290811, it still doesn't work properly for my example. Actually, now I observe an even more strange behaviour :s, because every 10 steps the observables are identical (so, there are kind of empty events). |
Weird I'll have a look asap Le 29/08/2011 21:56, ajendrex a écrit :
|
In fact I don't see anything weird. It's seems to be a matter of oversampling to me. If you are asking for more points that there are time steps then KaSim tries to fill the gaps with empty events. |
OK, Now I understand the modus operandi for -p option; It tries to sample the state of the mixture uniformly over time of simulation. I re-run the simulation as KaSim -i test.ka -e 100 -p 1000 -o test.out but I still get just 100 points of sampling, being the following the last line of the output: 2.043989E+00 100 1.100000E+01 0.000000E+00 11 a() agents and 0 c() agents. So, there are 11 more 'AB' reactions to go in the mixture, but the simulation stops. I think that the problem could be with the events counter (second column), which is increased at every sampling point, no matter if there was or not an event since the previous sampling point. If I run KaSim -i test.ka -t 5 -p 100 -o test.out, the simulation reach a deadlock, the last line of the output looks like |
Yes I want to change the -p option anyway according to the discussion Le 30/08/2011 15:46, ajendrex a écrit :
|
well, yes... anyway, is it possible to easily fix the problem with the events counter? That's the reason why simulations stop before actually reach the specified number of events (-e) |
Sorry to be bureaucratic but could you comment on issue #17 or create Cheers and thanks for the feebacks Le 30/08/2011 17:38, ajendrex a écrit :
|
The following system:
%agent: a()
%agent: b()
%agent: c()
'AB' a() -> b() @ 1
%obs: 'A' a()
%obs: 'C' c()
%init: 100 a()
%mod: 'A' < 10 do $ADD 1 c() until [false]
run with the command line KaSim -i test.ka -e 100 -p 100 -o test.out
never introduces a c() agent.
tested KaSim versions: 1.07 and 1.08
The text was updated successfully, but these errors were encountered: