1 <?xml version="1.0" encoding="ISO-8859-1"?>
\r
4 modelName="BouncingBall"
\r
5 modelIdentifier="BouncingBall"
\r
6 generationTool="None"
\r
7 description="A bouncing ball model"
\r
9 numberOfContinuousStates="2"
\r
10 numberOfEventIndicators="1">
\r
14 <IntegerType min="2" max="22"/>
\r
17 name="EnumerationType">
\r
18 <EnumerationType min="1" max="5">
\r
28 <ScalarVariable name="HIGHT" valueReference="0" description="Hight of the ball">
\r
29 <Real start="1.0" fixed="true"/>
\r
31 <ScalarVariable name="HIGHT_SPEED" valueReference="1" description="Speed of the ball">
\r
32 <Real start="4.0" fixed="true"/>
\r
34 <ScalarVariable name="GRAVITY" valueReference="2" description="Gravity constant">
\r
35 <Real start="-9.81"/>
\r
37 <ScalarVariable name="BOUNCE_COF" valueReference="3" description="Bouncing coefficient">
\r
38 <Real start="0.5" fixed="true"/>
\r
40 <ScalarVariable name="LOGGER_TEST" valueReference="0" description="The logger will print the value of this variable when it is set.">
\r
43 <ScalarVariable name="LOGGER_TEST_INTEGER" valueReference="0" description="This is only used to test logger replace function #i0#">
\r
46 <ScalarVariable name="LOGGER_TEST_BOOLEAN" valueReference="0" description="This is only used to test logger replace function #b0#">
\r
49 <ScalarVariable name="INTEGER" valueReference="1">
\r
50 <Integer min="1" max="11"/>
\r
52 <ScalarVariable name="INTEGER_DECLAREDTYPE" valueReference="2">
\r
53 <Integer declaredType="IntegerType"/>
\r
55 <ScalarVariable name="INTEGER_DECLAREDTYPE_OVERWRITE" valueReference="3">
\r
56 <Integer declaredType="IntegerType" min="1" max="11"/>
\r
58 <ScalarVariable name="ENUMERATION_DECLAREDTYPE" valueReference="4">
\r
59 <Enumeration declaredType="EnumerationType"/>
\r
61 <ScalarVariable name="ENUMERATION_DECLAREDTYPE_OVERWRITE" valueReference="5">
\r
62 <Enumeration declaredType="EnumerationType" min="2" max="3"/>
\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
72 </CoSimulation_Tool>
\r
74 </fmiModelDescription>
\r