Simulation of two or more Statecharts executing in parallel

166 views
Skip to first unread message

Joel Greenyer

unread,
Apr 14, 2013, 12:06:09 PM4/14/13
to yakind...@googlegroups.com
Hi,
I would like to know whether YAKINDU allows me to simulate multiple Statecharts executed in parallel.
By "in parallel" I don't mean orthogonal states, but multiple, separate Statecharts (of multiple components, if you so want).

If yes, then I'd appreciate a pointer to documents, or sample models.

Thanks

Joel

P.J. Boudewijns

unread,
Apr 14, 2013, 4:28:33 PM4/14/13
to yakind...@googlegroups.com

Hi Joel,

I have done a project with 3 separate state machines running simultaneously. Simply create them, generate their code and run them. Each machine can be used via its own interface.

Peter
Op 14 apr. 2013 18:06 schreef "Joel Greenyer" <jgre...@gmail.com> het volgende:

> --
> You received this message because you are subscribed to the Google Groups "YAKINDU User" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to yakindu-user...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

Andreas Mülder

unread,
Apr 15, 2013, 5:30:32 AM4/15/13
to yakind...@googlegroups.com
Hi Joel,

currently it is possible to simulate multiple statecharts at once and also multiple instances of the same statechart model at the same time. Just run them and select the instance you want to get visualized in the editor from the debug view on the top. 
It is not possible so far to have communication between different running statemachines, (i.e. Statemachine A sends an event to Statemachine B) but we are working on this topic.

Best regards,

Andreas

Joel Greenyer

unread,
Apr 15, 2013, 7:40:14 AM4/15/13
to yakind...@googlegroups.com
Hi Andreas,
I see. Well, I was hoping that I could simulate different communicating Statecharts. Hope that this will be supported soon.

Thanks for the info.

Joel

Rubén Pérez

unread,
May 5, 2013, 5:41:02 PM5/5/13
to yakind...@googlegroups.com
Hi Andreas,

One question regarding this topic.

Lets say that I have a statechart modeling the behavior of a Service. and lets say that I can have X instances of those services (X unknown). Then I have a second statechart modeling the global behavior of the whole set  (like disabling Services, etc), and therefore I need a way for any of the Services to send an event to the global statechart, and viceversa (as the response). Is this what you are working at? Is there any estimation on when it will be available?

What would be currently the best approach to model that?

Thanks
Ruben

Axel Terfloth

unread,
May 6, 2013, 1:20:57 AM5/6/13
to yakind...@googlegroups.com
Hi Rubén,

we are working on simulation of a fixed set of statecharts using the notion of components. 
Handling a dynamic number of statecharts is not planned yet but it will be possible to set up such a scenario by contributing custom simulation plugins.

This topic is work in progress, but i sadly can't give a concrete date yet.

Best regards,
Axel
--

Rubén Pérez

unread,
May 6, 2013, 4:48:13 AM5/6/13
to yakind...@googlegroups.com
Thanks Axel,

I was just thinking also, that allowing a statechart to be used as a type in the description language would also work out and it'd be a nice feature as well.

Rubén

Erwan Bousse

unread,
Jun 18, 2013, 6:26:07 AM6/18/13
to yakind...@googlegroups.com
Le lundi 6 mai 2013 07:20:57 UTC+2, Axel Terfloth a écrit :

we are working on simulation of a fixed set of statecharts using the notion of components. 


This seems really nice. Looking forward to it! :)
Reply all
Reply to author
Forward
0 new messages