Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

408 рядки
13KB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <Document>
  3. <Model version="4.8" build="4.8.2.10124">
  4. <Sidops><![CDATA[model 128 184
  5. description '<Information>
  6. <Description>
  7. <Version>4.8</Version>
  8. <IsMainModel>0</IsMainModel>
  9. <KeepParameterValues>False</KeepParameterValues>
  10. <LibraryPath>Z:\home\wouter\Documents\studie\ma\mahd\implementation\submodel\SCARA\spike\motionprofiletest.emx</LibraryPath>
  11. <TimeStamp>2020-7-9 14:43:21</TimeStamp>
  12. </Description>
  13. </Information>';
  14. type Mainmodel
  15. end;
  16. implementation bg
  17. submodels
  18. Submodel1 328 200
  19. description '<Description><Version>4.0</Version>
  20. <LibraryPath>Template\Submodel-Equation.emx</LibraryPath>
  21. <IsMainModel>1</IsMainModel>
  22. <KeepParameterValues>False</KeepParameterValues>
  23. <TimeStamp>2007-11-1 22:32:1</TimeStamp>
  24. <AllowLibraryUpdate>False</AllowLibraryUpdate>
  25. </Description>';
  26. type 'Submodel-Equation'
  27. ports
  28. signal out output;
  29. end;
  30. implementation eq
  31. /* Equation Submodel
  32. Enter your equations here. You can use the Toolbar buttons at the top ( Add , f(x) etc. ).
  33. */
  34. parameters
  35. string dllname = 'MotionProfiles.dll';
  36. variables
  37. real x[3];
  38. real t;
  39. equations
  40. // start typing here
  41. t = time-0.5;
  42. x = dll(dllname,'ProfileCycloidal',t);
  43. output = x[1];
  44. implementation_end;
  45. end;
  46. connections
  47. end;
  48. implementation_end;
  49. ]]>
  50. </Sidops>
  51. </Model>
  52. <Experiments>
  53. <DefaultExperiment><![CDATA[Experiment 1]]>
  54. </DefaultExperiment>
  55. <Experiment>
  56. <Name>Experiment 1</Name>
  57. <CreatedBy></CreatedBy>
  58. <Info></Info>
  59. <ExpData>
  60. <VersionNumber>4.8</VersionNumber>
  61. <ModelProperties>
  62. </ModelProperties>
  63. <Variables>
  64. <Parameters>
  65. </Parameters>
  66. </Variables>
  67. <PlotSpecs>
  68. <VarNames>
  69. <VarName>time</VarName>
  70. <VarName>Submodel1\x[1]</VarName>
  71. <VarName>Submodel1\x[2]</VarName>
  72. <VarName>Submodel1\x[3]</VarName>
  73. </VarNames>
  74. <Plots>
  75. <Plot>
  76. <PlotType>GraphPlot</PlotType>
  77. <BasePlot>
  78. <PlotId>1</PlotId>
  79. <UseWindowsBGColor>false</UseWindowsBGColor>
  80. <BGColor>16777215</BGColor>
  81. <PlotIsVisible>true</PlotIsVisible>
  82. </BasePlot>
  83. <Grid>
  84. <DrawGrid>true</DrawGrid>
  85. <GridColor>15780518</GridColor>
  86. <GridBorderLineColor>12624260</GridBorderLineColor>
  87. <GridZeroLineColor>0</GridZeroLineColor>
  88. <XTicks>10</XTicks>
  89. <YTicks>10</YTicks>
  90. <ZTicks>10</ZTicks>
  91. <Use3DLook>false</Use3DLook>
  92. </Grid>
  93. <PlotBGColor>16777215</PlotBGColor>
  94. <ShowPlotTitle>true</ShowPlotTitle>
  95. <TitlePosition>1</TitlePosition>
  96. <PlotTitle>model</PlotTitle>
  97. <ShowXValues>true</ShowXValues>
  98. <Fonts>
  99. <TitleFont>
  100. <Name>Arial</Name>
  101. <Height>12</Height>
  102. <PitchFamily>34</PitchFamily>
  103. <Weight>400</Weight>
  104. <Italic>0</Italic>
  105. <UnderLine>0</UnderLine>
  106. <StrikeOut>0</StrikeOut>
  107. <Color>0</Color>
  108. </TitleFont>
  109. <LabelFont>
  110. <Name>Arial</Name>
  111. <Height>12</Height>
  112. <PitchFamily>34</PitchFamily>
  113. <Weight>400</Weight>
  114. <Italic>0</Italic>
  115. <UnderLine>0</UnderLine>
  116. <StrikeOut>0</StrikeOut>
  117. <Color>0</Color>
  118. </LabelFont>
  119. <ValuesFont>
  120. <Name>Arial</Name>
  121. <Height>10</Height>
  122. <PitchFamily>34</PitchFamily>
  123. <Weight>400</Weight>
  124. <Italic>0</Italic>
  125. <UnderLine>0</UnderLine>
  126. <StrikeOut>0</StrikeOut>
  127. <Color>0</Color>
  128. </ValuesFont>
  129. <LegendFont>
  130. <Name>Arial</Name>
  131. <Height>12</Height>
  132. <PitchFamily>34</PitchFamily>
  133. <Weight>400</Weight>
  134. <Italic>0</Italic>
  135. <UnderLine>0</UnderLine>
  136. <StrikeOut>0</StrikeOut>
  137. <Color>0</Color>
  138. </LegendFont>
  139. </Fonts>
  140. <SharedXAxis>true</SharedXAxis>
  141. <SharedYAxis>true</SharedYAxis>
  142. <SharedZAxis>false</SharedZAxis>
  143. <XAxes>
  144. <Axis>
  145. <Minimum>0.0</Minimum>
  146. <Maximum>10.0</Maximum>
  147. <Linear>true</Linear>
  148. <Scaling>3</Scaling>
  149. <Label>time</Label>
  150. </Axis>
  151. </XAxes>
  152. <YAxes>
  153. <Axis>
  154. <Minimum>-8.0</Minimum>
  155. <Maximum>12.0</Maximum>
  156. <Linear>true</Linear>
  157. <Scaling>2</Scaling>
  158. <Label>x[1]</Label>
  159. </Axis>
  160. <Axis>
  161. <Minimum>0.0</Minimum>
  162. <Maximum>10.0</Maximum>
  163. <Linear>true</Linear>
  164. <Scaling>2</Scaling>
  165. <Label>x[2]</Label>
  166. </Axis>
  167. <Axis>
  168. <Minimum>0.0</Minimum>
  169. <Maximum>10.0</Maximum>
  170. <Linear>true</Linear>
  171. <Scaling>2</Scaling>
  172. <Label>x[3]</Label>
  173. </Axis>
  174. </YAxes>
  175. <ZAxes>
  176. </ZAxes>
  177. <Curves>
  178. <Curve>
  179. <LineColor>3355111</LineColor>
  180. <LineStyle>1</LineStyle>
  181. <TickColor>3355111</TickColor>
  182. <TickStyle>0</TickStyle>
  183. <CurveVisible>true</CurveVisible>
  184. <PixelThresshold>1</PixelThresshold>
  185. <LineThickness>2</LineThickness>
  186. <LineOrder>1</LineOrder>
  187. <ShowYValues>true</ShowYValues>
  188. <XCurveData>
  189. <ShowUnit>true</ShowUnit>
  190. <VarName>time</VarName>
  191. </XCurveData>
  192. <YCurveData>
  193. <ShowUnit>true</ShowUnit>
  194. <VarName>Submodel1\x[1]</VarName>
  195. </YCurveData>
  196. </Curve>
  197. <Curve>
  198. <LineColor>6076255</LineColor>
  199. <LineStyle>1</LineStyle>
  200. <TickColor>6076255</TickColor>
  201. <TickStyle>0</TickStyle>
  202. <CurveVisible>true</CurveVisible>
  203. <PixelThresshold>1</PixelThresshold>
  204. <LineThickness>2</LineThickness>
  205. <LineOrder>1</LineOrder>
  206. <ShowYValues>true</ShowYValues>
  207. <XCurveData>
  208. <ShowUnit>true</ShowUnit>
  209. <VarName>time</VarName>
  210. </XCurveData>
  211. <YCurveData>
  212. <ShowUnit>true</ShowUnit>
  213. <VarName>Submodel1\x[2]</VarName>
  214. </YCurveData>
  215. </Curve>
  216. <Curve>
  217. <LineColor>12553035</LineColor>
  218. <LineStyle>1</LineStyle>
  219. <TickColor>12553035</TickColor>
  220. <TickStyle>0</TickStyle>
  221. <CurveVisible>true</CurveVisible>
  222. <PixelThresshold>1</PixelThresshold>
  223. <LineThickness>2</LineThickness>
  224. <LineOrder>1</LineOrder>
  225. <ShowYValues>true</ShowYValues>
  226. <XCurveData>
  227. <ShowUnit>true</ShowUnit>
  228. <VarName>time</VarName>
  229. </XCurveData>
  230. <YCurveData>
  231. <ShowUnit>true</ShowUnit>
  232. <VarName>Submodel1\x[3]</VarName>
  233. </YCurveData>
  234. </Curve>
  235. </Curves>
  236. <Legenda>
  237. <ShowLegenda>true</ShowLegenda>
  238. <BorderPenColor>0</BorderPenColor>
  239. <BackgroundColor>16777215</BackgroundColor>
  240. </Legenda>
  241. </Plot>
  242. </Plots>
  243. <PlotPanels>
  244. <PlotPanel>
  245. <PlotPanelId>1</PlotPanelId>
  246. <PlotPanelVisible>true</PlotPanelVisible>
  247. <Name>Window 1</Name>
  248. <Tiling>0</Tiling>
  249. <PlotIds>
  250. <PlotId>1</PlotId>
  251. </PlotIds>
  252. <ToggleState>Base</ToggleState>
  253. </PlotPanel>
  254. </PlotPanels>
  255. <WindowRectangles virtualDesktopWidth="1920" virtualDesktopHeight="1080">
  256. <WindowRectangle monitor="0" left="0" top="0" right="1920" bottom="1080" plotpanelid="1">
  257. 0.146354 0.222222 0.856771 1.01296
  258. </WindowRectangle>
  259. </WindowRectangles>
  260. </PlotSpecs>
  261. <RunSpecs>
  262. <SimulatorSettings>
  263. <StartTime>0.0</StartTime>
  264. <FinishTime>10.0</FinishTime>
  265. <AllowPassFinishTime>false</AllowPassFinishTime>
  266. <Warp>false</Warp>
  267. <FPGonio>false</FPGonio>
  268. <UseOutputAfterEach>false</UseOutputAfterEach>
  269. <OutputAfterEach>0.1</OutputAfterEach>
  270. <EventEpsilon>1.0e-6</EventEpsilon>
  271. <AlgebraicTolerance>1.0e-7</AlgebraicTolerance>
  272. <SteadyStateAnalysis>false</SteadyStateAnalysis>
  273. <UpdateHoldInstructions>true</UpdateHoldInstructions>
  274. </SimulatorSettings>
  275. <IntegrationMethods>
  276. <IntegrationMethod>
  277. <Name>Euler</Name>
  278. <StepSize>0.01</StepSize>
  279. <AutoStepSize>false</AutoStepSize>
  280. </IntegrationMethod>
  281. <IntegrationMethod>
  282. <Name>BackwardEuler</Name>
  283. <AbsoluteTolerance>1.0e-5</AbsoluteTolerance>
  284. <RelativeTolerance>1.0e-5</RelativeTolerance>
  285. <AlgebraicAbsoluteTolerance>1.0e-5</AlgebraicAbsoluteTolerance>
  286. <AlgebraicRelativeTolerance>1.0e-5</AlgebraicRelativeTolerance>
  287. <StepSize>0.01</StepSize>
  288. <Alpha>1.0</Alpha>
  289. </IntegrationMethod>
  290. <IntegrationMethod>
  291. <Name>AdamsBashforth</Name>
  292. <StepSize>0.01</StepSize>
  293. <AutoStepSize>false</AutoStepSize>
  294. </IntegrationMethod>
  295. <IntegrationMethod>
  296. <Name>RungeKutta2</Name>
  297. <StepSize>0.01</StepSize>
  298. <AutoStepSize>false</AutoStepSize>
  299. </IntegrationMethod>
  300. <IntegrationMethod>
  301. <Name>RungeKutta4</Name>
  302. <StepSize>0.01</StepSize>
  303. <AutoStepSize>false</AutoStepSize>
  304. </IntegrationMethod>
  305. <IntegrationMethod>
  306. <Name>RungeKutta8</Name>
  307. <UseInitialStepSize>false</UseInitialStepSize>
  308. <InitialStepSize>0.001</InitialStepSize>
  309. <UseMaximumStepSize>false</UseMaximumStepSize>
  310. <MaximumStepSize>1.0</MaximumStepSize>
  311. <AbsoluteTolerance>1.0e-6</AbsoluteTolerance>
  312. <RelativeTolerance>1.0e-6</RelativeTolerance>
  313. <SafetyFactor>0.9</SafetyFactor>
  314. <Factor1>0.33</Factor1>
  315. <Factor2>6.0</Factor2>
  316. <Beta>0.0</Beta>
  317. <UseMaxNrSteps>false</UseMaxNrSteps>
  318. <MaxNrSteps>100000</MaxNrSteps>
  319. <UseStiffDetection>false</UseStiffDetection>
  320. <MaxNrStiffnessSteps>1000</MaxNrStiffnessSteps>
  321. </IntegrationMethod>
  322. <IntegrationMethod>
  323. <Name>RungeKuttaFehlberg</Name>
  324. <UseInitialStepSize>false</UseInitialStepSize>
  325. <InitialStepSize>0.001</InitialStepSize>
  326. <UseMaximumStepSize>false</UseMaximumStepSize>
  327. <MaximumStepSize>1.0</MaximumStepSize>
  328. <AbsoluteTolerance>1.0e-6</AbsoluteTolerance>
  329. <RelativeTolerance>1.0e-6</RelativeTolerance>
  330. </IntegrationMethod>
  331. <IntegrationMethod>
  332. <Name>VodeAdams</Name>
  333. <UseInitialStepSize>false</UseInitialStepSize>
  334. <InitialStepSize>0.001</InitialStepSize>
  335. <UseMaximumStepSize>false</UseMaximumStepSize>
  336. <MaximumStepSize>1.0</MaximumStepSize>
  337. <AbsoluteTolerance>1.0e-6</AbsoluteTolerance>
  338. <RelativeTolerance>1.0e-6</RelativeTolerance>
  339. <VodeUseBDF>true</VodeUseBDF>
  340. <VodeUseNewton>true</VodeUseNewton>
  341. </IntegrationMethod>
  342. <IntegrationMethod>
  343. <Name>BDFMethod</Name>
  344. <AbsoluteTolerance>1.0e-5</AbsoluteTolerance>
  345. <RelativeTolerance>1.0e-5</RelativeTolerance>
  346. <AlgebraicAbsoluteTolerance>1.0e-5</AlgebraicAbsoluteTolerance>
  347. <AlgebraicRelativeTolerance>1.0e-5</AlgebraicRelativeTolerance>
  348. <UseInitialStepSize>false</UseInitialStepSize>
  349. <InitialStepSize>0.001</InitialStepSize>
  350. <UseMaximumStepSize>false</UseMaximumStepSize>
  351. <MaximumStepSize>1.0</MaximumStepSize>
  352. </IntegrationMethod>
  353. <IntegrationMethod>
  354. <Name>MeBDFiMethod</Name>
  355. <AbsoluteTolerance>1.0e-5</AbsoluteTolerance>
  356. <RelativeTolerance>1.0e-5</RelativeTolerance>
  357. <AlgebraicAbsoluteTolerance>1.0e-5</AlgebraicAbsoluteTolerance>
  358. <AlgebraicRelativeTolerance>1.0e-5</AlgebraicRelativeTolerance>
  359. <UseInitialStepSize>false</UseInitialStepSize>
  360. <InitialStepSize>0.001</InitialStepSize>
  361. <UseMaximumStepSize>false</UseMaximumStepSize>
  362. <MaximumStepSize>1.0</MaximumStepSize>
  363. </IntegrationMethod>
  364. <SelectedIntegrationMethod>8</SelectedIntegrationMethod>
  365. </IntegrationMethods>
  366. </RunSpecs>
  367. <MultipleRun>
  368. <NrSteps>10</NrSteps>
  369. <CopyFromStates>false</CopyFromStates>
  370. <JoinParameterVariation>true</JoinParameterVariation>
  371. <ClearAfterRun>true</ClearAfterRun>
  372. <RedrawAfterRun>false</RedrawAfterRun>
  373. <DrawDuringSimulation>true</DrawDuringSimulation>
  374. <ActionBeforeOptimization>0</ActionBeforeOptimization>
  375. <CompareValue>0.0</CompareValue>
  376. <UseCompareValue>true</UseCompareValue>
  377. <MultipleRunType>MultipleRun</MultipleRunType>
  378. <Minimize>true</Minimize>
  379. <OptimizationVariable></OptimizationVariable>
  380. <ResulVarUsage>UseEndValue</ResulVarUsage>
  381. <Tolerance>0.001</Tolerance>
  382. <OptimizationMethod>BroydonFletcherGoldfarbShanno</OptimizationMethod>
  383. <MultipleRunVariables>
  384. </MultipleRunVariables>
  385. </MultipleRun>
  386. <ExportData>
  387. <WriteAsText>true</WriteAsText>
  388. <ReadAsText>true</ReadAsText>
  389. <WriteHeader>true</WriteHeader>
  390. <ReadHeader>true</ReadHeader>
  391. <ReadFilename></ReadFilename>
  392. <WriteFilename></WriteFilename>
  393. <DoWrite>false</DoWrite>
  394. <ExportVariables>
  395. </ExportVariables>
  396. <ImportVariables>
  397. </ImportVariables>
  398. </ExportData>
  399. <BreakPoints>
  400. </BreakPoints>
  401. <AnimationPlayback>
  402. <PlaybackSpeed>1.0</PlaybackSpeed>
  403. </AnimationPlayback>
  404. </ExpData>
  405. </Experiment>
  406. </Experiments>
  407. </Document>