Package jline.solvers.fluid.petri
Class PetriConservation
java.lang.Object
jline.solvers.fluid.petri.PetriConservation
The conserved quantities, as equations:
u'D = 0 implies u'x is constant.
On the marking coordinates those u are the net's P-invariants; on a mode's phase block the all-ones vector is one of them, which is the statement that the phase coordinates are a distribution. Both come out of the SAME null space, so the phase normalisation needs no separate row.
AN OPEN NET LOSES THE ROWS ITS ARRIVALS BREAK, automatically: the arrival columns are part of D, so a u an arrival moves is not in the null space and never appears here.
-
Field Summary
FieldsModifier and TypeFieldDescription(nrows x nstate) conservation rows.One human-readable statement per row, for the report.doublemax|C D|: how far the rows fail to be invariants, and zero when they are.double[]The value each row holds, evaluated at the initial marking. -
Method Summary
Modifier and TypeMethodDescriptionstatic PetriConservationBuild the conservation rows of a term set.
-
Field Details
-
C
(nrows x nstate) conservation rows. -
N
public double[] NThe value each row holds, evaluated at the initial marking. -
leak
public double leakmax|C D|: how far the rows fail to be invariants, and zero when they are. -
label
One human-readable statement per row, for the report.
-
-
Method Details
-
conservation
Build the conservation rows of a term set.- Parameters:
t- the assembled terms- Returns:
- the rows, their values and their residual leak
-