| 1 | <?xml version="1.0" encoding="UTF-8"?>
|
|---|
| 2 | <fmiModelDescription
|
|---|
| 3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|---|
| 4 | fmiVersion="2.0"
|
|---|
| 5 | modelName="TestFMU"
|
|---|
| 6 | guid="{a237f4b6-ff53-4367-bf8d-3dd6eba7f607}"
|
|---|
| 7 | generationTool="Dymola Version 2021 (64-bit), 2020-05-13"
|
|---|
| 8 | generationDateAndTime="2020-12-13T18:14:13Z"
|
|---|
| 9 | variableNamingConvention="structured"
|
|---|
| 10 | numberOfEventIndicators="0">
|
|---|
| 11 | <ModelExchange
|
|---|
| 12 | modelIdentifier="TestFMU"
|
|---|
| 13 | canGetAndSetFMUstate="true"
|
|---|
| 14 | canSerializeFMUstate="true"
|
|---|
| 15 | providesDirectionalDerivative="true"/>
|
|---|
| 16 | <UnitDefinitions>
|
|---|
| 17 | <Unit
|
|---|
| 18 | name="1"/>
|
|---|
| 19 | </UnitDefinitions>
|
|---|
| 20 | <TypeDefinitions>
|
|---|
| 21 | <SimpleType
|
|---|
| 22 | name="Modelica.Blocks.Interfaces.RealInput">
|
|---|
| 23 | <Real/>
|
|---|
| 24 | </SimpleType>
|
|---|
| 25 | <SimpleType
|
|---|
| 26 | name="Modelica.Blocks.Interfaces.RealOutput">
|
|---|
| 27 | <Real/>
|
|---|
| 28 | </SimpleType>
|
|---|
| 29 | </TypeDefinitions>
|
|---|
| 30 | <DefaultExperiment startTime="0.0"
|
|---|
| 31 | stopTime="1.0"
|
|---|
| 32 | tolerance="0.0001"/>
|
|---|
| 33 | <ModelVariables>
|
|---|
| 34 | <!-- Index for next variable = 1 -->
|
|---|
| 35 | <ScalarVariable
|
|---|
| 36 | name="K"
|
|---|
| 37 | valueReference="16777216"
|
|---|
| 38 | causality="parameter"
|
|---|
| 39 | variability="tunable">
|
|---|
| 40 | <Real start="1"/>
|
|---|
| 41 | </ScalarVariable>
|
|---|
| 42 | <!-- Index for next variable = 2 -->
|
|---|
| 43 | <ScalarVariable
|
|---|
| 44 | name="u"
|
|---|
| 45 | valueReference="352321536"
|
|---|
| 46 | causality="input">
|
|---|
| 47 | <Real
|
|---|
| 48 | declaredType="Modelica.Blocks.Interfaces.RealInput"
|
|---|
| 49 | start="0.0"/>
|
|---|
| 50 | </ScalarVariable>
|
|---|
| 51 | <!-- Index for next variable = 3 -->
|
|---|
| 52 | <ScalarVariable
|
|---|
| 53 | name="y"
|
|---|
| 54 | valueReference="335544320"
|
|---|
| 55 | causality="output">
|
|---|
| 56 | <Real
|
|---|
| 57 | declaredType="Modelica.Blocks.Interfaces.RealOutput"/>
|
|---|
| 58 | </ScalarVariable>
|
|---|
| 59 | <!-- Index for next variable = 4 -->
|
|---|
| 60 | <ScalarVariable
|
|---|
| 61 | name="gain1.k"
|
|---|
| 62 | valueReference="100663296"
|
|---|
| 63 | description="Gain value multiplied with input signal"
|
|---|
| 64 | variability="tunable">
|
|---|
| 65 | <Real
|
|---|
| 66 | unit="1"/>
|
|---|
| 67 | </ScalarVariable>
|
|---|
| 68 | <!-- Index for next variable = 5 -->
|
|---|
| 69 | <ScalarVariable
|
|---|
| 70 | name="gain1.u"
|
|---|
| 71 | valueReference="436207616"
|
|---|
| 72 | description="Input signal connector">
|
|---|
| 73 | <Real
|
|---|
| 74 | declaredType="Modelica.Blocks.Interfaces.RealInput"/>
|
|---|
| 75 | </ScalarVariable>
|
|---|
| 76 | <!-- Index for next variable = 6 -->
|
|---|
| 77 | <ScalarVariable
|
|---|
| 78 | name="gain1.y"
|
|---|
| 79 | valueReference="369098753"
|
|---|
| 80 | description="Output signal connector">
|
|---|
| 81 | <Real
|
|---|
| 82 | declaredType="Modelica.Blocks.Interfaces.RealOutput"/>
|
|---|
| 83 | </ScalarVariable>
|
|---|
| 84 | <!-- Index for next variable = 7 -->
|
|---|
| 85 | <ScalarVariable
|
|---|
| 86 | name="gain.k"
|
|---|
| 87 | valueReference="16777217"
|
|---|
| 88 | description="Gain value multiplied with input signal"
|
|---|
| 89 | causality="parameter"
|
|---|
| 90 | variability="tunable">
|
|---|
| 91 | <Real
|
|---|
| 92 | unit="1"
|
|---|
| 93 | start="1"/>
|
|---|
| 94 | </ScalarVariable>
|
|---|
| 95 | <!-- Index for next variable = 8 -->
|
|---|
| 96 | <ScalarVariable
|
|---|
| 97 | name="gain.u"
|
|---|
| 98 | valueReference="369098753"
|
|---|
| 99 | description="Input signal connector">
|
|---|
| 100 | <Real
|
|---|
| 101 | declaredType="Modelica.Blocks.Interfaces.RealInput"/>
|
|---|
| 102 | </ScalarVariable>
|
|---|
| 103 | <!-- Index for next variable = 9 -->
|
|---|
| 104 | <ScalarVariable
|
|---|
| 105 | name="gain.y"
|
|---|
| 106 | valueReference="335544320"
|
|---|
| 107 | description="Output signal connector">
|
|---|
| 108 | <Real
|
|---|
| 109 | declaredType="Modelica.Blocks.Interfaces.RealOutput"/>
|
|---|
| 110 | </ScalarVariable>
|
|---|
| 111 | </ModelVariables>
|
|---|
| 112 | <ModelStructure>
|
|---|
| 113 | <Outputs>
|
|---|
| 114 | <Unknown index="3"
|
|---|
| 115 | dependencies="2"
|
|---|
| 116 | dependenciesKind="fixed"/>
|
|---|
| 117 | </Outputs>
|
|---|
| 118 | <InitialUnknowns>
|
|---|
| 119 | <Unknown index="3"
|
|---|
| 120 | dependencies="1 2 7"
|
|---|
| 121 | dependenciesKind="dependent dependent dependent"/>
|
|---|
| 122 | </InitialUnknowns>
|
|---|
| 123 | </ModelStructure>
|
|---|
| 124 | </fmiModelDescription>
|
|---|