forked from modelica/Reference-FMUs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFMI1CS.xml
34 lines (30 loc) · 1.28 KB
/
FMI1CS.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?xml version="1.0" encoding="ISO-8859-1"?>
<fmiModelDescription
fmiVersion="1.0"
modelName="BouncingBall"
modelIdentifier="BouncingBall"
description="This model calculates the trajectory, over time, of a ball dropped from a height of 1 m."
guid="{8c4e810f-3df3-4a00-8276-176fa3c9f003}"
numberOfContinuousStates="2"
numberOfEventIndicators="1">
<DefaultExperiment startTime="0" stopTime="3"/>
<ModelVariables>
<ScalarVariable name="h" valueReference="0" causality="output" description="Position of the ball">
<Real start="1" fixed="true"/>
</ScalarVariable>
<ScalarVariable name="v" valueReference="1" causality="output" description="Velocity of the ball">
<Real/>
</ScalarVariable>
<ScalarVariable name="g" valueReference="2" variability="parameter" description="Gravity acting on the ball">
<Real start="-9.81" fixed="true"/>
</ScalarVariable>
<ScalarVariable name="e" valueReference="3" variability="parameter" description="Coefficient of restitution">
<Real start="0.7"/>
</ScalarVariable>
</ModelVariables>
<Implementation>
<CoSimulation_StandAlone>
<Capabilities canHandleVariableCommunicationStepSize="true" canHandleEvents="true"/>
</CoSimulation_StandAlone>
</Implementation>
</fmiModelDescription>