1 <?xml version="1.0" encoding="UTF-8"?>
\r
4 modelName="BouncingBall"
\r
5 generationTool="None"
\r
6 description="A bouncing ball model"
\r
8 numberOfEventIndicators="1">
\r
10 modelIdentifier="BouncingBall2"
\r
11 canHandleVariableCommunicationStepSize="true"
\r
14 <ScalarVariable name="HIGHT" valueReference="0" initial="exact" causality="output" description="Hight of the ball">
\r
15 <Real start="1.0" />
\r
17 <ScalarVariable name="HIGHT_SPEED" valueReference="1" initial="exact" description="Speed of the ball">
\r
18 <Real start="4.0" />
\r
20 <ScalarVariable name="HIGHT_SPEED alias" valueReference="1" description="Speed of the ball">
\r
23 <ScalarVariable name="HIGHT_ACC" valueReference="4" description="Speed of the ball">
\r
26 <ScalarVariable name="A variable" valueReference="100" initial="exact" description="Speed of the ball">
\r
27 <Real start="4.0" />
\r
29 <ScalarVariable name="GRAVITY" valueReference="2" description="Gravity constant" initial="exact">
\r
30 <Real start="-9.81"/>
\r
32 <ScalarVariable name="BOUNCE_COF" valueReference="3" initial="exact" description="Bouncing coefficient">
\r
33 <Real start="0.5" />
\r
35 <ScalarVariable name="LOGGER_TEST" valueReference="0" description="The logger will print the value of this variable when it is set.">
\r
38 <ScalarVariable name="LOGGER_TEST_INTEGER" valueReference="0" description="This is only used to test logger replace function #i0#">
\r
41 <ScalarVariable name="LOGGER_TEST_BOOLEAN" valueReference="0" description="This is only used to test logger replace function #b0#">
\r
44 <ScalarVariable name="LOGGER_TEST_DERIVATIVE" valueReference="10" description="This is to test that the derivative attribute may appear on any Real variables.">
\r
47 <ScalarVariable name="LOGGER_TEST_DERIVATIVE_DER" valueReference="11" variability="fixed" description="This is to test that the derivative attribute may appear on any Real variables.">
\r
48 <Real derivative="12"/>
\r
53 </fmiModelDescription>
\r