model_test.xmi 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. <?xml version="1.0" encoding="ASCII"?>
  2. <hintco:HintConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:hintco="ua.ansymo.hintco">
  3. <candidates
  4. identifier="Original">
  5. <cosimunits
  6. xsi:type="hintco:CosimUnitInstance"
  7. identifier="Scenario"
  8. declaration="//@csuDeclarations.0">
  9. <ports
  10. xsi:type="hintco:OutputPortInstance"
  11. identifier="psuvolt"
  12. valueTo="//@candidates.0/@cosimunits.2/@ports.1"
  13. />
  14. <ports
  15. xsi:type="hintco:OutputPortInstance"
  16. identifier="ref"
  17. valueTo="//@candidates.0/@cosimunits.1/@ports.2"
  18. />
  19. </cosimunits>
  20. <cosimunits
  21. xsi:type="hintco:CosimUnitInstance"
  22. identifier="DLoopController_FixedEuler_1Em6"
  23. declaration="//@csuDeclarations.1">
  24. <adaptation
  25. xsi:type="hintco:MultiRateAdaptation"
  26. selected="true"
  27. rate="10"/>
  28. <ports
  29. xsi:type="hintco:InputPortInstance"
  30. identifier="VEL_FB@expseu_"
  31. valueFrom="//@candidates.0/@cosimunits.2/@ports.4"/>
  32. <ports
  33. xsi:type="hintco:InputPortInstance"
  34. identifier="POS_FB@expseu_"
  35. valueFrom="//@candidates.0/@cosimunits.3/@ports.1"/>
  36. <ports
  37. xsi:type="hintco:InputPortInstance"
  38. identifier="REFERENCE@expseu_"
  39. valueFrom="//@candidates.0/@cosimunits.0/@ports.1">
  40. <adaptation
  41. xsi:type="hintco:XorPortAdaptation"
  42. selected="true">
  43. <children
  44. xsi:type="hintco:ExtrapolationAdaptation"
  45. weight="1"
  46. selected="true"/>
  47. <children
  48. xsi:type="hintco:InterpolationAdaptation"
  49. weight="5"/>
  50. </adaptation>
  51. </ports>
  52. <ports
  53. xsi:type="hintco:OutputPortInstance"
  54. identifier="OUTPUT@expseu_"
  55. valueTo="//@candidates.0/@cosimunits.2/@ports.0"
  56. />
  57. </cosimunits>
  58. <cosimunits
  59. xsi:type="hintco:CosimUnitInstance"
  60. identifier="EMAPlantNoLoad_FixedEuler_1Em6"
  61. declaration="//@csuDeclarations.2">
  62. <adaptation
  63. xsi:type="hintco:XorUnitAdaptation"
  64. selected="true">
  65. <children
  66. xsi:type="hintco:MultiRateAdaptation"
  67. selected="true"
  68. rate="5"/>
  69. <children
  70. xsi:type="hintco:MultiRateAdaptation"
  71. rate="10"/>
  72. </adaptation>
  73. <ports
  74. xsi:type="hintco:InputPortInstance"
  75. identifier="torque_input@expseu_"
  76. valueFrom="//@candidates.0/@cosimunits.1/@ports.3">
  77. <adaptation
  78. xsi:type="hintco:XorPortAdaptation"
  79. selected="true">
  80. <children
  81. xsi:type="hintco:ExtrapolationAdaptation"
  82. weight="3"/>
  83. <children
  84. xsi:type="hintco:InterpolationAdaptation"
  85. weight="7"
  86. selected="true"/>
  87. </adaptation>
  88. </ports>
  89. <ports
  90. xsi:type="hintco:InputPortInstance"
  91. identifier="psu_vol_input_v@expseu_"
  92. valueFrom="//@candidates.0/@cosimunits.0/@ports.0"/>
  93. <ports
  94. xsi:type="hintco:InputPortInstance"
  95. identifier="V_IN@expseu_"
  96. valueFrom="//@candidates.0/@cosimunits.3/@ports.2"/>
  97. <ports
  98. xsi:type="hintco:InputPortInstance"
  99. identifier="X_IN@expseu_"
  100. valueFrom="//@candidates.0/@cosimunits.3/@ports.3"/>
  101. <ports
  102. xsi:type="hintco:OutputPortInstance"
  103. identifier="ang_vel_out_rpm@expseu_"
  104. valueTo="//@candidates.0/@cosimunits.1/@ports.0"
  105. />
  106. <ports
  107. xsi:type="hintco:OutputPortInstance"
  108. identifier="F_OUT@expseu_"
  109. valueTo="//@candidates.0/@cosimunits.3/@ports.0"
  110. />
  111. </cosimunits>
  112. <cosimunits
  113. xsi:type="hintco:CosimUnitInstance"
  114. identifier="LoadNSensor_FixedEuler_1Em6"
  115. declaration="//@csuDeclarations.3">
  116. <ports
  117. xsi:type="hintco:InputPortInstance"
  118. identifier="F_INPUT@expseu_"
  119. valueFrom="//@candidates.0/@cosimunits.2/@ports.5"/>
  120. <ports
  121. xsi:type="hintco:OutputPortInstance"
  122. identifier="X_AFTER_LOAD@expseu_"
  123. valueTo="//@candidates.0/@cosimunits.1/@ports.1"
  124. />
  125. <ports
  126. xsi:type="hintco:OutputPortInstance"
  127. identifier="V_OUTPUT@expseu_"
  128. valueTo="//@candidates.0/@cosimunits.2/@ports.2"
  129. />
  130. <ports
  131. xsi:type="hintco:OutputPortInstance"
  132. identifier="X_OUTPUT@expseu_"
  133. valueTo="//@candidates.0/@cosimunits.2/@ports.3"
  134. />
  135. </cosimunits>
  136. </candidates>
  137. <csuDeclarations
  138. identifier="Scenario">
  139. </csuDeclarations>
  140. <csuDeclarations
  141. identifier="DLoopController_FixedEuler_1Em6">
  142. </csuDeclarations>
  143. <csuDeclarations
  144. identifier="EMAPlantNoLoad_FixedEuler_1Em6">
  145. </csuDeclarations>
  146. <csuDeclarations
  147. identifier="LoadNSensor_FixedEuler_1Em6">
  148. </csuDeclarations>
  149. </hintco:HintConfiguration>