1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <dae xmlns:p1="http://www.w3.org/1998/Math/MathML"
|
---|
3 | xmlns:xlink="http://www.w3.org/1999/xlink"
|
---|
4 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
---|
5 | xsi:noNamespaceSchemaLocation="http://home.dei.polimi.it/donida/Projects/AutoEdit/Images/DAE.xsd">
|
---|
6 | <variables dimension="4">
|
---|
7 | <orderedVariables dimension="2">
|
---|
8 | <variablesList>
|
---|
9 | <variable id="1" name="x" variability="continuous" direction="none" type="Real" index="-1" origName="x" fixed="false" flow="NonConnector" stream="NonStreamConnector" comment="evaluated to 0 if A < B">
|
---|
10 | <classesNames>
|
---|
11 | <element>
|
---|
12 | Test
|
---|
13 | </element>
|
---|
14 | </classesNames>
|
---|
15 | </variable>
|
---|
16 | <variable id="2" name="$dummy" variability="continuousState" direction="none" type="Real" index="-1" origName="$dummy" fixed="true" flow="NonConnector" stream="NonStream">
|
---|
17 | <attributesValues>
|
---|
18 | <fixed string="true">
|
---|
19 | </fixed>
|
---|
20 | </attributesValues>
|
---|
21 | </variable>
|
---|
22 | </variablesList>
|
---|
23 | </orderedVariables>
|
---|
24 | <knownVariables dimension="2">
|
---|
25 | <variablesList>
|
---|
26 | <variable id="1" name="B" variability="parameter" direction="none" type="Real" index="-1" origName="B" fixed="true" flow="NonConnector" stream="NonStreamConnector">
|
---|
27 | <classesNames>
|
---|
28 | <element>
|
---|
29 | Test
|
---|
30 | </element>
|
---|
31 | </classesNames>
|
---|
32 | </variable>
|
---|
33 | <variable id="2" name="A" variability="parameter" direction="none" type="Real" index="-1" origName="A" fixed="true" flow="NonConnector" stream="NonStreamConnector">
|
---|
34 | <classesNames>
|
---|
35 | <element>
|
---|
36 | Test
|
---|
37 | </element>
|
---|
38 | </classesNames>
|
---|
39 | </variable>
|
---|
40 | </variablesList>
|
---|
41 | </knownVariables>
|
---|
42 | </variables>
|
---|
43 | <equations dimension="2">
|
---|
44 | <equation id="1">x = Real(if A < B then 0 else 1)
|
---|
45 | </equation>
|
---|
46 | <equation id="2">der($dummy) = 0.0
|
---|
47 | </equation>
|
---|
48 | </equations>
|
---|
49 | </dae>
|
---|