modelDescription.xml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <fmiModelDescription
  3. fmiVersion="2.0"
  4. modelName="PW_Controller"
  5. guid='{f4893318-1565-4931-b8c8-8a19fb3fcfda}'
  6. numberOfEventIndicators="1">
  7. <CoSimulation
  8. modelIdentifier="PW_Controller"
  9. canHandleVariableCommunicationStepSize="true"/>
  10. <LogCategories>
  11. <Category name="logAll"/>
  12. <Category name="logError"/>
  13. <Category name="logFmiCall"/>
  14. <Category name="logEvent"/>
  15. </LogCategories>
  16. <ModelVariables>
  17. <ScalarVariable name="driver_up" valueReference="0" description="driver push up button = 1; no push = 0"
  18. causality="input" variability="enum" initial="exact">
  19. <Boolean start="0"/>
  20. </ScalarVariable>
  21. <ScalarVariable name="driver_down" valueReference="1" description="driver push down button = 1"
  22. causality="input" variability="discrete" initial="exact">
  23. <Boolean start="0"/>
  24. </ScalarVariable>
  25. <ScalarVariable name="driver_up_stop" valueReference="2" description="driver stops push up button = 1"
  26. causality="input" variability="discrete" initial="exact">
  27. <Boolean start="0"/>
  28. </ScalarVariable>
  29. <ScalarVariable name="driver_down_stop" valueReference="3" description="driver stops push down button = 1"
  30. causality="input" variability="discrete" initial="exact">
  31. <Boolean start="0"/>
  32. </ScalarVariable>
  33. <ScalarVariable name="passenger_up" valueReference="4" description="passenger push up button = 1"
  34. causality="input" variability="discrete" initial="exact">
  35. <Boolean start="0"/>
  36. </ScalarVariable>
  37. <ScalarVariable name="passenger_down" valueReference="5" description="passenger push down button = 1"
  38. causality="input" variability="discrete" initial="exact">
  39. <Boolean start="0"/>
  40. </ScalarVariable>
  41. <ScalarVariable name="passenger_up_stop" valueReference="6" description="passenger stop push up button = 1"
  42. causality="input" variability="discrete" initial="exact">
  43. <Boolean start="0"/>
  44. </ScalarVariable>
  45. <ScalarVariable name="passenger_down_stop" valueReference="7" description="passenger stop push down button = 1"
  46. causality="input" variability="discrete" initial="exact">
  47. <Boolean start="0"/>
  48. </ScalarVariable>
  49. <ScalarVariable name="obj_detected" valueReference="8" description="Object detected"
  50. causality="input" variability="discrete" initial="exact">
  51. <Boolean start="0"/>
  52. </ScalarVariable>
  53. <ScalarVariable name="motor_up" valueReference="9" description="motor command up = 1"
  54. causality="output" variability="discrete" initial="exact">
  55. <Boolean start="0"/>
  56. </ScalarVariable>
  57. <ScalarVariable name="motor_down" valueReference="10" description="motor command down = 1"
  58. causality="output" variability="discrete" initial="exact">
  59. <Boolean start="0"/>
  60. </ScalarVariable>
  61. </ModelVariables>
  62. <ModelStructure>
  63. </ModelStructure>
  64. </fmiModelDescription>