]> gerrit.simantics Code Review - simantics/fmil.git/blob - org.simantics.fmil.core/native/FMILibrary/Test/FMI1/fmu_dummy/modelDescription_cs_tc.xml
Merge remote-tracking branch 'origin/master' into release/1.35.1
[simantics/fmil.git] / org.simantics.fmil.core / native / FMILibrary / Test / FMI1 / fmu_dummy / modelDescription_cs_tc.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>\r
2 <fmiModelDescription\r
3   fmiVersion="1.0"\r
4   modelName="BouncingBall"\r
5   modelIdentifier="BouncingBall"\r
6   generationTool="None"\r
7   description="A bouncing ball model"\r
8   guid="123"\r
9   numberOfContinuousStates="2"\r
10   numberOfEventIndicators="1">\r
11 <TypeDefinitions>\r
12     <Type\r
13     name="IntegerType">\r
14       <IntegerType min="2" max="22"/>\r
15     </Type>\r
16   <Type\r
17     name="EnumerationType">\r
18     <EnumerationType min="1" max="5">\r
19       <Item name="n1"/>\r
20       <Item name="n2"/>\r
21       <Item name="n3"/>\r
22       <Item name="n4"/>\r
23       <Item name="n5"/>\r
24     </EnumerationType>\r
25   </Type>\r
26 </TypeDefinitions>\r
27 <ModelVariables>\r
28   <ScalarVariable name="HIGHT" valueReference="0" description="Hight of the ball">\r
29      <Real start="1.0" fixed="true"/>\r
30   </ScalarVariable>\r
31   <ScalarVariable name="HIGHT_SPEED" valueReference="1" description="Speed of the ball">\r
32      <Real start="4.0" fixed="true"/>\r
33   </ScalarVariable> \r
34   <ScalarVariable name="GRAVITY" valueReference="2" description="Gravity constant">\r
35      <Real start="-9.81"/>\r
36   </ScalarVariable>\r
37   <ScalarVariable name="BOUNCE_COF" valueReference="3" description="Bouncing coefficient">\r
38      <Real start="0.5" fixed="true"/>\r
39   </ScalarVariable>\r
40   <ScalarVariable name="LOGGER_TEST" valueReference="0" description="The logger will print the value of this variable when it is set.">\r
41      <String/>\r
42   </ScalarVariable>\r
43     <ScalarVariable name="LOGGER_TEST_INTEGER" valueReference="0" description="This is only used to test logger replace function #i0#">\r
44      <Integer/>\r
45   </ScalarVariable>  \r
46     <ScalarVariable name="LOGGER_TEST_BOOLEAN" valueReference="0" description="This is only used to test logger replace function #b0#">\r
47      <Boolean/>\r
48   </ScalarVariable>\r
49   <ScalarVariable name="INTEGER" valueReference="1">\r
50      <Integer min="1" max="11"/>\r
51   </ScalarVariable>\r
52   <ScalarVariable name="INTEGER_DECLAREDTYPE" valueReference="2">\r
53      <Integer declaredType="IntegerType"/>\r
54   </ScalarVariable>\r
55   <ScalarVariable name="INTEGER_DECLAREDTYPE_OVERWRITE" valueReference="3">\r
56     <Integer declaredType="IntegerType" min="1" max="11"/>\r
57   </ScalarVariable>\r
58   <ScalarVariable name="ENUMERATION_DECLAREDTYPE" valueReference="4">\r
59     <Enumeration declaredType="EnumerationType"/>\r
60   </ScalarVariable>\r
61   <ScalarVariable name="ENUMERATION_DECLAREDTYPE_OVERWRITE" valueReference="5">\r
62     <Enumeration declaredType="EnumerationType" min="2" max="3"/>\r
63   </ScalarVariable>\r
64 </ModelVariables>\r
65 <Implementation>\r
66   <CoSimulation_Tool>\r
67     <Capabilities\r
68       canHandleVariableCommunicationStepSize="true"/>\r
69         <Model entryPoint="http://www.jmodelica.org" type="application/x-fmu-sharedlibrary">\r
70                 <File file="file://C/tmp"/>\r
71         </Model>\r
72   </CoSimulation_Tool>\r
73 </Implementation>\r
74 </fmiModelDescription>\r
75 \r