~tapaal-dist-ctl/verifypn/verifypn-dist-ctl

« back to all changes in this revision

Viewing changes to Tests/TAPAAL-test-nets/000-untimed-extra-test-003-maintanance.xml

  • Committer: Jiri Srba
  • Date: 2014-03-05 07:02:55 UTC
  • mfrom: (40.1.68 reductions)
  • Revision ID: srba@cs.aau.dk-20140305070255-m06q3nl5p2o5wq9q
merged in a branch implementing -r switch
enabeling structural net reductions as preprocessing
for the verification

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
 
2
<pnml xmlns="http://www.informatik.hu-berlin.de/top/pnml/ptNetb">
 
3
<shared-transition name="startEngine"/>
 
4
<shared-transition name="SmallMaint"/>
 
5
<shared-transition name="SmallMaintDone"/>
 
6
<shared-transition name="LargeMaint"/>
 
7
<shared-transition name="LargeMaintDone"/>
 
8
<constant name="FailureInterval" value="10"/>
 
9
<constant name="LargeMaintananceDuration" value="2"/>
 
10
<constant name="LargeMaintananceInterval" value="7"/>
 
11
<constant name="SmallMaintananceDuration" value="1"/>
 
12
<constant name="SmallMaintananceInterval" value="4"/>
 
13
<constant name="EngineStartInterval" value="2"/>
 
14
<net active="true" id="EngineModel" type="P/T net">
 
15
<place id="Engines" initialMarking="0" invariant="&lt;= SmallMaintananceInterval" markingOffsetX="0.0" markingOffsetY="0.0" name="Engines" nameOffsetX="202.62500000000009" nameOffsetY="38.91666666666665" positionX="600.0" positionY="165.0"/>
 
16
<place id="SmallMaintanance" initialMarking="0" invariant="&lt;= LargeMaintananceInterval" markingOffsetX="0.0" markingOffsetY="0.0" name="SmallMaintanance" nameOffsetX="204.67045454545456" nameOffsetY="39.4085968379447" positionX="615.0" positionY="420.0"/>
 
17
<place id="LargeMaintanance" initialMarking="0" invariant="&lt;= FailureInterval" markingOffsetX="0.0" markingOffsetY="0.0" name="LargeMaintanance" nameOffsetX="150.11413043478262" nameOffsetY="14.516304347826086" positionX="615.0" positionY="690.0"/>
 
18
<place id="FailedEngines" initialMarking="0" invariant="&lt; inf" markingOffsetX="0.0" markingOffsetY="0.0" name="FailedEngines" nameOffsetX="50.0" nameOffsetY="42.125" positionX="615.0" positionY="855.0"/>
 
19
<place id="Working2" initialMarking="0" invariant="&lt;= SmallMaintananceDuration" markingOffsetX="0.0" markingOffsetY="0.0" name="Working2" nameOffsetX="213.04166666666666" nameOffsetY="8.708333333333325" positionX="960.0" positionY="285.0"/>
 
20
<place id="Working1and2" initialMarking="0" invariant="&lt;= LargeMaintananceDuration" markingOffsetX="0.0" markingOffsetY="0.0" name="Working1and2" nameOffsetX="219.29545454545456" nameOffsetY="13.863636363636374" positionX="315.0" positionY="405.0"/>
 
21
<transition angle="90" id="NeedsSmallMaintanance" infiniteServer="false" name="NeedsSmallMaintanance" nameOffsetX="159.25" nameOffsetY="20.625" positionX="615.0" positionY="285.0" priority="0"/>
 
22
<transition angle="90" id="NeedsLargeMaintanance" infiniteServer="false" name="NeedsLargeMaintanance" nameOffsetX="162.2863712374582" nameOffsetY="21.20443143812709" positionX="615.0" positionY="555.0" priority="0"/>
 
23
<transition angle="90" id="EngineFailing" infiniteServer="false" name="EngineFailing" nameOffsetX="105.125" nameOffsetY="20.875" positionX="615.0" positionY="780.0" priority="0"/>
 
24
<transition angle="180" id="SmallMaint" infiniteServer="false" name="SmallMaint" nameOffsetX="35.0" nameOffsetY="-11.875" positionX="750.0" positionY="420.0" priority="0"/>
 
25
<transition angle="0" id="SmallMaintDone" infiniteServer="false" name="SmallMaintDone" nameOffsetX="55.625" nameOffsetY="-10.625" positionX="750.0" positionY="165.0" priority="0"/>
 
26
<transition angle="180" id="LargeMaint" infiniteServer="false" name="LargeMaint" nameOffsetX="42.27355072463769" nameOffsetY="-12.192028985507235" positionX="465.0" positionY="690.0" priority="0"/>
 
27
<transition angle="270" id="startEngine" infiniteServer="false" name="startEngine" nameOffsetX="44.626262626262644" nameOffsetY="1.2424242424242493" positionX="600.0" positionY="120.0" priority="0"/>
 
28
<transition angle="0" id="LargeMaintDone" infiniteServer="false" name="LargeMaintDone" nameOffsetX="46.111111111111114" nameOffsetY="-6.111111111111115" positionX="465.0" positionY="165.0" priority="0"/>
 
29
<arc id="Engines to NeedsSmallMaintanance" inscription="[0,inf):1" source="Engines" target="NeedsSmallMaintanance" type="transport" weight="1">
 
30
<arcpath arcPointType="false" id="0" xCoord="613" yCoord="191"/>
 
31
<arcpath arcPointType="false" id="1" xCoord="626" yCoord="291"/>
 
32
</arc>
 
33
<arc id="NeedsSmallMaintanance to SmallMaintanance" inscription="[0,inf):1" source="NeedsSmallMaintanance" target="SmallMaintanance" type="transport" weight="1">
 
34
<arcpath arcPointType="false" id="0" xCoord="626" yCoord="301"/>
 
35
<arcpath arcPointType="false" id="1" xCoord="626" yCoord="417"/>
 
36
</arc>
 
37
<arc id="SmallMaintanance to NeedsLargeMaintanance" inscription="[0,inf):1" source="SmallMaintanance" target="NeedsLargeMaintanance" type="transport" weight="1">
 
38
<arcpath arcPointType="false" id="0" xCoord="626" yCoord="446"/>
 
39
<arcpath arcPointType="false" id="1" xCoord="626" yCoord="561"/>
 
40
</arc>
 
41
<arc id="NeedsLargeMaintanance to LargeMaintanance" inscription="[0,inf):1" source="NeedsLargeMaintanance" target="LargeMaintanance" type="transport" weight="1">
 
42
<arcpath arcPointType="false" id="0" xCoord="626" yCoord="571"/>
 
43
<arcpath arcPointType="false" id="1" xCoord="626" yCoord="687"/>
 
44
</arc>
 
45
<arc id="LargeMaintanance to EngineFailing" inscription="[0,inf)" source="LargeMaintanance" target="EngineFailing" type="timed" weight="1">
 
46
<arcpath arcPointType="false" id="0" xCoord="626" yCoord="716"/>
 
47
<arcpath arcPointType="false" id="1" xCoord="626" yCoord="786"/>
 
48
</arc>
 
49
<arc id="EngineFailing to FailedEngines" inscription="1" source="EngineFailing" target="FailedEngines" type="normal" weight="1">
 
50
<arcpath arcPointType="false" id="0" xCoord="626" yCoord="796"/>
 
51
<arcpath arcPointType="false" id="1" xCoord="626" yCoord="852"/>
 
52
</arc>
 
53
<arc id="SmallMaintanance to SmallMaintain2" inscription="[0,inf)" source="SmallMaintanance" target="SmallMaint" type="timed" weight="1">
 
54
<arcpath arcPointType="false" id="0" xCoord="641" yCoord="431"/>
 
55
<arcpath arcPointType="false" id="1" xCoord="757" yCoord="431"/>
 
56
</arc>
 
57
<arc id="SmallMaintain2 to Working2" inscription="1" source="SmallMaint" target="Working2" type="normal" weight="1">
 
58
<arcpath arcPointType="false" id="0" xCoord="767" yCoord="431"/>
 
59
<arcpath arcPointType="false" id="1" xCoord="965" yCoord="434"/>
 
60
<arcpath arcPointType="false" id="2" xCoord="971" yCoord="311"/>
 
61
</arc>
 
62
<arc id="Working2 to SmallDone2" inscription="[0,inf)" source="Working2" target="SmallMaintDone" type="timed" weight="1">
 
63
<arcpath arcPointType="false" id="0" xCoord="971" yCoord="282"/>
 
64
<arcpath arcPointType="false" id="1" xCoord="965" yCoord="182"/>
 
65
<arcpath arcPointType="false" id="2" xCoord="766" yCoord="177"/>
 
66
</arc>
 
67
<arc id="SmallDone2 to Engines" inscription="1" source="SmallMaintDone" target="Engines" type="normal" weight="1">
 
68
<arcpath arcPointType="false" id="0" xCoord="756" yCoord="177"/>
 
69
<arcpath arcPointType="false" id="1" xCoord="626" yCoord="177"/>
 
70
</arc>
 
71
<arc id="LargeMaintain to Working1and2" inscription="1" source="LargeMaint" target="Working1and2" type="normal" weight="1">
 
72
<arcpath arcPointType="false" id="0" xCoord="472" yCoord="701"/>
 
73
<arcpath arcPointType="false" id="1" xCoord="335" yCoord="698"/>
 
74
<arcpath arcPointType="false" id="2" xCoord="327" yCoord="431"/>
 
75
</arc>
 
76
<arc id="startEngine to Engines" inscription="1" source="startEngine" target="Engines" type="normal" weight="1">
 
77
<arcpath arcPointType="false" id="0" xCoord="612" yCoord="137"/>
 
78
<arcpath arcPointType="false" id="1" xCoord="612" yCoord="162"/>
 
79
</arc>
 
80
<arc id="LargeMaintanance to LargeMaintain" inscription="[0,inf)" source="LargeMaintanance" target="LargeMaint" type="timed" weight="1">
 
81
<arcpath arcPointType="false" id="0" xCoord="612" yCoord="701"/>
 
82
<arcpath arcPointType="false" id="1" xCoord="482" yCoord="701"/>
 
83
</arc>
 
84
<arc id="Working1and2 to T0" inscription="[0,inf)" source="Working1and2" target="LargeMaintDone" type="timed" weight="1">
 
85
<arcpath arcPointType="false" id="0" xCoord="327" yCoord="402"/>
 
86
<arcpath arcPointType="false" id="1" xCoord="335" yCoord="183"/>
 
87
<arcpath arcPointType="false" id="2" xCoord="471" yCoord="177"/>
 
88
</arc>
 
89
<arc id="T0 to Engines" inscription="1" source="LargeMaintDone" target="Engines" type="normal" weight="1">
 
90
<arcpath arcPointType="false" id="0" xCoord="481" yCoord="177"/>
 
91
<arcpath arcPointType="false" id="1" xCoord="597" yCoord="177"/>
 
92
</arc>
 
93
</net>
 
94
<net active="true" id="EngineFlow" type="P/T net">
 
95
<place id="EngineStartTimer" initialMarking="1" invariant="&lt;= EngineStartInterval" markingOffsetX="0.0" markingOffsetY="0.0" name="EngineStartTimer" nameOffsetX="117.0" nameOffsetY="43.0" positionX="540.0" positionY="210.0"/>
 
96
<place id="EnginesIdle" initialMarking="55" invariant="&lt; inf" markingOffsetX="0.0" markingOffsetY="0.0" name="EnginesIdle" nameOffsetX="49.0" nameOffsetY="-1.0" positionX="810.0" positionY="75.0"/>
 
97
<transition angle="90" id="startEngine" infiniteServer="false" name="startEngine" nameOffsetX="46.0" nameOffsetY="38.0" positionX="810.0" positionY="210.0" priority="0"/>
 
98
<transition angle="180" id="NoMoreToStart" infiniteServer="false" name="NoMoreToStart" nameOffsetX="-5.0" nameOffsetY="35.0" positionX="540.0" positionY="75.0" priority="0"/>
 
99
<arc id="P0 to startEngine" inscription="[0,inf)" source="EngineStartTimer" target="startEngine" type="timed" weight="1">
 
100
<arcpath arcPointType="false" id="0" xCoord="573" yCoord="219"/>
 
101
<arcpath arcPointType="false" id="1" xCoord="696" yCoord="193"/>
 
102
<arcpath arcPointType="false" id="2" xCoord="806" yCoord="222"/>
 
103
</arc>
 
104
<arc id="startEngine to P0" inscription="1" source="startEngine" target="EngineStartTimer" type="normal" weight="1">
 
105
<arcpath arcPointType="false" id="0" xCoord="806" yCoord="222"/>
 
106
<arcpath arcPointType="false" id="1" xCoord="573" yCoord="222"/>
 
107
</arc>
 
108
<arc id="EnginesIdle to startEngine" inscription="[0,inf)" source="EnginesIdle" target="startEngine" type="timed" weight="1">
 
109
<arcpath arcPointType="false" id="0" xCoord="827" yCoord="108"/>
 
110
<arcpath arcPointType="false" id="1" xCoord="827" yCoord="216"/>
 
111
</arc>
 
112
<arc id="EnginesIdle to T1" inscription="[0,inf)" source="EnginesIdle" target="NoMoreToStart" type="tapnInhibitor" weight="1">
 
113
<arcpath arcPointType="false" id="0" xCoord="813" yCoord="93"/>
 
114
<arcpath arcPointType="false" id="1" xCoord="557" yCoord="86"/>
 
115
</arc>
 
116
<arc id="P0 to T1" inscription="[0,inf)" source="EngineStartTimer" target="NoMoreToStart" type="timed" weight="1">
 
117
<arcpath arcPointType="false" id="0" xCoord="559" yCoord="208"/>
 
118
<arcpath arcPointType="false" id="1" xCoord="559" yCoord="108"/>
 
119
</arc>
 
120
</net>
 
121
<net active="true" id="WorkerModel" type="P/T net">
 
122
<place id="WorkerOneReadyForLarge" initialMarking="0" invariant="&lt; inf" markingOffsetX="0.0" markingOffsetY="0.0" name="WorkerOneReadyForLarge" nameOffsetX="172.0" nameOffsetY="26.0" positionX="945.0" positionY="495.0"/>
 
123
<place id="WorkerTwoReadyForLarge" initialMarking="0" invariant="&lt; inf" markingOffsetX="0.0" markingOffsetY="0.0" name="WorkerTwoReadyForLarge" nameOffsetX="-4.0" nameOffsetY="19.0" positionX="585.0" positionY="495.0"/>
 
124
<place id="OneWorkerSmailMaint" initialMarking="0" invariant="&lt;= SmallMaintananceDuration" markingOffsetX="0.0" markingOffsetY="0.0" name="OneWorkerSmailMaint" nameOffsetX="214.0" nameOffsetY="15.0" positionX="765.0" positionY="225.0"/>
 
125
<place id="TwoWorkingLargeMaint" initialMarking="0" invariant="&lt;= LargeMaintananceDuration" markingOffsetX="0.0" markingOffsetY="0.0" name="TwoWorkingLargeMaint" nameOffsetX="128.54545454545456" nameOffsetY="51.363636363636374" positionX="765.0" positionY="660.0"/>
 
126
<place id="Workers" initialMarking="15" invariant="&lt; inf" markingOffsetX="0.0" markingOffsetY="0.0" name="Workers" nameOffsetX="34.0" nameOffsetY="45.0" positionX="765.0" positionY="390.0"/>
 
127
<transition angle="270" id="SmallMaint" infiniteServer="false" name="SmallMaint" nameOffsetX="45.0" nameOffsetY="2.0" positionX="765.0" positionY="90.0" priority="0"/>
 
128
<transition angle="270" id="SmallMaintDone" infiniteServer="false" name="SmallMaintDone" nameOffsetX="120.0" nameOffsetY="22.0" positionX="765.0" positionY="315.0" priority="0"/>
 
129
<transition angle="270" id="LargeMaint" infiniteServer="false" name="LargeMaint" nameOffsetX="44.0" nameOffsetY="38.0" positionX="765.0" positionY="840.0" priority="0"/>
 
130
<transition angle="0" id="LargeMaintDone" infiniteServer="false" name="LargeMaintDone" nameOffsetX="-5.0" nameOffsetY="35.0" positionX="765.0" positionY="495.0" priority="0"/>
 
131
<transition angle="45" id="WorkerOneEnterCoOpZone" infiniteServer="false" name="WorkerOneEnterCoOpZone" nameOffsetX="20.0" nameOffsetY="42.0" positionX="915.0" positionY="420.0" priority="0"/>
 
132
<transition angle="225" id="WorkerOneLeaveCoOpZone" infiniteServer="false" name="WorkerOneLeaveCoOpZone" nameOffsetX="170.0" nameOffsetY="5.0" positionX="945.0" positionY="390.0" priority="0"/>
 
133
<transition angle="135" id="WorkerTwoEnterCoOpZone" infiniteServer="false" name="WorkerTwoEnterCoOpZone" nameOffsetX="148.0" nameOffsetY="40.0" positionX="630.0" positionY="420.0" priority="0"/>
 
134
<transition angle="135" id="WorkerTwoLeaveCoOpZone" infiniteServer="false" name="WorkerTwoLeaveCoOpZone" nameOffsetX="-2.0" nameOffsetY="4.0" positionX="585.0" positionY="390.0" priority="0"/>
 
135
<arc id="SmallMaintain2 to Working2" inscription="1" source="SmallMaint" target="OneWorkerSmailMaint" type="normal" weight="1">
 
136
<arcpath arcPointType="false" id="0" xCoord="782" yCoord="107"/>
 
137
<arcpath arcPointType="false" id="1" xCoord="777" yCoord="222"/>
 
138
</arc>
 
139
<arc id="Working2 to SmallDone2" inscription="[0,inf)" source="OneWorkerSmailMaint" target="SmallMaintDone" type="timed" weight="1">
 
140
<arcpath arcPointType="false" id="0" xCoord="777" yCoord="251"/>
 
141
<arcpath arcPointType="false" id="1" xCoord="777" yCoord="322"/>
 
142
</arc>
 
143
<arc id="LargeMaintain to Working1and2" inscription="1" source="LargeMaint" target="TwoWorkingLargeMaint" type="normal" weight="1">
 
144
<arcpath arcPointType="false" id="0" xCoord="777" yCoord="847"/>
 
145
<arcpath arcPointType="false" id="1" xCoord="777" yCoord="687"/>
 
146
</arc>
 
147
<arc id="Working1and2 to LargeDone" inscription="[0,inf)" source="TwoWorkingLargeMaint" target="LargeMaintDone" type="timed" weight="1">
 
148
<arcpath arcPointType="false" id="0" xCoord="777" yCoord="657"/>
 
149
<arcpath arcPointType="false" id="1" xCoord="777" yCoord="522"/>
 
150
</arc>
 
151
<arc id="Worker2 to LargeMaintain" inscription="[0,inf)" source="WorkerTwoReadyForLarge" target="LargeMaint" type="timed" weight="1">
 
152
<arcpath arcPointType="false" id="0" xCoord="597" yCoord="521"/>
 
153
<arcpath arcPointType="false" id="1" xCoord="601" yCoord="858"/>
 
154
<arcpath arcPointType="false" id="2" xCoord="762" yCoord="851"/>
 
155
</arc>
 
156
<arc id="Worker1 to LargeMaintain" inscription="[0,inf)" source="WorkerOneReadyForLarge" target="LargeMaint" type="timed" weight="1">
 
157
<arcpath arcPointType="false" id="0" xCoord="957" yCoord="521"/>
 
158
<arcpath arcPointType="false" id="1" xCoord="959" yCoord="858"/>
 
159
<arcpath arcPointType="false" id="2" xCoord="792" yCoord="851"/>
 
160
</arc>
 
161
<arc id="Workers to SmallMaintain2" inscription="[0,inf)" source="Workers" target="SmallMaint" type="timed" weight="1">
 
162
<arcpath arcPointType="false" id="0" xCoord="764" yCoord="393"/>
 
163
<arcpath arcPointType="false" id="1" xCoord="638" yCoord="302"/>
 
164
<arcpath arcPointType="false" id="2" xCoord="638" yCoord="198"/>
 
165
<arcpath arcPointType="false" id="3" xCoord="772" yCoord="106"/>
 
166
</arc>
 
167
<arc id="LargeDone to Worker1" inscription="1" source="LargeMaintDone" target="WorkerOneReadyForLarge" type="normal" weight="1">
 
168
<arcpath arcPointType="false" id="0" xCoord="781" yCoord="507"/>
 
169
<arcpath arcPointType="false" id="1" xCoord="942" yCoord="507"/>
 
170
</arc>
 
171
<arc id="LargeDone to Worker2" inscription="1" source="LargeMaintDone" target="WorkerTwoReadyForLarge" type="normal" weight="1">
 
172
<arcpath arcPointType="false" id="0" xCoord="771" yCoord="507"/>
 
173
<arcpath arcPointType="false" id="1" xCoord="611" yCoord="507"/>
 
174
</arc>
 
175
<arc id="SmallDone2 to Workers" inscription="1" source="SmallMaintDone" target="Workers" type="normal" weight="1">
 
176
<arcpath arcPointType="false" id="0" xCoord="777" yCoord="332"/>
 
177
<arcpath arcPointType="false" id="1" xCoord="777" yCoord="387"/>
 
178
</arc>
 
179
<arc id="Workers to T3" inscription="[0,inf)" source="Workers" target="WorkerOneEnterCoOpZone" type="timed" weight="1">
 
180
<arcpath arcPointType="false" id="0" xCoord="791" yCoord="404"/>
 
181
<arcpath arcPointType="false" id="1" xCoord="922" yCoord="428"/>
 
182
</arc>
 
183
<arc id="T3 to Worker1" inscription="1" source="WorkerOneEnterCoOpZone" target="WorkerOneReadyForLarge" type="normal" weight="1">
 
184
<arcpath arcPointType="false" id="0" xCoord="930" yCoord="435"/>
 
185
<arcpath arcPointType="false" id="1" xCoord="951" yCoord="492"/>
 
186
</arc>
 
187
<arc id="Worker1 to T4" inscription="[0,inf)" source="WorkerOneReadyForLarge" target="WorkerOneLeaveCoOpZone" type="timed" weight="1">
 
188
<arcpath arcPointType="false" id="0" xCoord="957" yCoord="492"/>
 
189
<arcpath arcPointType="false" id="1" xCoord="961" yCoord="405"/>
 
190
</arc>
 
191
<arc id="T4 to Workers" inscription="1" source="WorkerOneLeaveCoOpZone" target="Workers" type="normal" weight="1">
 
192
<arcpath arcPointType="false" id="0" xCoord="953" yCoord="398"/>
 
193
<arcpath arcPointType="false" id="1" xCoord="791" yCoord="401"/>
 
194
</arc>
 
195
<arc id="Workers to T5" inscription="[0,inf)" source="Workers" target="WorkerTwoEnterCoOpZone" type="timed" weight="1">
 
196
<arcpath arcPointType="false" id="0" xCoord="762" yCoord="404"/>
 
197
<arcpath arcPointType="false" id="1" xCoord="645" yCoord="427"/>
 
198
</arc>
 
199
<arc id="T5 to Worker2" inscription="1" source="WorkerTwoEnterCoOpZone" target="WorkerTwoReadyForLarge" type="normal" weight="1">
 
200
<arcpath arcPointType="false" id="0" xCoord="638" yCoord="435"/>
 
201
<arcpath arcPointType="false" id="1" xCoord="604" yCoord="494"/>
 
202
</arc>
 
203
<arc id="Worker2 to T6" inscription="[0,inf)" source="WorkerTwoReadyForLarge" target="WorkerTwoLeaveCoOpZone" type="timed" weight="1">
 
204
<arcpath arcPointType="false" id="0" xCoord="596" yCoord="492"/>
 
205
<arcpath arcPointType="false" id="1" xCoord="593" yCoord="405"/>
 
206
</arc>
 
207
<arc id="T6 to Workers" inscription="1" source="WorkerTwoLeaveCoOpZone" target="Workers" type="normal" weight="1">
 
208
<arcpath arcPointType="false" id="0" xCoord="600" yCoord="397"/>
 
209
<arcpath arcPointType="false" id="1" xCoord="762" yCoord="401"/>
 
210
</arc>
 
211
</net>
 
212
<query active="true" capacity="0" discreteInclusion="false" extrapolationOption="null" hashTableSize="null" inclusionPlaces="*NONE*" name="TRUE" query="EG EngineModel.FailedEngines=0" reductionOption="VerifyTAPNdiscreteVerification" searchOption="DFS" symmetry="true" traceOption="NONE"/>
 
213
</pnml>