The activation time for the item in the time-ordered priority queue
The activation time for the item in the time-ordered priority queue
Add fluids to this transition.
Add fluids to this transition.
the fluid vector to add
Add tokens to this transition.
Function to compute the delay in firing a transition.
Function to compute the delay in firing a transition. The base time is given by a random variate. This is adjusted by weight vectors multiplying the number of aggregate tokens and the aggregate amount of fluids summed over all input places: delay = v + w_t * t + w_f * f.
the random variate used to compute base firing time
the weight for the token vector
the aggregate token vector (summed over all input places)
the weight for the fluid vector
the aggregate fluid level vector (summed over all input places)
Check the incoming arcs from discrete place for enough tokens of the right colors and the incoming arcs from continuous places for enough fluid of the right colors.
Compare this transition to tr2 based on firing time.
Compare this transition to tr2 based on firing time.
the other transition
Compare two items (PQItems) based on their actTime.
Compare two items (PQItems) based on their actTime.
the other item to compare with this item
Connect this transition to all the incoming and outgoing arcs as well as the containing Petri net.
Connect this transition to all the incoming and outgoing arcs as well as the containing Petri net.
the containing Petri net
the incoming arcs from discrete/Int places
the incoming arcs from continuous/Double places
the outgoing arcs to discrete/Int places
the outgoing arcs to continuous/Double places
Connect this transition to all the incoming and outgoing continuous arcs as well as the containing Petri net.
Connect this transition to all the incoming and outgoing continuous arcs as well as the containing Petri net.
the containing Petri net
the incoming arcs from continuous/Double places
the outgoing arcs to continuous/Double places
Connect this transition to all the incoming and outgoing discrete arcs as well as the containing Petri net.
Connect this transition to all the incoming and outgoing discrete arcs as well as the containing Petri net.
the containing Petri net
the incoming arcs from discrete/Int places
the outgoing arcs to discrete/Int places
The animation command queue
Enable this transition by computing the firing delay.
Enable this transition by computing the firing delay. Should immediately place it on the time ordered firing list. Also, move tokens/fluids from input places to this transition.
Fire this transition by moving the requisite number and color of tokens from this transition to each outgoing discrete place and the requisite amount and color of fluid to each outgoing continuous place.
The firing delay for this transition
Show the flaw by printing the error message.
Show the flaw by printing the error message.
the method where the error occurred
the error message
Compute the amount of fluid to flow over an arc according to the system of first-order Ordinary Differential Equation (ODE's): "integral derv from t0 to t".
Compute the amount of fluid to flow over an arc according to the system of first-order Ordinary Differential Equation (ODE's): "integral derv from t0 to t". Supports ODE base flow models.
the fluid vector (amount of fluid per color)
the array of derivative functions
the current time
the time delay
Compute the amount of fluid to flow over an arc according to the vector expression: b + r * (f-b) * d.
Compute the amount of fluid to flow over an arc according to the vector expression: b + r * (f-b) * d. If r is 0, returns b. Supports linear (w.r.t. time delay) and constant (d == 0) flow models.
the fluid vector (amount of fluid per color)
the constant vector for base fluid flow
the rate vector (amounts of fluids per unit time)
the time delay
Fluid vector for transition
Get the id (unique identifier).
Get the id (unique identifier).
Arcs incoming from continuous places
Arcs incoming from discrete places
A transition is locked from the time it is enabled until it fires
Return the full identity.
Return the full identity.
Get the name.
Get the name.
Arcs outgoing to continuous places
Arcs outgoing to discrete places
The containing Petri net
Set the name.
Get the type of the simulation object.
Get the type of the simulation object.
Take fluids from this transition.
Take fluids from this transition.
the fluid vector to take away
Take tokens from this transition.
Return whether the vector inequality is true: f >= b.
Return whether the vector inequality is true: f >= b. The firing threshold should be checked for every incoming arc. If all return true, the transition should fire.
The fluid vector (amount of fluid per color)
The base constant vector
Return whether the vector inequality is true: t >= b.
Return whether the vector inequality is true: t >= b. The firing threshold should be checked for every incoming arc. If all return true, the transition should fire.
the token vector (number of tokens per color)
the base constant vector
Convert the item (PQItem) to a string.
Convert the item (PQItem) to a string.
Compute the number of tokens to flow over an arc according to the vector expression: b + r * (t-b) * d.
Compute the number of tokens to flow over an arc according to the vector expression: b + r * (t-b) * d. If d is 0, returns b. Supports linear (w.r.t. time delay) and constant (d == 0) flow models.
the token vector (number of tokens per color)
the constant vector for base token flow
the rate vector (number of tokens per unit time)
the time delay
Token vector for transition
the x-coordinate for this transition
the y-coordinate for this transition
The
Transition
class represents a timed transition.