Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Both sides next revision
pn2mc:rtcpn_modelling [2014/11/20 22:54]
jbiernacki
pn2mc:rtcpn_modelling [2021/09/23 08:51] (current)
Line 2: Line 2:
  
 This chapter covers RTCP-nets modelling in CPN Tools environment.  This chapter covers RTCP-nets modelling in CPN Tools environment. 
-This approach to the modelling of RTCP-nets was originally introduced in master's thesis of Joanna Woźniak entitled "Modelowanie RTCP-sieci z wykorzystaniem środowiska CPN-Toolsin 2014. With her permission, excerpts of her work here will be used to explain the principles of RTCP-nets modelling in the CPN Tools application.+This approach to the modelling of RTCP-nets was originally introduced in master's thesis of Joanna Woźniak entitled 'Modelowanie RTCP-sieci z wykorzystaniem środowiska CPN-Toolsin 2014. With her permission, excerpts of her work here will be used to explain the principles of RTCP-nets modelling in the CPN Tools application.
  
 ---- ----
Line 122: Line 122:
 ==== Transitions ==== ==== Transitions ====
  
 +RTCP-net transitions are described by the following parameters:
 +
 +  * Name,
 +  * Priority,
 +  * Guard,
 +  * An indication of the hierarchy.
 +
 +The RTCP-nets, in cotrast to the colored nets, time is not associated with transitions. In the model presented in the figure below, there are two transitions: ''T1'' and ''T2'' with priority values 2 and 1 respectively. Two guards were also defined: ''x = a'' for transitions ''T1'' and ''x = b'' for the transition ''T2''.
 +
 +{{:pn2mc:rtcp_cpntools:rtcp_cpntools7.png?400|}}
  
 ==== Arcs ==== ==== Arcs ====
  
 +Arcs in the RTCP-nets may be unidirectional or bidirectional (equivalent of a pair of arcs).
 +In the second case two expressions are assocaited with the arc: the input expression defining tokens added to the place and the output expression specifying tokens removed from it. These expressions can optionally contain time expressions. Therefore, to the arc can be assigned following parameters:
 +
 +  * Input expression,
 +  * Output expression,
 +  * Time input expression,
 +  * Time output expression.
 +
 +
 +CPN Tools allows users to associate only one expression. To assign to two expressions to one arc the following format of the label was invented:
 +
 +''in_exp @ time_in_exp | out_exp @ time_out_exp''
 +
 +Parts ''time_in_exp'' and ''time_out_exp'' can be omitted.
  
-==== Pages ====+In the figure below the arc connected to place A has value ''b'' assigned. It means that ''b'' token is added to this place after firing of transition ''T''. Variable ''x'' represents the token removed from place ''A''. The output expression has time value assigned and equal to 2. It denotes that the transition can be fired after 2 time units. The arc connecting the transition with place ''B'' contains expressions determining a token added to place ''B'' (the value of ''x'' variable) and the value of the local clock of place ''B'' (it will be set to 1).
  
 +{{:pn2mc:rtcp_cpntools:rtcp_cpntools8.png?400|}}
  
 **[[:pn2mc:manual|Go back]]** **[[:pn2mc:manual|Go back]]**