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
12 <ScalarVariable name="HIGHT" valueReference="0" description="Hight of the ball">
\r
13 <Real start="1.0" fixed="true"/>
\r
15 <ScalarVariable name="HIGHT_SPEED" valueReference="1" description="Speed of the ball">
\r
16 <Real start="4.0" fixed="true"/>
\r
18 <ScalarVariable name="GRAVITY" valueReference="2" description="Gravity constant">
\r
19 <Real start="-9.81"/>
\r
21 <ScalarVariable name="BOUNCE_COF" valueReference="3" description="Bouncing coefficient">
\r
22 <Real start="0.5" fixed="true"/>
\r
24 <ScalarVariable name="LOGGER_TEST" valueReference="0" description="The logger will print the value of this variable when it is set.">
\r
27 <ScalarVariable name="LOGGER_TEST_INTEGER" valueReference="0" description="This is only used to test logger replace function #i0#">
\r
30 <ScalarVariable name="LOGGER_TEST_BOOLEAN" valueReference="0" description="This is only used to test logger replace function #b0#">
\r
35 <CoSimulation_StandAlone>
\r
37 canHandleVariableCommunicationStepSize="true"/>
\r
38 </CoSimulation_StandAlone>
\r
40 </fmiModelDescription>
\r