You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5300 line
147KB

  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>C:\users\wouter\My Documents\studie\ma\mahd\implementation\SCARA\04_path_planning\path_planning.emx</LibraryPath>
  11. <TimeStamp>2020-7-20 17:47:38</TimeStamp>
  12. <AllowLibraryUpdate>True</AllowLibraryUpdate>
  13. </Description>
  14. <Attributes>
  15. <GlobalRelations>parameters
  16. real A = 0.05 {m};
  17. real B = 0.05 {m};
  18. variables
  19. real J0_1_BF1[2];
  20. real J1_2_BF1[2];
  21. real J1_2_BF2[2];
  22. real EE1_BF2[2];
  23. initialequations
  24. J0_1_BF1 = [A/2;0];
  25. J1_2_BF1 = [-A/2;0];
  26. J1_2_BF2 = [B/2;0];
  27. EE1_BF2 = [-B/2;0];</GlobalRelations>
  28. </Attributes>
  29. </Information>';
  30. type Mainmodel
  31. end;
  32. implementation bg
  33. submodels
  34. Base1 720 184
  35. description '<Information><Description><Version>4.8</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues><AllowLibraryUpdate>True</AllowLibraryUpdate><LibraryPath>Bond Graph\MR\center_of_mass_v2.emx</LibraryPath><TimeStamp>2020-7-20 15:56:10</TimeStamp><Description>Base</Description></Description><Attributes><GlobalRelations>parameters
  36. real I [3,1] = [7.583333333333335e-7; 3.645833333333334e-8; 7.364583333333335e-7] {N.m.s};
  37. real m = 0.0035 {kg};</GlobalRelations></Attributes></Information>';
  38. type Submodel
  39. ports
  40. power in p [6,1];
  41. signal in Hin [4,4];
  42. signal out Hout [4,4];
  43. end;
  44. icon bg ellipse bottom
  45. figures
  46. ellipse 696 160 744 208 color 0 fill 16777215 width 2;
  47. line 696 184 744 184 color 0 fill 16777215;
  48. line 720 160 720 208 color 0 fill 16777215;
  49. terminals
  50. p 704 160 fixed;
  51. Hin 736 160 fixed;
  52. Hout 744 216 fixed;
  53. end;
  54. implementation bg
  55. submodels
  56. AdHi0 544 400
  57. description '<Information><Description><Version>4.0</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues><LibraryPath></LibraryPath><TimeStamp>2007-9-25 12:3:3</TimeStamp><AllowLibraryUpdate>True</AllowLibraryUpdate></Description></Information>';
  58. type MTF
  59. ports
  60. power in p1 [6,1];
  61. power out p2 [6,1];
  62. signal in H [4,4];
  63. restrictions
  64. causality constraint not_equal p1 p2;
  65. end;
  66. icon bg left
  67. figures
  68. text 'MTF' 544 400 color 0 18 bold;
  69. end;
  70. implementation eq
  71. variables
  72. real onlyRotH[4,4];
  73. code
  74. //Only rotations with respect to the inertial system matter!
  75. onlyRotH = H;
  76. onlyRotH[1,4] = 0;
  77. onlyRotH[2,4] = 0;
  78. onlyRotH[3,4] = 0;
  79. p2.e = transpose(Adjoint(onlyRotH)) * p1.e;
  80. p1.f = Adjoint(onlyRotH) * p2.f;
  81. implementation_end;
  82. EJS 616 336
  83. description '<Information><Description><Version>4.0</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues><LibraryPath></LibraryPath><TimeStamp>2007-10-31 11:43:6</TimeStamp><AllowLibraryUpdate>True</AllowLibraryUpdate></Description></Information>';
  84. type MGY
  85. ports
  86. power in p1 [6,1];
  87. end;
  88. icon bg top
  89. figures
  90. text 'MGY' 616 336 color 0 18 bold;
  91. end;
  92. implementation eq
  93. //EJS / Gyroscopic effects
  94. parameters
  95. real global I[3];
  96. real global m;
  97. variables
  98. real II[6,6]; //Inertial tensor
  99. real Q[6,6];
  100. real QI[6,6];
  101. real Ia[6];
  102. initialequations
  103. Ia[1:3] = I;
  104. Ia[4:6] = m;
  105. II = diag(Ia);
  106. equations
  107. Q = transpose(adjoint(p1.f));
  108. QI = Q*II;
  109. p1.e = QI*p1.f;implementation_end;
  110. Gravity 664 400
  111. description '<Information><Description><Version>4.0</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues><LibraryPath></LibraryPath><TimeStamp>2007-9-25 12:3:26</TimeStamp><AllowLibraryUpdate>True</AllowLibraryUpdate></Description></Information>';
  112. type Se
  113. ports
  114. power out p [6,1];
  115. restrictions
  116. causality fixed out p;
  117. end;
  118. icon bg bottom
  119. figures
  120. text 'Se' 664 400 color 0 18 bold;
  121. end;
  122. implementation eq
  123. parameters
  124. real global m;
  125. variables
  126. real effort[6];
  127. equations
  128. effort = [0;0;0;0;0;-g_n*m];
  129. p.e = effort;
  130. implementation_end;
  131. InertialTensor 544 288
  132. description '<Information><Description><Version>4.0</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues><LibraryPath></LibraryPath><TimeStamp>2007-9-25 12:2:12</TimeStamp><AllowLibraryUpdate>True</AllowLibraryUpdate></Description></Information>';
  133. type I
  134. ports
  135. power in p [6,1];
  136. signal out state [6,1];
  137. restrictions
  138. causality preferred in p;
  139. end;
  140. icon bg top
  141. figures
  142. text 'I' 544 288 color 0 18 bold;
  143. end;
  144. implementation eq
  145. parameters
  146. real global I[3];
  147. real global m;
  148. variables
  149. real II[6,6]; //Inertial tensor
  150. real Ia[6];
  151. initialequations
  152. Ia[1:3] = I;
  153. Ia[4:6] = m;
  154. II = diag(Ia);
  155. equations
  156. state = int(p.e); //state = generalized momentum
  157. p.f = inverse(II)*state;
  158. implementation_end;
  159. plug p 472 336;
  160. plug Hin 472 496;
  161. plug Hout 640 496;
  162. Splitter1 544 496
  163. description '<Description><Version>4.0</Version>
  164. <LibraryPath>Signal\Block Diagram\Splitter.emx</LibraryPath>
  165. <TimeStamp>2008-01-17 11:28:29</TimeStamp>
  166. <IsMainModel>1</IsMainModel>
  167. <KeepParameterValues>False</KeepParameterValues>
  168. </Description>';
  169. knot Splitter
  170. ports
  171. signal knot duplicatable out output [4,4];
  172. signal knot in input [4,4];
  173. end;
  174. icon bg ellipse
  175. figures
  176. ellipse 540.8 492.8 547.2 499.2 color -1 fill 0;
  177. ellipse 539.7 491.7 548.3 500.3 color -1;
  178. terminals
  179. input 544 496 fixed;
  180. end;
  181. implementation eq
  182. equations
  183. collect (output) = input;
  184. implementation_end;
  185. Ta0j 544 336
  186. description '<Description>
  187. <Version>4.0</Version>
  188. <IsMainModel>1</IsMainModel>
  189. <KeepParameterValues>False</KeepParameterValues>
  190. <LibraryPath>Bond Graph\OneJunction.emx</LibraryPath>
  191. <TimeStamp>2007-9-27 9:51:18</TimeStamp>
  192. <AllowLibraryUpdate>True</AllowLibraryUpdate>
  193. <Description></Description>
  194. </Description>';
  195. knot OneJunction
  196. ports
  197. power knot duplicatable none p [6,1];
  198. signal knot out flow [6,1];
  199. restrictions
  200. causality constraint one_out p;
  201. end;
  202. icon bg bottom
  203. figures
  204. text '1' 544 336 color 0 18 bold;
  205. end;
  206. implementation eq
  207. equations
  208. sum (direct (p.e)) = 0;
  209. equal (collect (p.f));
  210. flow = first (p.f);
  211. implementation_end;
  212. ZeroJunction1 504 336
  213. description '<Information>
  214. <Description>
  215. <Version>4.2</Version>
  216. <IsMainModel>1</IsMainModel>
  217. <KeepParameterValues>False</KeepParameterValues>
  218. <LibraryPath>Bond Graph\ZeroJunction.emx</LibraryPath>
  219. <TimeStamp>2011-11-29 16:45:16</TimeStamp>
  220. </Description>
  221. </Information>';
  222. knot ZeroJunction
  223. ports
  224. power knot duplicatable none p [6,1];
  225. signal knot out effort [6,1];
  226. restrictions
  227. causality constraint one_in p;
  228. end;
  229. icon bg
  230. figures
  231. text '0' 504 336 color 0 18 bold;
  232. end;
  233. implementation eq
  234. equations
  235. sum (direct (p.f)) = 0;
  236. equal (collect (p.e));
  237. effort = first (p.e);
  238. implementation_end;
  239. end;
  240. connections
  241. AdHi0\p2 => Ta0j\p;
  242. Gravity\p => AdHi0\p1;
  243. Hin -> Splitter1\input;
  244. InertialTensor\p <= Ta0j\p;
  245. p => ZeroJunction1\p;
  246. Splitter1\output -> AdHi0\H;
  247. Splitter1\output -> Hout;
  248. Ta0j\p => EJS\p1;
  249. Ta0j\p => ZeroJunction1\p;
  250. end;
  251. parameterrelations
  252. InertialTensor\I = I;
  253. InterialTensor\m = m;
  254. EJS\I = I;
  255. EJS\m = m;
  256. AdHik\COMdim = COMdim;
  257. AdHik1\COMdim = COMdim;
  258. Hij\dim = dim;
  259. Gravity\m=m;parameterrelations_end;
  260. figures
  261. text 'b = current link (body)
  262. a = previous link (body)
  263. i = Body fixed frame, fixed in joint with previous link
  264. j = Body fixed frame, fixed in joint with next link
  265. k = Body fixed frame, principal inertial frame
  266. 0 = inertial system
  267. ' 288 280 color 0;
  268. implementation_end;
  269. Base2 936 120
  270. description '<Information><Description><Version>4.8</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues><AllowLibraryUpdate>True</AllowLibraryUpdate><LibraryPath>Bond Graph\MR\center_of_mass_v2.emx</LibraryPath><TimeStamp>2020-7-20 15:56:10</TimeStamp><Description>Base</Description></Description><Attributes><GlobalRelations>parameters
  271. real I [3,1] = [0.0001;0.0001;0.0001] {N.m.s};
  272. real m = 0.015 {kg};</GlobalRelations></Attributes></Information>';
  273. type Submodel
  274. ports
  275. power in p [6,1];
  276. signal in Hin [4,4];
  277. signal out Hout [4,4];
  278. end;
  279. icon bg ellipse bottom
  280. figures
  281. ellipse 912 96 960 144 color 0 fill 16777215 width 2;
  282. line 936 96 936 144 color 0 fill 16777215;
  283. line 912 120 960 120 color 0 fill 16777215;
  284. terminals
  285. p 912 104 fixed;
  286. Hin 912 136 fixed;
  287. Hout 968 144 fixed;
  288. end;
  289. implementation bg
  290. submodels
  291. AdHi0 544 400
  292. description '<Information><Description><Version>4.0</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues><LibraryPath></LibraryPath><TimeStamp>2007-9-25 12:3:3</TimeStamp><AllowLibraryUpdate>True</AllowLibraryUpdate></Description></Information>';
  293. type MTF
  294. ports
  295. power in p1 [6,1];
  296. power out p2 [6,1];
  297. signal in H [4,4];
  298. restrictions
  299. causality constraint not_equal p1 p2;
  300. end;
  301. icon bg left
  302. figures
  303. text 'MTF' 544 400 color 0 18 bold;
  304. end;
  305. implementation eq
  306. variables
  307. real onlyRotH[4,4];
  308. code
  309. //Only rotations with respect to the inertial system matter!
  310. onlyRotH = H;
  311. onlyRotH[1,4] = 0;
  312. onlyRotH[2,4] = 0;
  313. onlyRotH[3,4] = 0;
  314. p2.e = transpose(Adjoint(onlyRotH)) * p1.e;
  315. p1.f = Adjoint(onlyRotH) * p2.f;
  316. implementation_end;
  317. EJS 616 336
  318. description '<Information><Description><Version>4.0</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues><LibraryPath></LibraryPath><TimeStamp>2007-10-31 11:43:6</TimeStamp><AllowLibraryUpdate>True</AllowLibraryUpdate></Description></Information>';
  319. type MGY
  320. ports
  321. power in p1 [6,1];
  322. end;
  323. icon bg top
  324. figures
  325. text 'MGY' 616 336 color 0 18 bold;
  326. end;
  327. implementation eq
  328. //EJS / Gyroscopic effects
  329. parameters
  330. real global I[3];
  331. real global m;
  332. variables
  333. real II[6,6]; //Inertial tensor
  334. real Q[6,6];
  335. real QI[6,6];
  336. real Ia[6];
  337. initialequations
  338. Ia[1:3] = I;
  339. Ia[4:6] = m;
  340. II = diag(Ia);
  341. equations
  342. Q = transpose(adjoint(p1.f));
  343. QI = Q*II;
  344. p1.e = QI*p1.f;implementation_end;
  345. Gravity 616 400
  346. description '<Information><Description><Version>4.0</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues><LibraryPath></LibraryPath><TimeStamp>2007-9-25 12:3:26</TimeStamp><AllowLibraryUpdate>True</AllowLibraryUpdate></Description></Information>';
  347. type Se
  348. ports
  349. power out p [6,1];
  350. restrictions
  351. causality fixed out p;
  352. end;
  353. icon bg bottom
  354. figures
  355. text 'Se' 616 400 color 0 18 bold;
  356. end;
  357. implementation eq
  358. parameters
  359. real global m;
  360. variables
  361. real effort[6];
  362. equations
  363. effort = [0;0;0;0;0;-g_n*m];
  364. p.e = effort;
  365. implementation_end;
  366. InertialTensor 544 288
  367. description '<Information><Description><Version>4.0</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues><LibraryPath></LibraryPath><TimeStamp>2007-9-25 12:2:12</TimeStamp><AllowLibraryUpdate>True</AllowLibraryUpdate></Description></Information>';
  368. type I
  369. ports
  370. power in p [6,1];
  371. signal out state [6,1];
  372. restrictions
  373. causality preferred in p;
  374. end;
  375. icon bg top
  376. figures
  377. text 'I' 544 288 color 0 18 bold;
  378. end;
  379. implementation eq
  380. parameters
  381. real global I[3];
  382. real global m;
  383. variables
  384. real II[6,6]; //Inertial tensor
  385. real Ia[6];
  386. initialequations
  387. Ia[1:3] = I;
  388. Ia[4:6] = m;
  389. II = diag(Ia);
  390. equations
  391. state = int(p.e); //state = generalized momentum
  392. p.f = inverse(II)*state;
  393. implementation_end;
  394. plug p 472 336;
  395. plug Hin 472 496;
  396. plug Hout 640 496;
  397. Splitter1 544 496
  398. description '<Description><Version>4.0</Version>
  399. <LibraryPath>Signal\Block Diagram\Splitter.emx</LibraryPath>
  400. <TimeStamp>2008-01-17 11:28:29</TimeStamp>
  401. <IsMainModel>1</IsMainModel>
  402. <KeepParameterValues>False</KeepParameterValues>
  403. </Description>';
  404. knot Splitter
  405. ports
  406. signal knot duplicatable out output [4,4];
  407. signal knot in input [4,4];
  408. end;
  409. icon bg ellipse
  410. figures
  411. ellipse 540.8 492.8 547.2 499.2 color -1 fill 0;
  412. ellipse 539.7 491.7 548.3 500.3 color -1;
  413. terminals
  414. input 544 496 fixed;
  415. end;
  416. implementation eq
  417. equations
  418. collect (output) = input;
  419. implementation_end;
  420. Ta0j 544 336
  421. description '<Description>
  422. <Version>4.0</Version>
  423. <IsMainModel>1</IsMainModel>
  424. <KeepParameterValues>False</KeepParameterValues>
  425. <LibraryPath>Bond Graph\OneJunction.emx</LibraryPath>
  426. <TimeStamp>2007-9-27 9:51:18</TimeStamp>
  427. <AllowLibraryUpdate>True</AllowLibraryUpdate>
  428. <Description></Description>
  429. </Description>';
  430. knot OneJunction
  431. ports
  432. power knot duplicatable none p [6,1];
  433. signal knot out flow [6,1];
  434. restrictions
  435. causality constraint one_out p;
  436. end;
  437. icon bg bottom
  438. figures
  439. text '1' 544 336 color 0 18 bold;
  440. end;
  441. implementation eq
  442. equations
  443. sum (direct (p.e)) = 0;
  444. equal (collect (p.f));
  445. flow = first (p.f);
  446. implementation_end;
  447. end;
  448. connections
  449. AdHi0\p2 => Ta0j\p;
  450. Gravity\p => AdHi0\p1;
  451. Hin -> Splitter1\input;
  452. InertialTensor\p <= Ta0j\p;
  453. p => Ta0j\p;
  454. Splitter1\output -> AdHi0\H;
  455. Splitter1\output -> Hout;
  456. Ta0j\p => EJS\p1;
  457. end;
  458. parameterrelations
  459. InertialTensor\I = I;
  460. InterialTensor\m = m;
  461. EJS\I = I;
  462. EJS\m = m;
  463. AdHik\COMdim = COMdim;
  464. AdHik1\COMdim = COMdim;
  465. Hij\dim = dim;
  466. Gravity\m=m;parameterrelations_end;
  467. figures
  468. text 'b = current link (body)
  469. a = previous link (body)
  470. i = Body fixed frame, fixed in joint with previous link
  471. j = Body fixed frame, fixed in joint with next link
  472. k = Body fixed frame, principal inertial frame
  473. 0 = inertial system
  474. ' 288 280 color 0;
  475. implementation_end;
  476. Base3 376 184
  477. description '<Information>
  478. <Description>
  479. <Version>4.8</Version>
  480. <IsMainModel>1</IsMainModel>
  481. <KeepParameterValues>False</KeepParameterValues>
  482. <AllowLibraryUpdate>True</AllowLibraryUpdate>
  483. <LibraryPath>Bond Graph\MR\center_of_mass_v2.emx</LibraryPath>
  484. <TimeStamp>2020-7-20 15:56:10</TimeStamp>
  485. <Description>Base</Description>
  486. </Description>
  487. <Attributes>
  488. <GlobalRelations>parameters
  489. real I [3,1] = [1.6399999999999998e-6; 4.7e-8; 1.61e-6] {N.m.s};
  490. real m = 0.00455 {kg};</GlobalRelations>
  491. </Attributes>
  492. </Information>';
  493. type Submodel
  494. ports
  495. power in p [6,1];
  496. signal in Hin [4,4];
  497. signal out Hout [4,4];
  498. end;
  499. icon bg ellipse bottom
  500. figures
  501. ellipse 352 160 400 208 color 0 fill 16777215 width 2;
  502. line 352 184 400 184 color 0 fill 16777215;
  503. line 376 160 376 208 color 0 fill 16777215;
  504. terminals
  505. p 360 160 fixed;
  506. Hin 392 160 fixed;
  507. end;
  508. implementation bg
  509. submodels
  510. AdHi0 544 400
  511. description '<Information><Description><Version>4.0</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues><LibraryPath></LibraryPath><TimeStamp>2007-9-25 12:3:3</TimeStamp><AllowLibraryUpdate>True</AllowLibraryUpdate></Description></Information>';
  512. type MTF
  513. ports
  514. power in p1 [6,1];
  515. power out p2 [6,1];
  516. signal in H [4,4];
  517. restrictions
  518. causality constraint not_equal p1 p2;
  519. end;
  520. icon bg left
  521. figures
  522. text 'MTF' 544 400 color 0 18 bold;
  523. end;
  524. implementation eq
  525. variables
  526. real onlyRotH[4,4];
  527. code
  528. //Only rotations with respect to the inertial system matter!
  529. onlyRotH = H;
  530. onlyRotH[1,4] = 0;
  531. onlyRotH[2,4] = 0;
  532. onlyRotH[3,4] = 0;
  533. p2.e = transpose(Adjoint(onlyRotH)) * p1.e;
  534. p1.f = Adjoint(onlyRotH) * p2.f;
  535. implementation_end;
  536. EJS 616 336
  537. description '<Information><Description><Version>4.0</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues><LibraryPath></LibraryPath><TimeStamp>2007-10-31 11:43:6</TimeStamp><AllowLibraryUpdate>True</AllowLibraryUpdate></Description></Information>';
  538. type MGY
  539. ports
  540. power in p1 [6,1];
  541. end;
  542. icon bg top
  543. figures
  544. text 'MGY' 616 336 color 0 18 bold;
  545. end;
  546. implementation eq
  547. //EJS / Gyroscopic effects
  548. parameters
  549. real global I[3];
  550. real global m;
  551. variables
  552. real II[6,6]; //Inertial tensor
  553. real Q[6,6];
  554. real QI[6,6];
  555. real Ia[6];
  556. initialequations
  557. Ia[1:3] = I;
  558. Ia[4:6] = m;
  559. II = diag(Ia);
  560. equations
  561. Q = transpose(adjoint(p1.f));
  562. QI = Q*II;
  563. p1.e = QI*p1.f;implementation_end;
  564. Gravity 656 400
  565. description '<Information><Description><Version>4.0</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues><LibraryPath></LibraryPath><TimeStamp>2007-9-25 12:3:26</TimeStamp><AllowLibraryUpdate>True</AllowLibraryUpdate></Description></Information>';
  566. type Se
  567. ports
  568. power out p [6,1];
  569. restrictions
  570. causality fixed out p;
  571. end;
  572. icon bg bottom
  573. figures
  574. text 'Se' 656 400 color 0 18 bold;
  575. end;
  576. implementation eq
  577. parameters
  578. real global m;
  579. variables
  580. real effort[6];
  581. equations
  582. effort = [0;0;0;0;0;-g_n*m];
  583. p.e = effort;
  584. implementation_end;
  585. InertialTensor 544 288
  586. description '<Information><Description><Version>4.0</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues><LibraryPath></LibraryPath><TimeStamp>2007-9-25 12:2:12</TimeStamp><AllowLibraryUpdate>True</AllowLibraryUpdate></Description></Information>';
  587. type I
  588. ports
  589. power in p [6,1];
  590. signal out state [6,1];
  591. restrictions
  592. causality preferred in p;
  593. end;
  594. icon bg top
  595. figures
  596. text 'I' 544 288 color 0 18 bold;
  597. end;
  598. implementation eq
  599. parameters
  600. real global I[3];
  601. real global m;
  602. variables
  603. real II[6,6]; //Inertial tensor
  604. real Ia[6];
  605. initialequations
  606. Ia[1:3] = I;
  607. Ia[4:6] = m;
  608. II = diag(Ia);
  609. equations
  610. state = int(p.e); //state = generalized momentum
  611. p.f = inverse(II)*state;
  612. implementation_end;
  613. plug p 472 336;
  614. plug Hin 472 496;
  615. plug Hout 640 496;
  616. Splitter1 544 496
  617. description '<Description><Version>4.0</Version>
  618. <LibraryPath>Signal\Block Diagram\Splitter.emx</LibraryPath>
  619. <TimeStamp>2008-01-17 11:28:29</TimeStamp>
  620. <IsMainModel>1</IsMainModel>
  621. <KeepParameterValues>False</KeepParameterValues>
  622. </Description>';
  623. knot Splitter
  624. ports
  625. signal knot duplicatable out output [4,4];
  626. signal knot in input [4,4];
  627. end;
  628. icon bg ellipse
  629. figures
  630. ellipse 540.8 492.8 547.2 499.2 color -1 fill 0;
  631. ellipse 539.7 491.7 548.3 500.3 color -1;
  632. terminals
  633. input 544 496 fixed;
  634. end;
  635. implementation eq
  636. equations
  637. collect (output) = input;
  638. implementation_end;
  639. Ta0j 544 336
  640. description '<Description>
  641. <Version>4.0</Version>
  642. <IsMainModel>1</IsMainModel>
  643. <KeepParameterValues>False</KeepParameterValues>
  644. <LibraryPath>Bond Graph\OneJunction.emx</LibraryPath>
  645. <TimeStamp>2007-9-27 9:51:18</TimeStamp>
  646. <AllowLibraryUpdate>True</AllowLibraryUpdate>
  647. <Description></Description>
  648. </Description>';
  649. knot OneJunction
  650. ports
  651. power knot duplicatable none p [6,1];
  652. signal knot out flow [6,1];
  653. restrictions
  654. causality constraint one_out p;
  655. end;
  656. icon bg bottom
  657. figures
  658. text '1' 544 336 color 0 18 bold;
  659. end;
  660. implementation eq
  661. equations
  662. sum (direct (p.e)) = 0;
  663. equal (collect (p.f));
  664. flow = first (p.f);
  665. implementation_end;
  666. ZeroJunction1 504 336
  667. description '<Information>
  668. <Description>
  669. <Version>4.2</Version>
  670. <IsMainModel>1</IsMainModel>
  671. <KeepParameterValues>False</KeepParameterValues>
  672. <LibraryPath>Bond Graph\ZeroJunction.emx</LibraryPath>
  673. <TimeStamp>2011-11-29 16:45:16</TimeStamp>
  674. </Description>
  675. </Information>';
  676. knot ZeroJunction
  677. ports
  678. power knot duplicatable none p [6,1];
  679. signal knot out effort [6,1];
  680. restrictions
  681. causality constraint one_in p;
  682. end;
  683. icon bg
  684. figures
  685. text '0' 504 336 color 0 18 bold;
  686. end;
  687. implementation eq
  688. equations
  689. sum (direct (p.f)) = 0;
  690. equal (collect (p.e));
  691. effort = first (p.e);
  692. implementation_end;
  693. end;
  694. connections
  695. AdHi0\p2 => Ta0j\p;
  696. Gravity\p => AdHi0\p1;
  697. Hin -> Splitter1\input;
  698. InertialTensor\p <= Ta0j\p;
  699. p => ZeroJunction1\p;
  700. Splitter1\output -> AdHi0\H;
  701. Splitter1\output -> Hout;
  702. Ta0j\p => EJS\p1;
  703. Ta0j\p => ZeroJunction1\p;
  704. end;
  705. parameterrelations
  706. InertialTensor\I = I;
  707. InterialTensor\m = m;
  708. EJS\I = I;
  709. EJS\m = m;
  710. AdHik\COMdim = COMdim;
  711. AdHik1\COMdim = COMdim;
  712. Hij\dim = dim;
  713. Gravity\m=m;parameterrelations_end;
  714. figures
  715. text 'b = current link (body)
  716. a = previous link (body)
  717. i = Body fixed frame, fixed in joint with previous link
  718. j = Body fixed frame, fixed in joint with next link
  719. k = Body fixed frame, principal inertial frame
  720. 0 = inertial system
  721. ' 288 280 color 0;
  722. implementation_end;
  723. C1 640 264
  724. description '<Description><Version>4.0</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues>
  725. <LibraryPath>Bond Graph\3D\C-3.emx</LibraryPath>
  726. <TimeStamp>2007-9-25 12:12:8</TimeStamp>
  727. </Description>';
  728. type 'C-3'
  729. ports
  730. power in p [3,1];
  731. signal out state [3,1];
  732. restrictions
  733. causality preferred out p;
  734. end;
  735. icon bg bottom
  736. figures
  737. text 'C' 640 264 color 0 18 bold;
  738. end;
  739. implementation eq
  740. parameters
  741. real c[3,3] = [0.1, 0.0, 0.0; 0.0, 0.1, 0.0; 0.0, 0.0, 0.1] {mN/m};
  742. equations
  743. state = int(p.f);
  744. p.e = inverse(c) *state;
  745. implementation_end;
  746. C2 304 272
  747. description '<Description><Version>4.0</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues>
  748. <LibraryPath>Bond Graph\3D\C-3.emx</LibraryPath>
  749. <TimeStamp>2007-9-25 12:12:8</TimeStamp>
  750. </Description>';
  751. type 'C-3'
  752. ports
  753. power in p [3,1];
  754. signal out state [3,1];
  755. restrictions
  756. causality preferred out p;
  757. end;
  758. icon bg bottom
  759. figures
  760. text 'C' 304 272 color 0 18 bold;
  761. end;
  762. implementation eq
  763. parameters
  764. real c[3,3] = [0.1, 0.0, 0.0; 0.0, 0.1, 0.0; 0.0, 0.0, 0.1] {mN/m};
  765. equations
  766. state = int(p.f);
  767. p.e = inverse(c) *state;
  768. implementation_end;
  769. C3 304 224
  770. description '<Description><Version>4.0</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues>
  771. <LibraryPath>Bond Graph\2D\C-2.emx</LibraryPath>
  772. <TimeStamp>2007-9-25 12:7:27</TimeStamp>
  773. </Description>';
  774. type 'C-2'
  775. ports
  776. power in p [2,1];
  777. signal out state [2,1];
  778. restrictions
  779. causality preferred out p;
  780. end;
  781. icon bg bottom
  782. figures
  783. text 'C' 304 224 color 0 18 bold;
  784. end;
  785. implementation eq
  786. parameters
  787. real c[2,2] = [0.1, 0.0; 0.0, 0.1] {mN.m/rad};
  788. equations
  789. state = int(p.f);
  790. p.e = inverse(c) *state;
  791. implementation_end;
  792. C4 640 216
  793. description '<Description><Version>4.0</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues>
  794. <LibraryPath>Bond Graph\2D\C-2.emx</LibraryPath>
  795. <TimeStamp>2007-9-25 12:7:27</TimeStamp>
  796. </Description>';
  797. type 'C-2'
  798. ports
  799. power in p [2,1];
  800. signal out state [2,1];
  801. restrictions
  802. causality preferred out p;
  803. end;
  804. icon bg bottom
  805. figures
  806. text 'C' 640 216 color 0 18 bold;
  807. end;
  808. implementation eq
  809. parameters
  810. real c[2,2] = [0.1, 0.0; 0.0, 0.1] {mN.m/rad};
  811. equations
  812. state = int(p.f);
  813. p.e = inverse(c) *state;
  814. implementation_end;
  815. C5 472 216
  816. description '<Information>
  817. <Description>
  818. <Version>4.2</Version>
  819. <IsMainModel>1</IsMainModel>
  820. <KeepParameterValues>False</KeepParameterValues>
  821. <LibraryPath>Bond Graph\C.emx</LibraryPath>
  822. <TimeStamp>2011-11-29 15:58:35</TimeStamp>
  823. </Description>
  824. </Information>';
  825. type C
  826. ports
  827. power in p;
  828. signal out state;
  829. restrictions
  830. causality preferred out p;
  831. end;
  832. icon bg bottom
  833. figures
  834. text 'C' 472 216 color 0 18 bold;
  835. end;
  836. implementation eq
  837. parameters
  838. real c = 0.0001;
  839. equations
  840. state = int(p.f);
  841. p.e = state / c;
  842. implementation_end;
  843. Integrate 184 288
  844. description '<Information>
  845. <Description>
  846. <Version>4.3</Version>
  847. <IsMainModel>1</IsMainModel>
  848. <KeepParameterValues>False</KeepParameterValues>
  849. <LibraryPath>Signal\Block Diagram\Integrate.emx</LibraryPath>
  850. <TimeStamp>2013-3-8 14:47:42</TimeStamp>
  851. </Description>
  852. </Information>';
  853. type Integrate
  854. ports
  855. signal in input;
  856. signal out output;
  857. end;
  858. icon bg bottom
  859. figures
  860. rectangle 168 272 200 304 color 0 fill 15132390;
  861. text '∫' 184 288.3 color 16711680 'Lucida Sans' 21 italic;
  862. end;
  863. implementation eq
  864. parameters
  865. real initial = 0; // initial value
  866. equations
  867. output = int (input, initial);
  868. implementation_end;
  869. Integrate1 520 360
  870. description '<Information>
  871. <Description>
  872. <Version>4.3</Version>
  873. <IsMainModel>1</IsMainModel>
  874. <KeepParameterValues>False</KeepParameterValues>
  875. <LibraryPath>Signal\Block Diagram\Integrate.emx</LibraryPath>
  876. <TimeStamp>2013-3-8 14:47:42</TimeStamp>
  877. </Description>
  878. </Information>';
  879. type Integrate
  880. ports
  881. signal in input;
  882. signal out output;
  883. end;
  884. icon bg bottom
  885. figures
  886. rectangle 504 344 536 376 color 0 fill 15132390;
  887. text '∫' 520 360.3 color 16711680 'Lucida Sans' 21 italic;
  888. end;
  889. implementation eq
  890. parameters
  891. real initial = 0; // initial value
  892. equations
  893. output = int (input, initial);
  894. implementation_end;
  895. inverse_kinematics1 272 552
  896. description '<Information>
  897. <Description>
  898. <Version>4.8</Version>
  899. <LibraryPath>SCARA\inverse_kinematics_v1.emx</LibraryPath>
  900. <IsMainModel>1</IsMainModel>
  901. <KeepParameterValues>False</KeepParameterValues>
  902. <TimeStamp>2020-7-10 12:26:18</TimeStamp>
  903. <AllowLibraryUpdate>False</AllowLibraryUpdate>
  904. </Description>
  905. </Information>';
  906. type 'Submodel-Equation'
  907. ports
  908. signal in input [2,1] {m} ;
  909. signal out angle1 {rad} ;
  910. signal out angle2 {rad} ;
  911. signal out a {rad} ;
  912. signal out b {rad} ;
  913. signal out c {rad} ;
  914. signal out phi {rad} ;
  915. signal out abs_angle2;
  916. end;
  917. implementation eq
  918. parameters
  919. real A_length = 0.065 {m}; // length of first arm
  920. real B_length = 0.05 {m}; // length of second arm
  921. real to_rad = 1 {rad};
  922. variables
  923. real x {m}, y {m};
  924. real C_length {m}; // length to x and y.
  925. real angle_sum {rad}; // test angle
  926. equations
  927. x = input[1];
  928. y = input[2];
  929. phi = atan2(y, x);
  930. C_length = sqrt(x^2 + y^2);
  931. a = arccos ((B_length^2 + C_length^2 - A_length^2) / (2 * B_length * C_length));
  932. b = arccos ((A_length^2 + C_length^2 - B_length^2) / (2 * A_length * C_length));
  933. c = arccos ((A_length^2 + B_length^2 - C_length^2) / (2 * A_length * B_length));
  934. angle1 = b + phi;
  935. abs_angle2 = angle1 - pi * to_rad + c;
  936. angle2 = c - pi * to_rad;
  937. implementation_end;
  938. Joint1 200 120
  939. description '<Information>
  940. <Description>
  941. <Version>4.8</Version>
  942. <IsMainModel>1</IsMainModel>
  943. <LibraryPath>Bond Graph\MR\joint-v3.emx</LibraryPath>
  944. <TimeStamp>2020-7-20 14:25:50</TimeStamp>
  945. </Description>
  946. </Information>';
  947. type 'Submodel-v3'
  948. ports
  949. power in Pin [6,1];
  950. signal in Hin [4,4];
  951. power in Pdiff [6,1];
  952. signal out Hout [4,4];
  953. power out Pout [6,1];
  954. end;
  955. icon bg bottom
  956. figures
  957. rectangle 176 88 224 152 color 0 fill 14745599;
  958. text 'Joint' 200 120 color 0 'Clear Sans' 16;
  959. terminals
  960. Pin 224 104 fixed;
  961. Hin 176 136 fixed;
  962. Hout 224 136 fixed;
  963. Pout 176 104 fixed;
  964. end;
  965. implementation bg
  966. submodels
  967. AdHji 424 424
  968. description '<Description>
  969. <Version>4.0</Version>
  970. <IsMainModel>1</IsMainModel>
  971. <KeepParameterValues>False</KeepParameterValues>
  972. <LibraryPath>Bond Graph\MTF.emx</LibraryPath>
  973. <TimeStamp>2007-9-25 12:3:3</TimeStamp>
  974. <AllowLibraryUpdate>True</AllowLibraryUpdate>
  975. </Description>';
  976. type MTF
  977. ports
  978. power out p1 [6,1];
  979. power in p2 [6,1];
  980. signal in H [4,4];
  981. restrictions
  982. causality constraint not_equal p1 p2;
  983. end;
  984. icon bg bottom
  985. figures
  986. text 'MTF' 424 424 color 0 18 bold;
  987. end;
  988. implementation eq
  989. equations
  990. p2.e = transpose(Adjoint(H)) * p1.e;
  991. p1.f = Adjoint(H) * p2.f;implementation_end;
  992. FlowSensor2 240 271.9
  993. description '<Information>
  994. <Description>
  995. <Version>4.2</Version>
  996. <IsMainModel>1</IsMainModel>
  997. <KeepParameterValues>False</KeepParameterValues>
  998. <LibraryPath>Bond Graph\FlowSensor.emx</LibraryPath>
  999. <TimeStamp>2011-11-29 15:50:53</TimeStamp>
  1000. </Description>
  1001. </Information>';
  1002. knot FlowSensor
  1003. ports
  1004. power knot in p1 [6,1];
  1005. power knot out p2 [6,1];
  1006. signal knot out flow [6,1];
  1007. restrictions
  1008. causality constraint not_equal p1 p2;
  1009. end;
  1010. icon bg ellipse
  1011. figures
  1012. ellipse 233.1 264.8 246.9 279.1 color 0 fill 16777215;
  1013. text 'f' 240 271.2 color 0;
  1014. end;
  1015. implementation eq
  1016. equations
  1017. p2.f = p1.f;
  1018. p1.e = p2.e;
  1019. flow = p1.f;
  1020. implementation_end;
  1021. Hmatrix 320 272
  1022. description '<Information><Description><Version>4.0</Version><LibraryPath>Template\Submodel-Equation.emx</LibraryPath><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues><TimeStamp>2007-11-1 22:32:1</TimeStamp><AllowLibraryUpdate>False</AllowLibraryUpdate></Description></Information>';
  1023. type 'Submodel-Equation'
  1024. ports
  1025. signal in flow [6,1];
  1026. signal out H [4,4];
  1027. end;
  1028. implementation eq
  1029. parameters
  1030. real init[4] = [1;0;0;0];
  1031. variables
  1032. real q[4]; //quaternions
  1033. real W[3,4]; //Quaternion Rates Matrix
  1034. real R[3,3]; //Rotation Matrix
  1035. real p[3]; //Position Vector
  1036. real dq[4];
  1037. equations
  1038. dq = transpose(W) * flow[1:3] ./ 2;
  1039. q = int(dq,init);
  1040. p = int(flow[4:6]);
  1041. W = [-q[2], q[1], -q[4], q[3];
  1042. -q[3], q[4], q[1], -q[2];
  1043. -q[4], -q[3], q[2], q[1]];
  1044. R = [q[1]^2+q[2]^2-q[3]^2-q[4]^2, 2*(q[2]*q[3]+q[1]*q[4]), 2*(q[2]*q[4]-q[1]*q[3]);
  1045. 2*(q[2]*q[3]-q[1]*q[4]), q[1]^2-q[2]^2+q[3]^2-q[4]^2, 2*(q[3]*q[4]+q[1]*q[2]);
  1046. 2*(q[2]*q[4]+q[1]*q[3]), 2*(q[3]*q[4]-q[1]*q[2]), q[1]^2-q[2]^2-q[3]^2+q[4]^2];
  1047. H = homogeneous(R,p);
  1048. implementation_end;
  1049. MatrixMul 320 576
  1050. description '<Description>
  1051. <Version>4.0</Version>
  1052. <IsMainModel>1</IsMainModel>
  1053. <KeepParameterValues>False</KeepParameterValues>
  1054. <LibraryPath>Signal\Block Diagram\Gain.emx</LibraryPath>
  1055. <TimeStamp>2007-9-26 12:15:12</TimeStamp>
  1056. <AllowLibraryUpdate>True</AllowLibraryUpdate>
  1057. </Description>';
  1058. type Gain
  1059. ports
  1060. signal in input1 [4,4];
  1061. signal out output [4,4];
  1062. signal in input2 [4,4];
  1063. end;
  1064. icon bg bottom
  1065. figures
  1066. rectangle 304.1 560 335.9 592 color 0 fill 15132390;
  1067. text 'X' 320 576 color 16711680 16 bold;
  1068. end;
  1069. implementation eq
  1070. equations
  1071. output = input2*input1; implementation_end;
  1072. plug Hin 121.4 576;
  1073. plug Pdiff 240 220;
  1074. plug Hout 491.2 576;
  1075. plug Pout 119.4 424;
  1076. plug Pin 485.6 424;
  1077. Splitter2 320 312
  1078. description '<Description><Version>4.0</Version>
  1079. <LibraryPath>Signal\Block Diagram\Splitter.emx</LibraryPath>
  1080. <TimeStamp>2008-01-17 11:28:29</TimeStamp>
  1081. <IsMainModel>1</IsMainModel>
  1082. <KeepParameterValues>False</KeepParameterValues>
  1083. </Description>';
  1084. knot Splitter
  1085. ports
  1086. signal knot duplicatable out output [4,4];
  1087. signal knot in input [4,4];
  1088. end;
  1089. icon bg ellipse
  1090. figures
  1091. ellipse 316.8 308.8 323.2 315.2 color -1 fill 0;
  1092. ellipse 315.7 307.7 324.3 316.3 color -1;
  1093. terminals
  1094. input 320 312 fixed;
  1095. end;
  1096. implementation eq
  1097. equations
  1098. collect (output) = input;
  1099. implementation_end;
  1100. Wbai 240 424
  1101. description '<Description>
  1102. <Version>4.0</Version>
  1103. <IsMainModel>1</IsMainModel>
  1104. <KeepParameterValues>False</KeepParameterValues>
  1105. <LibraryPath>Bond Graph\ZeroJunction.emx</LibraryPath>
  1106. <TimeStamp>2007-9-27 9:51:43</TimeStamp>
  1107. <AllowLibraryUpdate>True</AllowLibraryUpdate>
  1108. </Description>';
  1109. knot ZeroJunction
  1110. ports
  1111. power knot duplicatable none p [6,1];
  1112. signal knot out effort [6,1];
  1113. restrictions
  1114. causality constraint one_in p;
  1115. end;
  1116. icon bg bottom
  1117. figures
  1118. text '0' 240 424 color 0 18 bold;
  1119. end;
  1120. implementation eq
  1121. equations
  1122. sum (direct (p.f)) = 0;
  1123. equal (collect (p.e));
  1124. effort = first (p.e);
  1125. implementation_end;
  1126. end;
  1127. connections
  1128. FlowSensor2\flow -> Hmatrix\flow;
  1129. FlowSensor2\p2 => Wbai\p;
  1130. Hin -> MatrixMul\input2;
  1131. Hmatrix\H -> Splitter2\input;
  1132. MatrixMul\output -> Hout;
  1133. Pdiff => FlowSensor2\p1;
  1134. Pin => AdHji\p2;
  1135. Splitter2\output -> AdHji\H 424 312;
  1136. Splitter2\output -> MatrixMul\input1;
  1137. Wbai\p <= AdHji\p1;
  1138. Wbai\p => Pout;
  1139. end;
  1140. parameterrelations
  1141. EndstopMin\Rendstop = Rendstop;
  1142. EndstopMin\Cendstop = Cendstop;
  1143. EndstopMin\InitialPos = InitialPos;
  1144. EndstopMin\EndstopPos = MinEndstopPos;
  1145. EndstopMax\Rendstop = Rendstop;
  1146. EndstopMax\Cendstop = Cendstop;
  1147. EndstopMax\InitialPos = InitialPos;
  1148. EndstopMax\EndstopPos = MaxEndstopPos;
  1149. Rjoint\Rjoint= Rjoint;
  1150. Integrate\init = InitialPos;
  1151. uTbai\Rconstraint = Rconstraint;
  1152. uTbai\Cconstraint = Cconstraint;
  1153. parameterrelations_end;
  1154. implementation_end;
  1155. Joint2 536 120
  1156. description '<Information>
  1157. <Description>
  1158. <Version>4.8</Version>
  1159. <IsMainModel>1</IsMainModel>
  1160. <LibraryPath>Bond Graph\MR\joint-v3.emx</LibraryPath>
  1161. <TimeStamp>2020-7-20 14:25:50</TimeStamp>
  1162. </Description>
  1163. </Information>';
  1164. type 'Submodel-v3'
  1165. ports
  1166. power in Pin [6,1];
  1167. signal in Hin [4,4];
  1168. power in Pdiff [6,1];
  1169. signal out Hout [4,4];
  1170. power out Pout [6,1];
  1171. signal out Hdiff [4,4];
  1172. end;
  1173. icon bg bottom
  1174. figures
  1175. rectangle 512 88 560 152 color 0 fill 14745599;
  1176. text 'Joint' 536 120 color 0 'Clear Sans' 16;
  1177. terminals
  1178. Pin 560 104 fixed;
  1179. Hin 512 136 fixed;
  1180. Hout 560 136 fixed;
  1181. Pout 512 104 fixed;
  1182. end;
  1183. implementation bg
  1184. submodels
  1185. AdHji 424 424
  1186. description '<Description>
  1187. <Version>4.0</Version>
  1188. <IsMainModel>1</IsMainModel>
  1189. <KeepParameterValues>False</KeepParameterValues>
  1190. <LibraryPath>Bond Graph\MTF.emx</LibraryPath>
  1191. <TimeStamp>2007-9-25 12:3:3</TimeStamp>
  1192. <AllowLibraryUpdate>True</AllowLibraryUpdate>
  1193. </Description>';
  1194. type MTF
  1195. ports
  1196. power out p1 [6,1];
  1197. power in p2 [6,1];
  1198. signal in H [4,4];
  1199. restrictions
  1200. causality constraint not_equal p1 p2;
  1201. end;
  1202. icon bg bottom
  1203. figures
  1204. text 'MTF' 424 424 color 0 18 bold;
  1205. end;
  1206. implementation eq
  1207. equations
  1208. p2.e = transpose(Adjoint(H)) * p1.e;
  1209. p1.f = Adjoint(H) * p2.f;implementation_end;
  1210. FlowSensor2 184 311.9
  1211. description '<Information>
  1212. <Description>
  1213. <Version>4.2</Version>
  1214. <IsMainModel>1</IsMainModel>
  1215. <KeepParameterValues>False</KeepParameterValues>
  1216. <LibraryPath>Bond Graph\FlowSensor.emx</LibraryPath>
  1217. <TimeStamp>2011-11-29 15:50:53</TimeStamp>
  1218. </Description>
  1219. </Information>';
  1220. knot FlowSensor
  1221. ports
  1222. power knot in p1 [6,1];
  1223. power knot out p2 [6,1];
  1224. signal knot out flow [6,1];
  1225. restrictions
  1226. causality constraint not_equal p1 p2;
  1227. end;
  1228. icon bg ellipse
  1229. figures
  1230. ellipse 177.1 304.8 190.9 319.1 color 0 fill 16777215;
  1231. text 'f' 184 311.2 color 0;
  1232. end;
  1233. implementation eq
  1234. equations
  1235. p2.f = p1.f;
  1236. p1.e = p2.e;
  1237. flow = p1.f;
  1238. implementation_end;
  1239. Hmatrix 256 312
  1240. description '<Information><Description><Version>4.0</Version><LibraryPath>Template\Submodel-Equation.emx</LibraryPath><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues><TimeStamp>2007-11-1 22:32:1</TimeStamp><AllowLibraryUpdate>False</AllowLibraryUpdate></Description></Information>';
  1241. type 'Submodel-Equation'
  1242. ports
  1243. signal in flow [6,1];
  1244. signal out H [4,4];
  1245. end;
  1246. implementation eq
  1247. parameters
  1248. real init[4] = [1;0;0;0];
  1249. variables
  1250. real q[4]; //quaternions
  1251. real W[3,4]; //Quaternion Rates Matrix
  1252. real R[3,3]; //Rotation Matrix
  1253. real p[3]; //Position Vector
  1254. equations
  1255. ddt(q,init) = transpose(W) * flow[1:3] ./ 2;
  1256. p = int(flow[4:6]);
  1257. W = [-q[2], q[1], -q[4], q[3];
  1258. -q[3], q[4], q[1], -q[2];
  1259. -q[4], -q[3], q[2], q[1]];
  1260. //R = dll('EulerAngles.dll','RotationMatrixFromQuaternion',q);
  1261. R = [q[1]^2+q[2]^2-q[3]^2-q[4]^2, 2*(q[2]*q[3]+q[1]*q[4]), 2*(q[2]*q[4]-q[1]*q[3]);
  1262. 2*(q[2]*q[3]-q[1]*q[4]), q[1]^2-q[2]^2+q[3]^2-q[4]^2, 2*(q[3]*q[4]+q[1]*q[2]);
  1263. 2*(q[2]*q[4]+q[1]*q[3]), 2*(q[3]*q[4]-q[1]*q[2]), q[1]^2-q[2]^2-q[3]^2+q[4]^2];
  1264. H = homogeneous(R,p);
  1265. implementation_end;
  1266. MatrixMul 320 576
  1267. description '<Description>
  1268. <Version>4.0</Version>
  1269. <IsMainModel>1</IsMainModel>
  1270. <KeepParameterValues>False</KeepParameterValues>
  1271. <LibraryPath>Signal\Block Diagram\Gain.emx</LibraryPath>
  1272. <TimeStamp>2007-9-26 12:15:12</TimeStamp>
  1273. <AllowLibraryUpdate>True</AllowLibraryUpdate>
  1274. </Description>';
  1275. type Gain
  1276. ports
  1277. signal in input1 [4,4];
  1278. signal out output [4,4];
  1279. signal in input2 [4,4];
  1280. end;
  1281. icon bg bottom
  1282. figures
  1283. rectangle 304.1 560 335.9 592 color 0 fill 15132390;
  1284. text 'X' 320 576 color 16711680 16 bold;
  1285. end;
  1286. implementation eq
  1287. equations
  1288. output = input2*input1; implementation_end;
  1289. plug Pin 485.6 424;
  1290. plug Hin 121.4 576;
  1291. plug Pdiff 184 216;
  1292. plug Hout 491.2 576;
  1293. plug Pout 119.4 424;
  1294. plug Hdiff 320 216;
  1295. Splitter2 320 312
  1296. description '<Description><Version>4.0</Version>
  1297. <LibraryPath>Signal\Block Diagram\Splitter.emx</LibraryPath>
  1298. <TimeStamp>2008-01-17 11:28:29</TimeStamp>
  1299. <IsMainModel>1</IsMainModel>
  1300. <KeepParameterValues>False</KeepParameterValues>
  1301. </Description>';
  1302. knot Splitter
  1303. ports
  1304. signal knot duplicatable out output [4,4];
  1305. signal knot in input [4,4];
  1306. end;
  1307. icon bg ellipse
  1308. figures
  1309. ellipse 316.8 308.8 323.2 315.2 color -1 fill 0;
  1310. ellipse 315.7 307.7 324.3 316.3 color -1;
  1311. terminals
  1312. input 320 312 fixed;
  1313. end;
  1314. implementation eq
  1315. equations
  1316. collect (output) = input;
  1317. implementation_end;
  1318. Wbai 184 424
  1319. description '<Description>
  1320. <Version>4.0</Version>
  1321. <IsMainModel>1</IsMainModel>
  1322. <KeepParameterValues>False</KeepParameterValues>
  1323. <LibraryPath>Bond Graph\ZeroJunction.emx</LibraryPath>
  1324. <TimeStamp>2007-9-27 9:51:43</TimeStamp>
  1325. <AllowLibraryUpdate>True</AllowLibraryUpdate>
  1326. </Description>';
  1327. knot ZeroJunction
  1328. ports
  1329. power knot duplicatable none p [6,1];
  1330. signal knot out effort [6,1];
  1331. restrictions
  1332. causality constraint one_in p;
  1333. end;
  1334. icon bg bottom
  1335. figures
  1336. text '0' 184 424 color 0 18 bold;
  1337. end;
  1338. implementation eq
  1339. equations
  1340. sum (direct (p.f)) = 0;
  1341. equal (collect (p.e));
  1342. effort = first (p.e);
  1343. implementation_end;
  1344. end;
  1345. connections
  1346. FlowSensor2\flow -> Hmatrix\flow;
  1347. FlowSensor2\p2 => Wbai\p;
  1348. Hin -> MatrixMul\input2;
  1349. Hmatrix\H -> Splitter2\input;
  1350. MatrixMul\output -> Hout;
  1351. Pdiff => FlowSensor2\p1;
  1352. Pin => AdHji\p2;
  1353. Splitter2\output -> AdHji\H 424 312;
  1354. Splitter2\output -> Hdiff;
  1355. Splitter2\output -> MatrixMul\input1;
  1356. Wbai\p <= AdHji\p1;
  1357. Wbai\p => Pout;
  1358. end;
  1359. parameterrelations
  1360. EndstopMin\Rendstop = Rendstop;
  1361. EndstopMin\Cendstop = Cendstop;
  1362. EndstopMin\InitialPos = InitialPos;
  1363. EndstopMin\EndstopPos = MinEndstopPos;
  1364. EndstopMax\Rendstop = Rendstop;
  1365. EndstopMax\Cendstop = Cendstop;
  1366. EndstopMax\InitialPos = InitialPos;
  1367. EndstopMax\EndstopPos = MaxEndstopPos;
  1368. Rjoint\Rjoint= Rjoint;
  1369. Integrate\init = InitialPos;
  1370. uTbai\Rconstraint = Rconstraint;
  1371. uTbai\Cconstraint = Cconstraint;
  1372. parameterrelations_end;
  1373. implementation_end;
  1374. Link 288 120
  1375. description '<Information>
  1376. <Description>
  1377. <Version>4.8</Version>
  1378. <LibraryPath>Bond Graph\MR\link-v3.emx</LibraryPath>
  1379. <IsMainModel>1</IsMainModel>
  1380. <KeepParameterValues>False</KeepParameterValues>
  1381. <TimeStamp>2020-7-19 15:22:34</TimeStamp>
  1382. <AllowLibraryUpdate>False</AllowLibraryUpdate>
  1383. </Description>
  1384. </Information>';
  1385. type 'Submodel-Equation'
  1386. ports
  1387. signal in Hin [4,4];
  1388. signal out Hout [4,4];
  1389. power in Pin [6,1];
  1390. power out Pout [6,1];
  1391. restrictions
  1392. causality constraint not_equal Pin Pout;
  1393. end;
  1394. icon bg bottom
  1395. figures
  1396. rectangle 256 96 320 144 color 0 fill 8454041;
  1397. text 'Link' 288 120 color 0 'Clear Sans' 16;
  1398. terminals
  1399. Hin 256 136 fixed;
  1400. Hout 320 136 fixed;
  1401. Pin 320 104 fixed;
  1402. Pout 256 104 fixed;
  1403. end;
  1404. implementation eq
  1405. parameters
  1406. real offset[3]= [0;0.0325;0]; //coordinates of joint_1
  1407. variables
  1408. real Hab[4,4];
  1409. real AdHab[6,6];
  1410. equations
  1411. Hab = homogeneous(eye(3),offset);
  1412. AdHab = Adjoint(eye(3),offset);
  1413. Hout = Hin * Hab;
  1414. Pout.e = transpose(AdHab) * Pin.e;
  1415. Pin.f = AdHab * Pout.f;
  1416. implementation_end;
  1417. Link1 456 120
  1418. description '<Information>
  1419. <Description>
  1420. <Version>4.8</Version>
  1421. <LibraryPath>Bond Graph\MR\link-v3.emx</LibraryPath>
  1422. <IsMainModel>1</IsMainModel>
  1423. <KeepParameterValues>False</KeepParameterValues>
  1424. <TimeStamp>2020-7-19 15:22:34</TimeStamp>
  1425. <AllowLibraryUpdate>False</AllowLibraryUpdate>
  1426. </Description>
  1427. </Information>';
  1428. type 'Submodel-Equation'
  1429. ports
  1430. signal in Hin [4,4];
  1431. signal out Hout [4,4];
  1432. power in Pin [6,1];
  1433. power out Pout [6,1];
  1434. restrictions
  1435. causality constraint not_equal Pin Pout;
  1436. end;
  1437. icon bg bottom
  1438. figures
  1439. rectangle 424 96 488 144 color 0 fill 8454041;
  1440. text 'Link' 456 120 color 0 'Clear Sans' 16;
  1441. terminals
  1442. Hin 424 136 fixed;
  1443. Hout 488 136 fixed;
  1444. Pin 488 104 fixed;
  1445. Pout 424 104 fixed;
  1446. end;
  1447. implementation eq
  1448. parameters
  1449. real offset[6]= [0;0;0;0;0.0325;0]; //coordinates of joint_1
  1450. variables
  1451. real Hab[4,4];
  1452. real AdHab[6,6];
  1453. real R[3,3];
  1454. real omega[3];
  1455. initialequations
  1456. omega = offset[1:3];
  1457. R = dll('EulerAngles.dll','RotationMatrixFromEulXYZs',omega);
  1458. Hab = homogeneous(R,offset[4:6]);
  1459. AdHab = Adjoint(Hab);
  1460. equations
  1461. Hout = Hin * Hab;
  1462. Pout.e = transpose(AdHab) * Pin.e;
  1463. Pin.f = AdHab * Pout.f;
  1464. implementation_end;
  1465. Link2 624 120
  1466. description '<Information>
  1467. <Description>
  1468. <Version>4.8</Version>
  1469. <LibraryPath>Bond Graph\MR\link-v3.emx</LibraryPath>
  1470. <IsMainModel>1</IsMainModel>
  1471. <KeepParameterValues>False</KeepParameterValues>
  1472. <TimeStamp>2020-7-19 15:22:34</TimeStamp>
  1473. <AllowLibraryUpdate>False</AllowLibraryUpdate>
  1474. </Description>
  1475. </Information>';
  1476. type 'Submodel-Equation'
  1477. ports
  1478. signal in Hin [4,4];
  1479. signal out Hout [4,4];
  1480. power in Pin [6,1];
  1481. power out Pout [6,1];
  1482. restrictions
  1483. causality constraint not_equal Pin Pout;
  1484. end;
  1485. icon bg bottom
  1486. figures
  1487. rectangle 592 96 656 144 color 0 fill 8454041;
  1488. text 'Link' 624 120 color 0 'Clear Sans' 16;
  1489. terminals
  1490. Hin 592 136 fixed;
  1491. Hout 656 136 fixed;
  1492. Pin 656 104 fixed;
  1493. Pout 592 104 fixed;
  1494. end;
  1495. implementation eq
  1496. parameters
  1497. real offset[3]= [0;0.025;0]; //coordinates of joint_1
  1498. variables
  1499. real Hab[4,4];
  1500. real AdHab[6,6];
  1501. equations
  1502. Hab = homogeneous(eye(3),offset);
  1503. AdHab = Adjoint(eye(3),offset);
  1504. Hout = Hin * Hab;
  1505. Pout.e = transpose(AdHab) * Pin.e;
  1506. Pin.f = AdHab * Pout.f;
  1507. implementation_end;
  1508. Link3 800 120
  1509. description '<Information>
  1510. <Description>
  1511. <Version>4.8</Version>
  1512. <LibraryPath>Bond Graph\MR\link-v3.emx</LibraryPath>
  1513. <IsMainModel>1</IsMainModel>
  1514. <KeepParameterValues>False</KeepParameterValues>
  1515. <TimeStamp>2020-7-19 15:22:34</TimeStamp>
  1516. <AllowLibraryUpdate>False</AllowLibraryUpdate>
  1517. </Description>
  1518. </Information>';
  1519. type 'Submodel-Equation'
  1520. ports
  1521. signal in Hin [4,4];
  1522. signal out Hout [4,4];
  1523. power in Pin [6,1];
  1524. power out Pout [6,1];
  1525. restrictions
  1526. causality constraint not_equal Pin Pout;
  1527. end;
  1528. icon bg bottom
  1529. figures
  1530. rectangle 768 96 832 144 color 0 fill 8454041;
  1531. text 'Link' 800 120 color 0 'Clear Sans' 16;
  1532. terminals
  1533. Hin 768 136 fixed;
  1534. Hout 832 136 fixed;
  1535. Pin 832 104 fixed;
  1536. Pout 768 104 fixed;
  1537. end;
  1538. implementation eq
  1539. parameters
  1540. real offset[3]= [0;0.025;0]; //coordinates of joint_1
  1541. variables
  1542. real Hab[4,4];
  1543. real AdHab[6,6];
  1544. equations
  1545. Hab = homogeneous(eye(3),offset);
  1546. AdHab = Adjoint(eye(3),offset);
  1547. Hout = Hin * Hab;
  1548. Pout.e = transpose(AdHab) * Pin.e;
  1549. Pin.f = AdHab * Pout.f;
  1550. implementation_end;
  1551. motor_joint1 112 384
  1552. description '<Description>
  1553. <Version>4.8</Version>
  1554. <IsMainModel>1</IsMainModel>
  1555. </Description>';
  1556. type Submodel
  1557. ports
  1558. signal in input;
  1559. power out p2;
  1560. end;
  1561. implementation bg
  1562. submodels
  1563. Gain1 552 88
  1564. description '<Description><Version>4.0</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues>
  1565. <LibraryPath>Signal\Block Diagram\Gain.emx</LibraryPath>
  1566. <TimeStamp>2007-9-26 12:15:12</TimeStamp>
  1567. </Description>';
  1568. type Gain
  1569. ports
  1570. signal in input;
  1571. signal out output;
  1572. end;
  1573. icon bg bottom
  1574. figures
  1575. rectangle 536.1 72 567.9 104 color 0 fill 15132390;
  1576. text 'K' 552 88 color 16711680 16 bold;
  1577. end;
  1578. implementation eq
  1579. parameters
  1580. real K = 12.0; // gain
  1581. equations
  1582. output = K * input;
  1583. implementation_end;
  1584. GY 624 184
  1585. description '<Information>
  1586. <Description>
  1587. <Version>4.2</Version>
  1588. <IsMainModel>1</IsMainModel>
  1589. <KeepParameterValues>False</KeepParameterValues>
  1590. <LibraryPath>Bond Graph\GY.emx</LibraryPath>
  1591. <TimeStamp>2011-11-29 15:53:45</TimeStamp>
  1592. </Description>
  1593. </Information>';
  1594. type GY
  1595. ports
  1596. power in p1;
  1597. power out p2;
  1598. restrictions
  1599. causality constraint equal p1 p2;
  1600. end;
  1601. icon bg bottom
  1602. figures
  1603. text 'GY' 624 184 color 0 18 bold;
  1604. end;
  1605. implementation eq
  1606. parameters
  1607. real r = 0.127;
  1608. equations
  1609. p1.e = r * p2.f;
  1610. p2.e = r * p1.f;
  1611. implementation_end;
  1612. MSe 624 88
  1613. description '<Information>
  1614. <Description>
  1615. <Version>4.2</Version>
  1616. <IsMainModel>1</IsMainModel>
  1617. <KeepParameterValues>False</KeepParameterValues>
  1618. <LibraryPath>Bond Graph\MSe.emx</LibraryPath>
  1619. <TimeStamp>2011-11-29 16:12:33</TimeStamp>
  1620. </Description>
  1621. </Information>';
  1622. type MSe
  1623. ports
  1624. power out p;
  1625. signal in effort;
  1626. restrictions
  1627. causality fixed out p;
  1628. end;
  1629. icon bg bottom
  1630. figures
  1631. text 'MSe' 624 88 color 0 18 bold;
  1632. end;
  1633. implementation eq
  1634. variables
  1635. real flow;
  1636. equations
  1637. p.e = effort;
  1638. flow = p.f;
  1639. implementation_end;
  1640. plug input 424 88;
  1641. plug p2 624 220;
  1642. OneJunction2 624 136
  1643. description '<Information>
  1644. <Description>
  1645. <Version>4.2</Version>
  1646. <IsMainModel>1</IsMainModel>
  1647. <KeepParameterValues>False</KeepParameterValues>
  1648. <LibraryPath>Bond Graph\OneJunction.emx</LibraryPath>
  1649. <TimeStamp>2011-11-29 16:17:51</TimeStamp>
  1650. </Description>
  1651. </Information>';
  1652. knot OneJunction
  1653. ports
  1654. power knot duplicatable none p [1];
  1655. signal knot out flow [1];
  1656. restrictions
  1657. causality constraint one_out p;
  1658. end;
  1659. icon bg
  1660. figures
  1661. text '1' 624 136 color 0 18 bold;
  1662. end;
  1663. implementation eq
  1664. equations
  1665. sum (direct (p.e)) = 0;
  1666. equal (collect (p.f));
  1667. flow = first (p.f);
  1668. implementation_end;
  1669. R 664 136
  1670. description '<Information>
  1671. <Description>
  1672. <Version>4.2</Version>
  1673. <IsMainModel>1</IsMainModel>
  1674. <KeepParameterValues>False</KeepParameterValues>
  1675. <LibraryPath>Bond Graph\R.emx</LibraryPath>
  1676. <TimeStamp>2011-11-29 16:35:37</TimeStamp>
  1677. </Description>
  1678. </Information>';
  1679. type R
  1680. ports
  1681. power in p;
  1682. end;
  1683. icon bg bottom
  1684. figures
  1685. text 'R' 664 136 color 0 18 bold;
  1686. end;
  1687. implementation eq
  1688. parameters
  1689. real r = 0.08;
  1690. equations
  1691. p.e = r * p.f;
  1692. implementation_end;
  1693. SignalLimiter2 488 88
  1694. description '<Description><Version>4.0</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues>
  1695. <LibraryPath>Signal\Block Diagram Non-Linear\SignalLimiter-Limit.emx</LibraryPath>
  1696. <TimeStamp>2007-9-26 12:47:40</TimeStamp>
  1697. </Description>';
  1698. type 'SignalLimiter-Limit'
  1699. ports
  1700. signal in input;
  1701. signal out output;
  1702. end;
  1703. icon bg bottom
  1704. figures
  1705. group
  1706. rectangle 472 72 504 104 color 0 fill 15132390;
  1707. line 487.9 76.5 487.9 101 color 0 fill 15132390;
  1708. line 475 88.2 500.7 88.2 color 0 fill 15132390;
  1709. spline 481.9 95.1 493.9 81.4 color 16711680 fill 15132390 width 2;
  1710. spline 493.3 82.2 501.9 81.8 color 16711680 fill 15132390 width 2;
  1711. spline 475 95.6 481.9 95.1 color 16711680 fill 15132390 width 2;
  1712. end;
  1713. end;
  1714. implementation eq
  1715. parameters
  1716. real maximum = 1;
  1717. real minimum = -1;
  1718. equations
  1719. output = limit (input, minimum, maximum);
  1720. implementation_end;
  1721. end;
  1722. connections
  1723. Gain1\output -> MSe\effort;
  1724. GY\p2 => p2;
  1725. input -> SignalLimiter2\input;
  1726. MSe\p => OneJunction2\p;
  1727. OneJunction2\p => GY\p1;
  1728. R\p <= OneJunction2\p;
  1729. SignalLimiter2\output -> Gain1\input;
  1730. end;
  1731. implementation_end;
  1732. motor_joint2 680 432
  1733. description '<Description>
  1734. <Version>4.8</Version>
  1735. <IsMainModel>1</IsMainModel>
  1736. </Description>';
  1737. type Submodel
  1738. ports
  1739. signal in input;
  1740. power out p2;
  1741. end;
  1742. implementation bg
  1743. submodels
  1744. Gain1 552 88
  1745. description '<Description><Version>4.0</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues>
  1746. <LibraryPath>Signal\Block Diagram\Gain.emx</LibraryPath>
  1747. <TimeStamp>2007-9-26 12:15:12</TimeStamp>
  1748. </Description>';
  1749. type Gain
  1750. ports
  1751. signal in input;
  1752. signal out output;
  1753. end;
  1754. icon bg bottom
  1755. figures
  1756. rectangle 536.1 72 567.9 104 color 0 fill 15132390;
  1757. text 'K' 552 88 color 16711680 16 bold;
  1758. end;
  1759. implementation eq
  1760. parameters
  1761. real K = 12.0; // gain
  1762. equations
  1763. output = K * input;
  1764. implementation_end;
  1765. GY 624 184
  1766. description '<Information>
  1767. <Description>
  1768. <Version>4.2</Version>
  1769. <IsMainModel>1</IsMainModel>
  1770. <KeepParameterValues>False</KeepParameterValues>
  1771. <LibraryPath>Bond Graph\GY.emx</LibraryPath>
  1772. <TimeStamp>2011-11-29 15:53:45</TimeStamp>
  1773. </Description>
  1774. </Information>';
  1775. type GY
  1776. ports
  1777. power in p1;
  1778. power out p2;
  1779. restrictions
  1780. causality constraint equal p1 p2;
  1781. end;
  1782. icon bg bottom
  1783. figures
  1784. text 'GY' 624 184 color 0 18 bold;
  1785. end;
  1786. implementation eq
  1787. parameters
  1788. real r = 0.127;
  1789. equations
  1790. p1.e = r * p2.f;
  1791. p2.e = r * p1.f;
  1792. implementation_end;
  1793. MSe 624 88
  1794. description '<Information>
  1795. <Description>
  1796. <Version>4.2</Version>
  1797. <IsMainModel>1</IsMainModel>
  1798. <KeepParameterValues>False</KeepParameterValues>
  1799. <LibraryPath>Bond Graph\MSe.emx</LibraryPath>
  1800. <TimeStamp>2011-11-29 16:12:33</TimeStamp>
  1801. </Description>
  1802. </Information>';
  1803. type MSe
  1804. ports
  1805. power out p;
  1806. signal in effort;
  1807. restrictions
  1808. causality fixed out p;
  1809. end;
  1810. icon bg bottom
  1811. figures
  1812. text 'MSe' 624 88 color 0 18 bold;
  1813. end;
  1814. implementation eq
  1815. variables
  1816. real flow;
  1817. equations
  1818. p.e = effort;
  1819. flow = p.f;
  1820. implementation_end;
  1821. plug input 424 88;
  1822. plug p2 624 220;
  1823. OneJunction2 624 136
  1824. description '<Information>
  1825. <Description>
  1826. <Version>4.2</Version>
  1827. <IsMainModel>1</IsMainModel>
  1828. <KeepParameterValues>False</KeepParameterValues>
  1829. <LibraryPath>Bond Graph\OneJunction.emx</LibraryPath>
  1830. <TimeStamp>2011-11-29 16:17:51</TimeStamp>
  1831. </Description>
  1832. </Information>';
  1833. knot OneJunction
  1834. ports
  1835. power knot duplicatable none p [1];
  1836. signal knot out flow [1];
  1837. restrictions
  1838. causality constraint one_out p;
  1839. end;
  1840. icon bg
  1841. figures
  1842. text '1' 624 136 color 0 18 bold;
  1843. end;
  1844. implementation eq
  1845. equations
  1846. sum (direct (p.e)) = 0;
  1847. equal (collect (p.f));
  1848. flow = first (p.f);
  1849. implementation_end;
  1850. R 664 136
  1851. description '<Information>
  1852. <Description>
  1853. <Version>4.2</Version>
  1854. <IsMainModel>1</IsMainModel>
  1855. <KeepParameterValues>False</KeepParameterValues>
  1856. <LibraryPath>Bond Graph\R.emx</LibraryPath>
  1857. <TimeStamp>2011-11-29 16:35:37</TimeStamp>
  1858. </Description>
  1859. </Information>';
  1860. type R
  1861. ports
  1862. power in p;
  1863. end;
  1864. icon bg bottom
  1865. figures
  1866. text 'R' 664 136 color 0 18 bold;
  1867. end;
  1868. implementation eq
  1869. parameters
  1870. real r = 0.08;
  1871. equations
  1872. p.e = r * p.f;
  1873. implementation_end;
  1874. SignalLimiter2 488 88
  1875. description '<Description><Version>4.0</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues>
  1876. <LibraryPath>Signal\Block Diagram Non-Linear\SignalLimiter-Limit.emx</LibraryPath>
  1877. <TimeStamp>2007-9-26 12:47:40</TimeStamp>
  1878. </Description>';
  1879. type 'SignalLimiter-Limit'
  1880. ports
  1881. signal in input;
  1882. signal out output;
  1883. end;
  1884. icon bg bottom
  1885. figures
  1886. group
  1887. rectangle 472 72 504 104 color 0 fill 15132390;
  1888. line 487.9 76.5 487.9 101 color 0 fill 15132390;
  1889. line 475 88.2 500.7 88.2 color 0 fill 15132390;
  1890. spline 481.9 95.1 493.9 81.4 color 16711680 fill 15132390 width 2;
  1891. spline 493.3 82.2 501.9 81.8 color 16711680 fill 15132390 width 2;
  1892. spline 475 95.6 481.9 95.1 color 16711680 fill 15132390 width 2;
  1893. end;
  1894. end;
  1895. implementation eq
  1896. parameters
  1897. real maximum = 1;
  1898. real minimum = -1;
  1899. equations
  1900. output = limit (input, minimum, maximum);
  1901. implementation_end;
  1902. end;
  1903. connections
  1904. Gain1\output -> MSe\effort;
  1905. GY\p2 => p2;
  1906. input -> SignalLimiter2\input;
  1907. MSe\p => OneJunction2\p;
  1908. OneJunction2\p => GY\p1;
  1909. R\p <= OneJunction2\p;
  1910. SignalLimiter2\output -> Gain1\input;
  1911. end;
  1912. implementation_end;
  1913. Negate1 272 448
  1914. description '<Description><Version>4.0</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues>
  1915. <LibraryPath>Signal\Block Diagram\Negate.emx</LibraryPath>
  1916. <TimeStamp>2007-9-26 12:14:11</TimeStamp>
  1917. </Description>';
  1918. type Negate
  1919. ports
  1920. signal in input;
  1921. signal out output;
  1922. end;
  1923. icon bg bottom
  1924. figures
  1925. rectangle 256 432 288 464 color 0 fill 15132390;
  1926. text '-1' 272 448 color 16711680 16 bold;
  1927. end;
  1928. implementation eq
  1929. equations
  1930. output = - input;
  1931. implementation_end;
  1932. Negate2 520 520
  1933. description '<Description><Version>4.0</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues>
  1934. <LibraryPath>Signal\Block Diagram\Negate.emx</LibraryPath>
  1935. <TimeStamp>2007-9-26 12:14:11</TimeStamp>
  1936. </Description>';
  1937. type Negate
  1938. ports
  1939. signal in input;
  1940. signal out output;
  1941. end;
  1942. icon bg bottom
  1943. figures
  1944. rectangle 504 504 536 536 color 0 fill 15132390;
  1945. text '-1' 520 520 color 16711680 16 bold;
  1946. end;
  1947. implementation eq
  1948. equations
  1949. output = - input;
  1950. implementation_end;
  1951. new_joint1 376 256
  1952. description '<Description><Version>4.0</Version>
  1953. <LibraryPath>Template\Submodel-Equation.emx</LibraryPath>
  1954. <IsMainModel>1</IsMainModel>
  1955. <KeepParameterValues>False</KeepParameterValues>
  1956. <TimeStamp>2007-11-1 22:32:1</TimeStamp>
  1957. <AllowLibraryUpdate>False</AllowLibraryUpdate>
  1958. </Description>';
  1959. type 'Submodel-Equation'
  1960. ports
  1961. signal in input [4,4];
  1962. signal out output;
  1963. end;
  1964. implementation eq
  1965. variables
  1966. real position[3];
  1967. real rotation[3];
  1968. real R[3,3];
  1969. equations
  1970. position = input[1:3,4];
  1971. rotation = dll('EulerAngles.dll','EulXYZsFromHMatrix',input);
  1972. //[input[3,2];input[1,3];input[2,1]];
  1973. R = input[1:3,1:3];implementation_end;
  1974. new_joint2 824 216
  1975. description '<Description><Version>4.0</Version>
  1976. <LibraryPath>Template\Submodel-Equation.emx</LibraryPath>
  1977. <IsMainModel>1</IsMainModel>
  1978. <KeepParameterValues>False</KeepParameterValues>
  1979. <TimeStamp>2007-11-1 22:32:1</TimeStamp>
  1980. <AllowLibraryUpdate>False</AllowLibraryUpdate>
  1981. </Description>';
  1982. type 'Submodel-Equation'
  1983. ports
  1984. signal in input [4,4];
  1985. signal out output;
  1986. end;
  1987. implementation eq
  1988. variables
  1989. real position[3];
  1990. real rotation[3];
  1991. real R[3,3];
  1992. equations
  1993. // start typing here
  1994. position = input[1:3,4];
  1995. rotation = [input[3,2];input[1,3];input[2,1]];
  1996. R = input[1:3,1:3];implementation_end;
  1997. new_joint3 1072 144
  1998. description '<Description><Version>4.0</Version>
  1999. <LibraryPath>Template\Submodel-Equation.emx</LibraryPath>
  2000. <IsMainModel>1</IsMainModel>
  2001. <KeepParameterValues>False</KeepParameterValues>
  2002. <TimeStamp>2007-11-1 22:32:1</TimeStamp>
  2003. <AllowLibraryUpdate>False</AllowLibraryUpdate>
  2004. </Description>';
  2005. type 'Submodel-Equation'
  2006. ports
  2007. signal in input [4,4];
  2008. signal out output;
  2009. end;
  2010. implementation eq
  2011. variables
  2012. real position[3];
  2013. real rotation[3];
  2014. real R[3,3];
  2015. equations
  2016. position = input[1:3,4];
  2017. rotation = [input[3,2];input[1,3];input[2,1]];
  2018. R = input[1:3,1:3];implementation_end;
  2019. OneJunction1 360 104
  2020. description '<Information>
  2021. <Description>
  2022. <Version>4.2</Version>
  2023. <IsMainModel>1</IsMainModel>
  2024. <KeepParameterValues>False</KeepParameterValues>
  2025. <LibraryPath>Bond Graph\OneJunction.emx</LibraryPath>
  2026. <TimeStamp>2011-11-29 16:17:51</TimeStamp>
  2027. </Description>
  2028. </Information>';
  2029. knot OneJunction
  2030. ports
  2031. power knot duplicatable none p [6,1];
  2032. signal knot out flow [6,1];
  2033. restrictions
  2034. causality constraint one_out p;
  2035. end;
  2036. icon bg
  2037. figures
  2038. text '1' 360 104 color 0 18 bold;
  2039. end;
  2040. implementation eq
  2041. equations
  2042. sum (direct (p.e)) = 0;
  2043. equal (collect (p.f));
  2044. flow = first (p.f);
  2045. implementation_end;
  2046. OneJunction12 864 104
  2047. description '<Information>
  2048. <Description>
  2049. <Version>4.2</Version>
  2050. <IsMainModel>1</IsMainModel>
  2051. <KeepParameterValues>False</KeepParameterValues>
  2052. <LibraryPath>Bond Graph\OneJunction.emx</LibraryPath>
  2053. <TimeStamp>2011-11-29 16:17:51</TimeStamp>
  2054. </Description>
  2055. </Information>';
  2056. knot OneJunction
  2057. ports
  2058. power knot duplicatable none p [6,1];
  2059. signal knot out flow [6,1];
  2060. restrictions
  2061. causality constraint one_out p;
  2062. end;
  2063. icon bg
  2064. figures
  2065. text '1' 864 104 color 0 18 bold;
  2066. end;
  2067. implementation eq
  2068. equations
  2069. sum (direct (p.e)) = 0;
  2070. equal (collect (p.f));
  2071. flow = first (p.f);
  2072. implementation_end;
  2073. OneJunction13 856 64
  2074. description '<Information>
  2075. <Description>
  2076. <Version>4.2</Version>
  2077. <IsMainModel>1</IsMainModel>
  2078. <KeepParameterValues>False</KeepParameterValues>
  2079. <LibraryPath>Bond Graph\OneJunction.emx</LibraryPath>
  2080. <TimeStamp>2011-11-29 16:17:51</TimeStamp>
  2081. </Description>
  2082. </Information>';
  2083. knot OneJunction
  2084. ports
  2085. power knot duplicatable none p [6,1];
  2086. signal knot out flow [6,1];
  2087. restrictions
  2088. causality constraint one_out p;
  2089. end;
  2090. icon bg
  2091. figures
  2092. text '1' 856 64 color 0 18 bold;
  2093. end;
  2094. implementation eq
  2095. equations
  2096. sum (direct (p.e)) = 0;
  2097. equal (collect (p.f));
  2098. flow = first (p.f);
  2099. implementation_end;
  2100. OneJunction17 520 288
  2101. description '<Information>
  2102. <Description>
  2103. <Version>4.2</Version>
  2104. <IsMainModel>1</IsMainModel>
  2105. <KeepParameterValues>False</KeepParameterValues>
  2106. <LibraryPath>Bond Graph\OneJunction.emx</LibraryPath>
  2107. <TimeStamp>2011-11-29 16:17:51</TimeStamp>
  2108. </Description>
  2109. </Information>';
  2110. knot OneJunction
  2111. ports
  2112. power knot duplicatable none p [1];
  2113. signal knot out flow [1];
  2114. restrictions
  2115. causality constraint one_out p;
  2116. end;
  2117. icon bg
  2118. figures
  2119. text '1' 520 288 color 0 18 bold;
  2120. end;
  2121. implementation eq
  2122. equations
  2123. sum (direct (p.e)) = 0;
  2124. equal (collect (p.f));
  2125. flow = first (p.f);
  2126. implementation_end;
  2127. OneJunction2 120 104
  2128. description '<Information>
  2129. <Description>
  2130. <Version>4.2</Version>
  2131. <IsMainModel>1</IsMainModel>
  2132. <KeepParameterValues>False</KeepParameterValues>
  2133. <LibraryPath>Bond Graph\OneJunction.emx</LibraryPath>
  2134. <TimeStamp>2011-11-29 16:17:51</TimeStamp>
  2135. </Description>
  2136. </Information>';
  2137. knot OneJunction
  2138. ports
  2139. power knot duplicatable none p [6,1];
  2140. signal knot out flow [6,1];
  2141. restrictions
  2142. causality constraint one_out p;
  2143. end;
  2144. icon bg
  2145. figures
  2146. text '1' 120 104 color 0 18 bold;
  2147. end;
  2148. implementation eq
  2149. equations
  2150. sum (direct (p.e)) = 0;
  2151. equal (collect (p.f));
  2152. flow = first (p.f);
  2153. implementation_end;
  2154. OneJunction3 704 104
  2155. description '<Information>
  2156. <Description>
  2157. <Version>4.2</Version>
  2158. <IsMainModel>1</IsMainModel>
  2159. <KeepParameterValues>False</KeepParameterValues>
  2160. <LibraryPath>Bond Graph\OneJunction.emx</LibraryPath>
  2161. <TimeStamp>2011-11-29 16:17:51</TimeStamp>
  2162. </Description>
  2163. </Information>';
  2164. knot OneJunction
  2165. ports
  2166. power knot duplicatable none p [6,1];
  2167. signal knot out flow [6,1];
  2168. restrictions
  2169. causality constraint one_out p;
  2170. end;
  2171. icon bg
  2172. figures
  2173. text '1' 704 104 color 0 18 bold;
  2174. end;
  2175. implementation eq
  2176. equations
  2177. sum (direct (p.e)) = 0;
  2178. equal (collect (p.f));
  2179. flow = first (p.f);
  2180. implementation_end;
  2181. OneJunction4 593 232
  2182. description '<Information>
  2183. <Description>
  2184. <Version>4.2</Version>
  2185. <IsMainModel>1</IsMainModel>
  2186. <KeepParameterValues>False</KeepParameterValues>
  2187. <LibraryPath>Bond Graph\OneJunction.emx</LibraryPath>
  2188. <TimeStamp>2011-11-29 16:17:51</TimeStamp>
  2189. </Description>
  2190. </Information>';
  2191. knot OneJunction
  2192. ports
  2193. power knot duplicatable none p [2,1];
  2194. signal knot out flow [2,1];
  2195. restrictions
  2196. causality constraint one_out p;
  2197. end;
  2198. icon bg
  2199. figures
  2200. text '1' 593 232 color 0 18 bold;
  2201. end;
  2202. implementation eq
  2203. equations
  2204. sum (direct (p.e)) = 0;
  2205. equal (collect (p.f));
  2206. flow = first (p.f);
  2207. implementation_end;
  2208. OneJunction5 257 240
  2209. description '<Information>
  2210. <Description>
  2211. <Version>4.2</Version>
  2212. <IsMainModel>1</IsMainModel>
  2213. <KeepParameterValues>False</KeepParameterValues>
  2214. <LibraryPath>Bond Graph\OneJunction.emx</LibraryPath>
  2215. <TimeStamp>2011-11-29 16:17:51</TimeStamp>
  2216. </Description>
  2217. </Information>';
  2218. knot OneJunction
  2219. ports
  2220. power knot duplicatable none p [2,1];
  2221. signal knot out flow [2,1];
  2222. restrictions
  2223. causality constraint one_out p;
  2224. end;
  2225. icon bg
  2226. figures
  2227. text '1' 257 240 color 0 18 bold;
  2228. end;
  2229. implementation eq
  2230. equations
  2231. sum (direct (p.e)) = 0;
  2232. equal (collect (p.f));
  2233. flow = first (p.f);
  2234. implementation_end;
  2235. OneJunction6 257 256
  2236. description '<Information>
  2237. <Description>
  2238. <Version>4.2</Version>
  2239. <IsMainModel>1</IsMainModel>
  2240. <KeepParameterValues>False</KeepParameterValues>
  2241. <LibraryPath>Bond Graph\OneJunction.emx</LibraryPath>
  2242. <TimeStamp>2011-11-29 16:17:51</TimeStamp>
  2243. </Description>
  2244. </Information>';
  2245. knot OneJunction
  2246. ports
  2247. power knot duplicatable none p [3,1];
  2248. signal knot out flow [3,1];
  2249. restrictions
  2250. causality constraint one_out p;
  2251. end;
  2252. icon bg
  2253. figures
  2254. text '1' 257 256 color 0 18 bold;
  2255. end;
  2256. implementation eq
  2257. equations
  2258. sum (direct (p.e)) = 0;
  2259. equal (collect (p.f));
  2260. flow = first (p.f);
  2261. implementation_end;
  2262. OneJunction7 593 248
  2263. description '<Information>
  2264. <Description>
  2265. <Version>4.2</Version>
  2266. <IsMainModel>1</IsMainModel>
  2267. <KeepParameterValues>False</KeepParameterValues>
  2268. <LibraryPath>Bond Graph\OneJunction.emx</LibraryPath>
  2269. <TimeStamp>2011-11-29 16:17:51</TimeStamp>
  2270. </Description>
  2271. </Information>';
  2272. knot OneJunction
  2273. ports
  2274. power knot duplicatable none p [3,1];
  2275. signal knot out flow [3,1];
  2276. restrictions
  2277. causality constraint one_out p;
  2278. end;
  2279. icon bg
  2280. figures
  2281. text '1' 593 248 color 0 18 bold;
  2282. end;
  2283. implementation eq
  2284. equations
  2285. sum (direct (p.e)) = 0;
  2286. equal (collect (p.f));
  2287. flow = first (p.f);
  2288. implementation_end;
  2289. PID1 584 432
  2290. description '<Description>
  2291. <Version>4.0</Version>
  2292. <IsMainModel>1</IsMainModel>
  2293. <KeepParameterValues>False</KeepParameterValues>
  2294. <LibraryPath>Signal\Control\PID Control\Continuous\PD.emx</LibraryPath>
  2295. <TimeStamp>2008-1-17 10:49:7</TimeStamp>
  2296. </Description>';
  2297. type PD
  2298. ports
  2299. signal in error;
  2300. signal out output;
  2301. end;
  2302. icon bg bottom
  2303. figures
  2304. rectangle 568 416 600 448 color 0 fill 15132390;
  2305. text 'PD' 584.5 432.1 color 16711680 18 bold;
  2306. end;
  2307. implementation eq
  2308. parameters
  2309. real kp = 2 {}; // Proportional gain
  2310. real tauD = 0.6 {s}; // Derivative time constant: tauD > 0
  2311. real beta = 0.4{}; // Tameness constant: 0 < beta << 1
  2312. variables
  2313. real state, rate;
  2314. equations
  2315. rate = (kp * error - output) / (beta * tauD);
  2316. state = int (rate);
  2317. output = state + kp * error / beta;
  2318. implementation_end;
  2319. PID2 200 384
  2320. description '<Description>
  2321. <Version>4.0</Version>
  2322. <IsMainModel>1</IsMainModel>
  2323. <KeepParameterValues>False</KeepParameterValues>
  2324. <LibraryPath>Signal\Control\PID Control\Continuous\PD.emx</LibraryPath>
  2325. <TimeStamp>2008-1-17 10:49:7</TimeStamp>
  2326. </Description>';
  2327. type PD
  2328. ports
  2329. signal in error;
  2330. signal out output;
  2331. end;
  2332. icon bg bottom
  2333. figures
  2334. rectangle 184 368 216 400 color 0 fill 15132390;
  2335. text 'PD' 200.5 384.1 color 16711680 18 bold;
  2336. end;
  2337. implementation eq
  2338. parameters
  2339. real kp = 2 {}; // Proportional gain
  2340. real tauD = 0.6 {s}; // Derivative time constant: tauD > 0
  2341. real beta = 0.4{}; // Tameness constant: 0 < beta << 1
  2342. variables
  2343. real state, rate;
  2344. equations
  2345. rate = (kp * error - output) / (beta * tauD);
  2346. state = int (rate);
  2347. output = state + kp * error / beta;
  2348. implementation_end;
  2349. PlusMinus4 272 384
  2350. description '<Description><Version>4.0</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues>
  2351. <LibraryPath>Signal\Block Diagram\PlusMinus.emx</LibraryPath>
  2352. <TimeStamp>2007-9-27 10:15:13</TimeStamp>
  2353. </Description>';
  2354. knot PlusMinus
  2355. ports
  2356. signal knot duplicatable in plus [1];
  2357. signal knot duplicatable in minus [1];
  2358. signal knot out output [1];
  2359. end;
  2360. icon bg ellipse
  2361. figures
  2362. ellipse 264 376 280 392 color 0 fill 16777215;
  2363. end;
  2364. implementation eq
  2365. equations
  2366. output = sum (collect (plus)) - sum (collect (minus));
  2367. implementation_end;
  2368. PlusMinus5 520 432
  2369. description '<Description><Version>4.0</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues>
  2370. <LibraryPath>Signal\Block Diagram\PlusMinus.emx</LibraryPath>
  2371. <TimeStamp>2007-9-27 10:15:13</TimeStamp>
  2372. </Description>';
  2373. knot PlusMinus
  2374. ports
  2375. signal knot duplicatable in plus [1];
  2376. signal knot duplicatable in minus [1];
  2377. signal knot out output [1];
  2378. end;
  2379. icon bg ellipse
  2380. figures
  2381. ellipse 512 424 528 440 color 0 fill 16777215;
  2382. end;
  2383. implementation eq
  2384. equations
  2385. output = sum (collect (plus)) - sum (collect (minus));
  2386. implementation_end;
  2387. PowerMux 200 214
  2388. specifications active 'rot_x'
  2389. specification 'rot_x'
  2390. description '<Information>
  2391. <Description>
  2392. <Version>4.8</Version>
  2393. <LibraryPath>Bond Graph\MR\PowerMux-Rotation.emx</LibraryPath>
  2394. <TimeStamp>2020-7-20 14:35:23</TimeStamp>
  2395. <IsMainModel>1</IsMainModel>
  2396. <KeepParameterValues>False</KeepParameterValues>
  2397. <AllowLibraryUpdate>True</AllowLibraryUpdate>
  2398. </Description>
  2399. </Information>';
  2400. type 'PowerMux-Rotation'
  2401. ports
  2402. power in input;
  2403. power out output [6,1];
  2404. power in input_rot2 [2,1];
  2405. power in input_pos3 [3,1];
  2406. restrictions
  2407. causality constraint not_equal input output;
  2408. causality constraint not_equal input_rot2 output;
  2409. causality constraint not_equal input_pos3 output;
  2410. end;
  2411. icon bg bottom
  2412. figures
  2413. line 176 216 224 216 color 0 width 2;
  2414. rectangle 176 208 224 220 color -1;
  2415. text '1' 194 211 color 8421504 8;
  2416. terminals
  2417. input 184 216 fixed;
  2418. output 200 216 fixed;
  2419. input_rot2 216 216 fixed;
  2420. input_pos3 200 216 fixed;
  2421. end;
  2422. implementation eq
  2423. equations
  2424. output.e[1] = input.e;
  2425. output.e[2:3] = input_rot2.e;
  2426. output.e[4:6] = input_pos3.e;
  2427. output.f[1] = input.f;
  2428. output.f[2:3] = input_rot2.f;
  2429. output.f[4:6] = input_pos3.f;implementation_end;
  2430. specification_end;
  2431. specification 'rot_y'
  2432. description '<Description>
  2433. <Version>4.1</Version>
  2434. <LibraryPath>Bond Graph\PowerMux.emx</LibraryPath>
  2435. <TimeStamp>2011-3-4 15:12:50</TimeStamp>
  2436. <IsMainModel>1</IsMainModel>
  2437. <KeepParameterValues>False</KeepParameterValues>
  2438. <AllowLibraryUpdate>True</AllowLibraryUpdate>
  2439. </Description>';
  2440. type PowerMux
  2441. ports
  2442. power in input;
  2443. power out output [6,1];
  2444. power in input_rot2 [2,1];
  2445. power in input_pos3 [3,1];
  2446. restrictions
  2447. causality constraint not_equal input output;
  2448. end;
  2449. icon bg bottom
  2450. figures
  2451. line 808 216 808 264 color 0 width 2;
  2452. rectangle 804 216 816 264 color -1;
  2453. text '1' 813 234 color 8421504 8;
  2454. terminals
  2455. input 808 224 fixed;
  2456. output 808 240 fixed;
  2457. input_rot2 808 256 fixed;
  2458. input_pos3 808 240 fixed;
  2459. end;
  2460. implementation eq
  2461. equations
  2462. output.e[1] = input_rot2.e[1];
  2463. output.e[2] = input.e;
  2464. output.e[3] = input_rot2.e[2];
  2465. output.e[4:6] = input_pos3.e;
  2466. output.f[1] = input_rot2.f[1];
  2467. output.f[2] = input.f;
  2468. output.f[3] = input_rot2.f[2];
  2469. output.f[4:6] = input_pos3.f;implementation_end;
  2470. specification_end;
  2471. specification 'rot_z'
  2472. description '<Description>
  2473. <Version>4.1</Version>
  2474. <LibraryPath>Bond Graph\PowerMux.emx</LibraryPath>
  2475. <TimeStamp>2011-3-4 15:12:50</TimeStamp>
  2476. <IsMainModel>1</IsMainModel>
  2477. <KeepParameterValues>False</KeepParameterValues>
  2478. <AllowLibraryUpdate>True</AllowLibraryUpdate>
  2479. </Description>';
  2480. type PowerMux
  2481. ports
  2482. power in input;
  2483. power out output [6,1];
  2484. power in input_rot2 [2,1];
  2485. power in input_pos3 [3,1];
  2486. restrictions
  2487. causality constraint not_equal input output;
  2488. end;
  2489. icon bg bottom
  2490. figures
  2491. line 808 216 808 264 color 0 width 2;
  2492. rectangle 804 216 816 264 color -1;
  2493. text '1' 813 234 color 8421504 8;
  2494. terminals
  2495. input 808 224 fixed;
  2496. output 808 240 fixed;
  2497. input_rot2 808 256 fixed;
  2498. input_pos3 808 240 fixed;
  2499. end;
  2500. implementation eq
  2501. equations
  2502. output.e[3] = input.e;
  2503. output.e[1:2] = input_rot2.e;
  2504. output.e[4:6] = input_pos3.e;
  2505. output.f[3] = input.f;
  2506. output.f[1:2] = input_rot2.f;
  2507. output.f[4:6] = input_pos3.f;implementation_end;
  2508. specification_end;
  2509. end;
  2510. PowerMux1 536 206
  2511. specifications active 'rot_x'
  2512. specification 'rot_x'
  2513. description '<Information>
  2514. <Description>
  2515. <Version>4.8</Version>
  2516. <LibraryPath>Bond Graph\MR\PowerMux-Rotation.emx</LibraryPath>
  2517. <TimeStamp>2020-7-20 14:35:23</TimeStamp>
  2518. <IsMainModel>1</IsMainModel>
  2519. <KeepParameterValues>False</KeepParameterValues>
  2520. <AllowLibraryUpdate>True</AllowLibraryUpdate>
  2521. </Description>
  2522. </Information>';
  2523. type 'PowerMux-Rotation'
  2524. ports
  2525. power in input;
  2526. power out output [6,1];
  2527. power in input_rot2 [2,1];
  2528. power in input_pos3 [3,1];
  2529. restrictions
  2530. causality constraint not_equal input output;
  2531. causality constraint not_equal input_rot2 output;
  2532. causality constraint not_equal input_pos3 output;
  2533. end;
  2534. icon bg bottom
  2535. figures
  2536. line 512 208 560 208 color 0 width 2;
  2537. rectangle 512 200 560 212 color -1;
  2538. text '1' 530 203 color 8421504 8;
  2539. terminals
  2540. input 520 208 fixed;
  2541. output 536 208 fixed;
  2542. input_rot2 552 208 fixed;
  2543. input_pos3 536 208 fixed;
  2544. end;
  2545. implementation eq
  2546. equations
  2547. output.e[1] = input.e;
  2548. output.e[2:3] = input_rot2.e;
  2549. output.e[4:6] = input_pos3.e;
  2550. output.f[1] = input.f;
  2551. output.f[2:3] = input_rot2.f;
  2552. output.f[4:6] = input_pos3.f;implementation_end;
  2553. specification_end;
  2554. specification 'rot_y'
  2555. description '<Description>
  2556. <Version>4.1</Version>
  2557. <LibraryPath>Bond Graph\PowerMux.emx</LibraryPath>
  2558. <TimeStamp>2011-3-4 15:12:50</TimeStamp>
  2559. <IsMainModel>1</IsMainModel>
  2560. <KeepParameterValues>False</KeepParameterValues>
  2561. <AllowLibraryUpdate>True</AllowLibraryUpdate>
  2562. </Description>';
  2563. type PowerMux
  2564. ports
  2565. power in input;
  2566. power out output [6,1];
  2567. power in input_rot2 [2,1];
  2568. power in input_pos3 [3,1];
  2569. restrictions
  2570. causality constraint not_equal input output;
  2571. end;
  2572. icon bg bottom
  2573. figures
  2574. line 808 216 808 264 color 0 width 2;
  2575. rectangle 804 216 816 264 color -1;
  2576. text '1' 813 234 color 8421504 8;
  2577. terminals
  2578. input 808 224 fixed;
  2579. output 808 240 fixed;
  2580. input_rot2 808 256 fixed;
  2581. input_pos3 808 240 fixed;
  2582. end;
  2583. implementation eq
  2584. equations
  2585. output.e[1] = input_rot2.e[1];
  2586. output.e[2] = input.e;
  2587. output.e[3] = input_rot2.e[2];
  2588. output.e[4:6] = input_pos3.e;
  2589. output.f[1] = input_rot2.f[1];
  2590. output.f[2] = input.f;
  2591. output.f[3] = input_rot2.f[2];
  2592. output.f[4:6] = input_pos3.f;implementation_end;
  2593. specification_end;
  2594. specification 'rot_z'
  2595. description '<Description>
  2596. <Version>4.1</Version>
  2597. <LibraryPath>Bond Graph\PowerMux.emx</LibraryPath>
  2598. <TimeStamp>2011-3-4 15:12:50</TimeStamp>
  2599. <IsMainModel>1</IsMainModel>
  2600. <KeepParameterValues>False</KeepParameterValues>
  2601. <AllowLibraryUpdate>True</AllowLibraryUpdate>
  2602. </Description>';
  2603. type PowerMux
  2604. ports
  2605. power in input;
  2606. power out output [6,1];
  2607. power in input_rot2 [2,1];
  2608. power in input_pos3 [3,1];
  2609. restrictions
  2610. causality constraint not_equal input output;
  2611. end;
  2612. icon bg bottom
  2613. figures
  2614. line 808 216 808 264 color 0 width 2;
  2615. rectangle 804 216 816 264 color -1;
  2616. text '1' 813 234 color 8421504 8;
  2617. terminals
  2618. input 808 224 fixed;
  2619. output 808 240 fixed;
  2620. input_rot2 808 256 fixed;
  2621. input_pos3 808 240 fixed;
  2622. end;
  2623. implementation eq
  2624. equations
  2625. output.e[3] = input.e;
  2626. output.e[1:2] = input_rot2.e;
  2627. output.e[4:6] = input_pos3.e;
  2628. output.f[3] = input.f;
  2629. output.f[1:2] = input_rot2.f;
  2630. output.f[4:6] = input_pos3.f;implementation_end;
  2631. specification_end;
  2632. end;
  2633. R1 472 288
  2634. description '<Information>
  2635. <Description>
  2636. <Version>4.2</Version>
  2637. <IsMainModel>1</IsMainModel>
  2638. <KeepParameterValues>False</KeepParameterValues>
  2639. <LibraryPath>Bond Graph\R.emx</LibraryPath>
  2640. <TimeStamp>2011-11-29 16:35:37</TimeStamp>
  2641. </Description>
  2642. </Information>';
  2643. type R
  2644. ports
  2645. power in p;
  2646. end;
  2647. icon bg bottom
  2648. figures
  2649. text 'R' 472 288 color 0 18 bold;
  2650. end;
  2651. implementation eq
  2652. parameters
  2653. real r = 0.01;
  2654. equations
  2655. p.e = r * p.f;
  2656. implementation_end;
  2657. R2 257 184
  2658. description '<Description><Version>4.0</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues>
  2659. <LibraryPath>Bond Graph\2D\R-2.emx</LibraryPath>
  2660. <TimeStamp>2007-9-25 12:6:54</TimeStamp>
  2661. </Description>';
  2662. type 'R-2'
  2663. ports
  2664. power in p [2,1];
  2665. end;
  2666. icon bg bottom
  2667. figures
  2668. text 'R' 257 184 color 0 18 bold;
  2669. end;
  2670. implementation eq
  2671. parameters
  2672. real r[2,2] = [1.0, 0.0; 0.0, 1.0] {kN.m.s/rad};
  2673. equations
  2674. p.e = r * p.f;
  2675. implementation_end;
  2676. R3 257 312
  2677. description '<Description><Version>4.0</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues>
  2678. <LibraryPath>Bond Graph\3D\R-3.emx</LibraryPath>
  2679. <TimeStamp>2007-9-25 12:11:54</TimeStamp>
  2680. </Description>';
  2681. type 'R-3'
  2682. ports
  2683. power in p [3,1];
  2684. end;
  2685. icon bg bottom
  2686. figures
  2687. text 'R' 257 312 color 0 18 bold;
  2688. end;
  2689. implementation eq
  2690. parameters
  2691. real r[3,3] = [1.0, 0.0, 0.0; 0.0, 1.0, 0.0; 0.0, 0.0, 1.0] {kN.s/m};
  2692. equations
  2693. p.e = r * p.f;
  2694. implementation_end;
  2695. R4 593 176
  2696. description '<Description><Version>4.0</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues>
  2697. <LibraryPath>Bond Graph\2D\R-2.emx</LibraryPath>
  2698. <TimeStamp>2007-9-25 12:6:54</TimeStamp>
  2699. </Description>';
  2700. type 'R-2'
  2701. ports
  2702. power in p [2,1];
  2703. end;
  2704. icon bg bottom
  2705. figures
  2706. text 'R' 593 176 color 0 18 bold;
  2707. end;
  2708. implementation eq
  2709. parameters
  2710. real r[2,2] = [1.0, 0.0; 0.0, 1.0] {kN.m.s/rad};
  2711. equations
  2712. p.e = r * p.f;
  2713. implementation_end;
  2714. R5 593 304
  2715. description '<Description><Version>4.0</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues>
  2716. <LibraryPath>Bond Graph\3D\R-3.emx</LibraryPath>
  2717. <TimeStamp>2007-9-25 12:11:54</TimeStamp>
  2718. </Description>';
  2719. type 'R-3'
  2720. ports
  2721. power in p [3,1];
  2722. end;
  2723. icon bg bottom
  2724. figures
  2725. text 'R' 593 304 color 0 18 bold;
  2726. end;
  2727. implementation eq
  2728. parameters
  2729. real r[3,3] = [1.0, 0.0, 0.0; 0.0, 1.0, 0.0; 0.0, 0.0, 1.0] {kN.s/m};
  2730. equations
  2731. p.e = r * p.f;
  2732. implementation_end;
  2733. R6 464 256
  2734. description '<Information>
  2735. <Description>
  2736. <Version>4.2</Version>
  2737. <IsMainModel>1</IsMainModel>
  2738. <KeepParameterValues>False</KeepParameterValues>
  2739. <LibraryPath>Bond Graph\R.emx</LibraryPath>
  2740. <TimeStamp>2011-11-29 16:35:37</TimeStamp>
  2741. </Description>
  2742. </Information>';
  2743. type R
  2744. ports
  2745. power in p;
  2746. end;
  2747. icon bg bottom
  2748. figures
  2749. text 'R' 464 256 color 0 18 bold;
  2750. end;
  2751. implementation eq
  2752. parameters
  2753. real r = 1000;
  2754. equations
  2755. p.e = r * p.f;
  2756. implementation_end;
  2757. R7 56 288
  2758. description '<Information>
  2759. <Description>
  2760. <Version>4.2</Version>
  2761. <IsMainModel>1</IsMainModel>
  2762. <KeepParameterValues>False</KeepParameterValues>
  2763. <LibraryPath>Bond Graph\R.emx</LibraryPath>
  2764. <TimeStamp>2011-11-29 16:35:37</TimeStamp>
  2765. </Description>
  2766. </Information>';
  2767. type R
  2768. ports
  2769. power in p;
  2770. end;
  2771. icon bg bottom
  2772. figures
  2773. text 'R' 56 288 color 0 18 bold;
  2774. end;
  2775. implementation eq
  2776. parameters
  2777. real r = 0.01;
  2778. equations
  2779. p.e = r * p.f;
  2780. implementation_end;
  2781. rectanglepath 80 520
  2782. description '<Information>
  2783. <Description>
  2784. <Version>4.8</Version>
  2785. <LibraryPath>setpoint\rectanglepath.emx</LibraryPath>
  2786. <IsMainModel>1</IsMainModel>
  2787. <KeepParameterValues>False</KeepParameterValues>
  2788. <TimeStamp>2020-7-10 12:30:38</TimeStamp>
  2789. <AllowLibraryUpdate>False</AllowLibraryUpdate>
  2790. </Description>
  2791. </Information>';
  2792. type 'Submodel-Equation'
  2793. ports
  2794. signal out output [2,1];
  2795. end;
  2796. implementation eq
  2797. /*
  2798. This will generate coordinates for the box that has to be drawn
  2799. */
  2800. parameters
  2801. real w = 0.07{m} ;
  2802. real h = 0.05 {m};
  2803. real t = 0.5 {s};
  2804. real origin[2] = [0.01,0.03]{m};
  2805. variables
  2806. real v {m/s};
  2807. real t_w {s};
  2808. real t_h {s};
  2809. real period {s};
  2810. real test1, test2, test3;
  2811. initialequations
  2812. v = (2*w + 2*h)/t;
  2813. t_w = w / v;
  2814. t_h = h / v;
  2815. equations
  2816. period = floor(time / t) * t;
  2817. output[1] = v*(ramp(period+t_h) - ramp(period + t_w+t_h) - ramp(period + t_w + t_h + t_h)) + origin[1];
  2818. output[2] = v*(ramp(period) - ramp(period + t_h) - ramp(period + t_h + t_w) + ramp(period + 2 * t_h + t_w))+ origin[2];
  2819. implementation_end;
  2820. rectanglepath1 272 632
  2821. description '<Information>
  2822. <Description>
  2823. <Version>4.8</Version>
  2824. <LibraryPath>setpoint\rectanglepath.emx</LibraryPath>
  2825. <IsMainModel>1</IsMainModel>
  2826. <KeepParameterValues>False</KeepParameterValues>
  2827. <TimeStamp>2020-7-10 12:30:38</TimeStamp>
  2828. <AllowLibraryUpdate>False</AllowLibraryUpdate>
  2829. </Description>
  2830. </Information>';
  2831. type 'Submodel-Equation'
  2832. ports
  2833. signal out output [2,1];
  2834. end;
  2835. icon bg
  2836. figures
  2837. rectangle 216 616 328 648 color 0 fill 15132390;
  2838. text 'name' 272 632 color 0 'Clear Sans' 16;
  2839. end;
  2840. implementation eq
  2841. /*
  2842. This will generate coordinates for the box that has to be drawn
  2843. */
  2844. parameters
  2845. real w = 0.07{m} ;
  2846. real h = 0.05 {m};
  2847. real t = 2 {s};
  2848. real origin[2] = [0.01,0.03]{m};
  2849. variables
  2850. real v {m/s};
  2851. real t_w {s};
  2852. real t_h {s};
  2853. real period {s};
  2854. real y;
  2855. initialequations
  2856. v = (2*w + 2*h)/t;
  2857. t_w = w / v;
  2858. t_h = h / v;
  2859. code
  2860. y = frequencyevent (t,0);
  2861. period = time - floor(time / t) * t;
  2862. if period < t_w or time > 3 then
  2863. output = origin;
  2864. else
  2865. if period < t_w + t_h then
  2866. output = origin + [w;0];
  2867. else
  2868. if period < 2 * t_w + t_h then
  2869. output = origin + [w;h];
  2870. else
  2871. output = origin + [0;h];
  2872. end;
  2873. end;
  2874. end;
  2875. //output[1] = v*(ramp(period+t_h) - ramp(period + t_w+t_h) - ramp(period + t_w + t_h + t_h)) + origin[1];
  2876. //output[2] = v*(ramp(period) - ramp(period + t_h) - ramp(period + t_h + t_w) + ramp(period + 2 * t_h + t_w))+ origin[2];
  2877. implementation_end;
  2878. Sf2 64 104
  2879. description '<Description><Version>4.0</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues>
  2880. <LibraryPath>Bond Graph\2D\Sf-2.emx</LibraryPath>
  2881. <TimeStamp>2007-9-25 12:7:5</TimeStamp>
  2882. </Description>';
  2883. type 'Sf-2'
  2884. ports
  2885. power out p [6,1];
  2886. restrictions
  2887. causality fixed in p;
  2888. end;
  2889. icon bg bottom
  2890. figures
  2891. text 'Sf' 64 104 color 0 18 bold;
  2892. end;
  2893. implementation eq
  2894. parameters
  2895. real flow[6,1] = 0;
  2896. variables
  2897. real effort [6];
  2898. equations
  2899. p.f = flow;
  2900. effort = p.e;
  2901. implementation_end;
  2902. Splitter1 392 136
  2903. description '<Description><Version>4.0</Version>
  2904. <LibraryPath>Signal\Block Diagram\Splitter.emx</LibraryPath>
  2905. <TimeStamp>2008-01-17 11:28:29</TimeStamp>
  2906. <IsMainModel>1</IsMainModel>
  2907. <KeepParameterValues>False</KeepParameterValues>
  2908. </Description>';
  2909. knot Splitter
  2910. ports
  2911. signal knot duplicatable out output [4,4];
  2912. signal knot in input [4,4];
  2913. end;
  2914. icon bg ellipse
  2915. figures
  2916. ellipse 388.8 132.8 395.2 139.2 color -1 fill 0;
  2917. ellipse 387.7 131.7 396.3 140.3 color -1;
  2918. terminals
  2919. input 392 136 fixed;
  2920. end;
  2921. implementation eq
  2922. equations
  2923. collect (output) = input;
  2924. implementation_end;
  2925. Splitter2 736 136
  2926. description '<Description><Version>4.0</Version>
  2927. <LibraryPath>Signal\Block Diagram\Splitter.emx</LibraryPath>
  2928. <TimeStamp>2008-01-17 11:28:29</TimeStamp>
  2929. <IsMainModel>1</IsMainModel>
  2930. <KeepParameterValues>False</KeepParameterValues>
  2931. </Description>';
  2932. knot Splitter
  2933. ports
  2934. signal knot duplicatable out output [4,4];
  2935. signal knot in input [4,4];
  2936. end;
  2937. icon bg ellipse
  2938. figures
  2939. ellipse 732.8 132.8 739.2 139.2 color -1 fill 0;
  2940. ellipse 731.7 131.7 740.3 140.3 color -1;
  2941. terminals
  2942. input 736 136 fixed;
  2943. end;
  2944. implementation eq
  2945. equations
  2946. collect (output) = input;
  2947. implementation_end;
  2948. Zero 112 136
  2949. description '<Description><Version>4.0</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues>
  2950. <LibraryPath>Signal\Sources\Zero.emx</LibraryPath>
  2951. <TimeStamp>2007-9-27 15:54:36</TimeStamp>
  2952. </Description>
  2953. ';
  2954. type Zero
  2955. ports
  2956. signal out output [4,4];
  2957. end;
  2958. icon bg bottom
  2959. figures
  2960. rectangle 96.1 120 127.9 152 color 0 fill 15132390;
  2961. text '0' 112 136 color 16711680 18 bold;
  2962. end;
  2963. implementation eq
  2964. equations
  2965. output = eye(4);implementation_end;
  2966. ZeroJunction1 112 328
  2967. description '<Information>
  2968. <Description>
  2969. <Version>4.2</Version>
  2970. <IsMainModel>1</IsMainModel>
  2971. <KeepParameterValues>False</KeepParameterValues>
  2972. <LibraryPath>Bond Graph\OneJunction.emx</LibraryPath>
  2973. <TimeStamp>2011-11-29 16:17:51</TimeStamp>
  2974. </Description>
  2975. </Information>';
  2976. knot OneJunction
  2977. ports
  2978. power knot duplicatable none p [1];
  2979. signal knot out flow [1];
  2980. restrictions
  2981. causality constraint one_out p;
  2982. end;
  2983. icon bg
  2984. figures
  2985. text '1' 112 328 color 0 18 bold;
  2986. end;
  2987. implementation eq
  2988. equations
  2989. sum (direct (p.e)) = 0;
  2990. equal (collect (p.f));
  2991. flow = first (p.f);
  2992. implementation_end;
  2993. ZeroJunction2 656 368
  2994. description '<Information>
  2995. <Description>
  2996. <Version>4.2</Version>
  2997. <IsMainModel>1</IsMainModel>
  2998. <KeepParameterValues>False</KeepParameterValues>
  2999. <LibraryPath>Bond Graph\OneJunction.emx</LibraryPath>
  3000. <TimeStamp>2011-11-29 16:17:51</TimeStamp>
  3001. </Description>
  3002. </Information>';
  3003. knot OneJunction
  3004. ports
  3005. power knot duplicatable none p [1];
  3006. signal knot out flow [1];
  3007. restrictions
  3008. causality constraint one_out p;
  3009. end;
  3010. icon bg
  3011. figures
  3012. text '1' 656 368 color 0 18 bold;
  3013. end;
  3014. implementation eq
  3015. equations
  3016. sum (direct (p.e)) = 0;
  3017. equal (collect (p.f));
  3018. flow = first (p.f);
  3019. implementation_end;
  3020. ZeroJunction7 112 288
  3021. description '<Information>
  3022. <Description>
  3023. <Version>4.2</Version>
  3024. <IsMainModel>1</IsMainModel>
  3025. <KeepParameterValues>False</KeepParameterValues>
  3026. <LibraryPath>Bond Graph\OneJunction.emx</LibraryPath>
  3027. <TimeStamp>2011-11-29 16:17:51</TimeStamp>
  3028. </Description>
  3029. </Information>';
  3030. knot OneJunction
  3031. ports
  3032. power knot duplicatable none p [1];
  3033. signal knot out flow [1];
  3034. restrictions
  3035. causality constraint one_out p;
  3036. end;
  3037. icon bg
  3038. figures
  3039. text '1' 112 288 color 0 18 bold;
  3040. end;
  3041. implementation eq
  3042. equations
  3043. sum (direct (p.e)) = 0;
  3044. equal (collect (p.f));
  3045. flow = first (p.f);
  3046. implementation_end;
  3047. end;
  3048. connections
  3049. Base1\Hout -> new_joint2\input;
  3050. Base2\Hout -> new_joint3\input;
  3051. Base3\Hin <- Splitter1\output;
  3052. Base3\Hout -> new_joint1\input;
  3053. C1\p <= OneJunction7\p;
  3054. C2\p <= OneJunction6\p;
  3055. Integrate\input <- ZeroJunction7\flow;
  3056. Integrate\output -> PlusMinus4\minus;
  3057. Integrate1\output -> PlusMinus5\minus;
  3058. inverse_kinematics1\angle1 -> Negate1\input;
  3059. inverse_kinematics1\angle2 -> Negate2\input;
  3060. Joint1\Hout -> Link\Hin;
  3061. Joint1\Pdiff <= PowerMux\output;
  3062. Joint1\Pin <= Link\Pout;
  3063. Joint1\Pout => OneJunction2\p;
  3064. Joint2\Hout -> Link2\Hin;
  3065. Joint2\Pdiff <= PowerMux1\output;
  3066. Joint2\Pin <= Link2\Pout;
  3067. Link\Pin <= OneJunction1\p;
  3068. Link1\Hout -> Joint2\Hin;
  3069. Link1\Pin <= Joint2\Pout;
  3070. Link1\Pout => OneJunction1\p;
  3071. Link2\Hout -> Splitter2\input;
  3072. Link2\Pin <= OneJunction3\p;
  3073. Link3\Hout -> Base2\Hin;
  3074. Link3\Pin <= OneJunction12\p;
  3075. Link3\Pout => OneJunction3\p;
  3076. motor_joint1\p2 => ZeroJunction1\p;
  3077. motor_joint2\p2 => ZeroJunction2\p;
  3078. Negate1\output -> PlusMinus4\plus;
  3079. Negate2\output -> PlusMinus5\plus;
  3080. OneJunction1\p => Base3\p;
  3081. OneJunction13\p => Base2\p;
  3082. OneJunction17\flow -> Integrate1\input;
  3083. OneJunction17\p => C5\p;
  3084. OneJunction3\p => Base1\p;
  3085. OneJunction4\p => C4\p;
  3086. OneJunction4\p => R4\p;
  3087. OneJunction5\p => C3\p;
  3088. OneJunction5\p => R2\p;
  3089. OneJunction6\p => R3\p;
  3090. OneJunction7\p => R5\p;
  3091. PID1\error <- PlusMinus5\output;
  3092. PID1\output -> motor_joint2\input;
  3093. PID2\output -> motor_joint1\input;
  3094. PlusMinus4\output -> PID2\error;
  3095. PowerMux\input_pos3 <= OneJunction6\p;
  3096. PowerMux\input_rot2 <= OneJunction5\p;
  3097. PowerMux1\input <= OneJunction17\p;
  3098. PowerMux1\input_pos3 <= OneJunction7\p;
  3099. PowerMux1\input_rot2 <= OneJunction4\p;
  3100. R1\p <= OneJunction17\p;
  3101. R6\p <= OneJunction17\p;
  3102. R7\p <= ZeroJunction7\p;
  3103. rectanglepath1\output -> inverse_kinematics1\input;
  3104. Sf2\p => OneJunction2\p;
  3105. Splitter1\input <- Link\Hout;
  3106. Splitter1\output -> Link1\Hin;
  3107. Splitter2\output -> Base1\Hin;
  3108. Splitter2\output -> Link3\Hin;
  3109. Zero\output -> Joint1\Hin;
  3110. ZeroJunction7\p => PowerMux\input;
  3111. end;
  3112. implementation_end;
  3113. ]]>
  3114. </Sidops>
  3115. </Model>
  3116. <Experiments>
  3117. <DefaultExperiment><![CDATA[Experiment 1]]>
  3118. </DefaultExperiment>
  3119. <Experiment>
  3120. <Name>Experiment 1</Name>
  3121. <CreatedBy></CreatedBy>
  3122. <Info></Info>
  3123. <ExpData>
  3124. <VersionNumber>4.8</VersionNumber>
  3125. <ModelProperties>
  3126. <ModelProperty section="GenSimProps" entry="ClearVarsAtStart" value="1"/>
  3127. <ModelProperty section="tools\graph editor" entry="debugMode" value="0"/>
  3128. </ModelProperties>
  3129. <Variables>
  3130. <Constants>
  3131. </Constants>
  3132. <Parameters>
  3133. </Parameters>
  3134. <Initials>
  3135. <Variable>
  3136. <Name>Base1\InertialTensor\state_initial</Name>
  3137. <Rows>6</Rows>
  3138. <Columns>1</Columns>
  3139. <Value>0 0 0 0 0 0</Value>
  3140. </Variable>
  3141. <Variable>
  3142. <Name>Base2\InertialTensor\state_initial</Name>
  3143. <Rows>6</Rows>
  3144. <Columns>1</Columns>
  3145. <Value>0 0 0 0 0 0</Value>
  3146. </Variable>
  3147. <Variable>
  3148. <Name>Base3\InertialTensor\state_initial</Name>
  3149. <Rows>6</Rows>
  3150. <Columns>1</Columns>
  3151. <Value>0 0 0 0 0 0</Value>
  3152. </Variable>
  3153. <Variable>
  3154. <Name>C1\state_initial</Name>
  3155. <Rows>3</Rows>
  3156. <Columns>1</Columns>
  3157. <Value>0 0 0</Value>
  3158. </Variable>
  3159. <Variable>
  3160. <Name>C2\state_initial</Name>
  3161. <Rows>3</Rows>
  3162. <Columns>1</Columns>
  3163. <Value>0 0 0</Value>
  3164. </Variable>
  3165. <Variable>
  3166. <Name>C3\state_initial</Name>
  3167. <Rows>2</Rows>
  3168. <Columns>1</Columns>
  3169. <Value>0 0</Value>
  3170. </Variable>
  3171. <Variable>
  3172. <Name>C4\state_initial</Name>
  3173. <Rows>2</Rows>
  3174. <Columns>1</Columns>
  3175. <Value>0 0</Value>
  3176. </Variable>
  3177. <Variable>
  3178. <Name>C5\state_initial</Name>
  3179. <Value>0</Value>
  3180. </Variable>
  3181. <Variable>
  3182. <Name>Joint1\Hmatrix\p_initial</Name>
  3183. <Rows>3</Rows>
  3184. <Columns>1</Columns>
  3185. <Value>0 0 0</Value>
  3186. </Variable>
  3187. <Variable>
  3188. <Name>Joint2\Hmatrix\p_initial</Name>
  3189. <Rows>3</Rows>
  3190. <Columns>1</Columns>
  3191. <Value>0 0 0</Value>
  3192. </Variable>
  3193. <Variable>
  3194. <Name>PID1\state_initial</Name>
  3195. <Value>0</Value>
  3196. </Variable>
  3197. <Variable>
  3198. <Name>PID2\state_initial</Name>
  3199. <Value>0</Value>
  3200. </Variable>
  3201. </Initials>
  3202. </Variables>
  3203. <PlotSpecs>
  3204. <VarNames>
  3205. <VarName>time</VarName>
  3206. <VarName>new_joint1\position[1]</VarName>
  3207. <VarName>new_joint1\position[2]</VarName>
  3208. <VarName>new_joint1\position[3]</VarName>
  3209. <VarName>new_joint1\R[1,3]</VarName>
  3210. <VarName>new_joint1\R[2,3]</VarName>
  3211. <VarName>new_joint1\R[3,3]</VarName>
  3212. <VarName>new_joint1\R[1,2]</VarName>
  3213. <VarName>new_joint1\R[2,2]</VarName>
  3214. <VarName>new_joint1\R[3,2]</VarName>
  3215. <VarName>new_joint2\R[1,3]</VarName>
  3216. <VarName>new_joint2\R[2,3]</VarName>
  3217. <VarName>new_joint2\R[3,3]</VarName>
  3218. <VarName>new_joint2\R[1,2]</VarName>
  3219. <VarName>new_joint2\R[2,2]</VarName>
  3220. <VarName>new_joint2\R[3,2]</VarName>
  3221. <VarName>new_joint2\position[1]</VarName>
  3222. <VarName>new_joint2\position[2]</VarName>
  3223. <VarName>new_joint2\position[3]</VarName>
  3224. <VarName>PID2\error</VarName>
  3225. <VarName>PID3\error</VarName>
  3226. <VarName>new_joint3\position[3]</VarName>
  3227. <VarName>new_joint3\position[2]</VarName>
  3228. <VarName>Submodel3\body_position[1]</VarName>
  3229. <VarName>Submodel3\body_position[2]</VarName>
  3230. <VarName>Submodel3\body_position[3]</VarName>
  3231. <VarName>Submodel3\body_angle[1]</VarName>
  3232. <VarName>Submodel3\body_angle[2]</VarName>
  3233. <VarName>Submodel3\body_angle[3]</VarName>
  3234. <VarName>Submodel3\dimension[1]</VarName>
  3235. <VarName>Submodel3\dimension[2]</VarName>
  3236. <VarName>Submodel3\dimension[3]</VarName>
  3237. <VarName>Submodel4\body_position[1]</VarName>
  3238. <VarName>Submodel4\body_position[2]</VarName>
  3239. <VarName>Submodel4\body_position[3]</VarName>
  3240. <VarName>Submodel4\body_angle[1]</VarName>
  3241. <VarName>Submodel4\body_angle[2]</VarName>
  3242. <VarName>Submodel4\body_angle[3]</VarName>
  3243. <VarName>Submodel4\dimension[1]</VarName>
  3244. <VarName>Submodel4\dimension[2]</VarName>
  3245. <VarName>Submodel4\dimension[3]</VarName>
  3246. <VarName>rectanglepath1\output[2]</VarName>
  3247. <VarName>rectanglepath1\output[1]</VarName>
  3248. <VarName>Step\output</VarName>
  3249. <VarName>Integrate1\output</VarName>
  3250. <VarName>motor_joint2\SignalLimiter2\output</VarName>
  3251. </VarNames>
  3252. <Plots>
  3253. <Plot>
  3254. <PlotType>D3DPlot</PlotType>
  3255. <BasePlot>
  3256. <PlotId>1</PlotId>
  3257. <UseWindowsBGColor>false</UseWindowsBGColor>
  3258. <BGColor>16777215</BGColor>
  3259. <PlotIsVisible>true</PlotIsVisible>
  3260. </BasePlot>
  3261. <PlotTitle>3D Animation</PlotTitle>
  3262. <RenderQuality>137</RenderQuality>
  3263. <ShowGrid>true</ShowGrid>
  3264. <ShowFPS>false</ShowFPS>
  3265. <BackgroundColor>4294967295</BackgroundColor>
  3266. <SceneBackgroundImage>Gradients\BlueWhite.png</SceneBackgroundImage>
  3267. <ApplyTextureBackground>true</ApplyTextureBackground>
  3268. <FrameScale>1.0</FrameScale>
  3269. <FrameThickness>1.0</FrameThickness>
  3270. <MainFrame>
  3271. <Frame>
  3272. <ScaleValue>
  3273. <X>
  3274. <Value>1</Value>
  3275. </X>
  3276. <Y>
  3277. <Value>1</Value>
  3278. </Y>
  3279. <Z>
  3280. <Value>1</Value>
  3281. </Z>
  3282. </ScaleValue>
  3283. <ShowReferenceFrame>true</ShowReferenceFrame>
  3284. <Name>Reference Frame</Name>
  3285. <Position>
  3286. </Position>
  3287. <Orientation>
  3288. <Angles>
  3289. </Angles>
  3290. <OrientationType>Bryant</OrientationType>
  3291. </Orientation>
  3292. <LockX>false</LockX>
  3293. <LockY>false</LockY>
  3294. <LockZ>false</LockZ>
  3295. <LockXPitch>false</LockXPitch>
  3296. <LockYYaw>false</LockYYaw>
  3297. <LockZRoll>false</LockZRoll>
  3298. <Childs>
  3299. <Frame>
  3300. <ScaleValue>
  3301. <X>
  3302. <Value>1</Value>
  3303. </X>
  3304. <Y>
  3305. <Value>1</Value>
  3306. </Y>
  3307. <Z>
  3308. <Value>1</Value>
  3309. </Z>
  3310. </ScaleValue>
  3311. <ShowReferenceFrame>false</ShowReferenceFrame>
  3312. <Name>Default Lights and Cameras</Name>
  3313. <Position>
  3314. </Position>
  3315. <Orientation>
  3316. <Angles>
  3317. </Angles>
  3318. <OrientationType>Bryant</OrientationType>
  3319. </Orientation>
  3320. <LockX>false</LockX>
  3321. <LockY>false</LockY>
  3322. <LockZ>false</LockZ>
  3323. <LockXPitch>false</LockXPitch>
  3324. <LockYYaw>false</LockYYaw>
  3325. <LockZRoll>false</LockZRoll>
  3326. <Childs>
  3327. <Light>
  3328. <ShowReferenceFrame>false</ShowReferenceFrame>
  3329. <Name>Ambient</Name>
  3330. <Position>
  3331. </Position>
  3332. <Orientation>
  3333. <ZAxis>
  3334. <Z>
  3335. <Value>1</Value>
  3336. </Z>
  3337. </ZAxis>
  3338. <YAxis>
  3339. <Y>
  3340. <Value>1</Value>
  3341. </Y>
  3342. </YAxis>
  3343. <OrientationType>Direct3D</OrientationType>
  3344. </Orientation>
  3345. <LockX>false</LockX>
  3346. <LockY>false</LockY>
  3347. <LockZ>false</LockZ>
  3348. <LockXPitch>false</LockXPitch>
  3349. <LockYYaw>false</LockYYaw>
  3350. <LockZRoll>false</LockZRoll>
  3351. <Childs>
  3352. </Childs>
  3353. <LightType>0</LightType>
  3354. <LightColor>
  3355. <Color>
  3356. <X>
  3357. <Value>0.3</Value>
  3358. </X>
  3359. <Y>
  3360. <Value>0.3</Value>
  3361. </Y>
  3362. <Z>
  3363. <Value>0.3</Value>
  3364. </Z>
  3365. </Color>
  3366. <Offset>
  3367. </Offset>
  3368. <Multipliers>
  3369. <X>
  3370. <Value>1</Value>
  3371. </X>
  3372. <Y>
  3373. <Value>1</Value>
  3374. </Y>
  3375. <Z>
  3376. <Value>1</Value>
  3377. </Z>
  3378. </Multipliers>
  3379. <Direct3DColorRange>true</Direct3DColorRange>
  3380. </LightColor>
  3381. <AmbientLight>
  3382. <Color>
  3383. <X>
  3384. <Value>0.3</Value>
  3385. </X>
  3386. <Y>
  3387. <Value>0.3</Value>
  3388. </Y>
  3389. <Z>
  3390. <Value>0.3</Value>
  3391. </Z>
  3392. </Color>
  3393. <Offset>
  3394. </Offset>
  3395. <Multipliers>
  3396. <X>
  3397. <Value>1</Value>
  3398. </X>
  3399. <Y>
  3400. <Value>1</Value>
  3401. </Y>
  3402. <Z>
  3403. <Value>1</Value>
  3404. </Z>
  3405. </Multipliers>
  3406. <Direct3DColorRange>true</Direct3DColorRange>
  3407. </AmbientLight>
  3408. <AmbientOn>true</AmbientOn>
  3409. <DiffuseOn>false</DiffuseOn>
  3410. <SpecularOn>false</SpecularOn>
  3411. </Light>
  3412. <Light>
  3413. <ShowReferenceFrame>false</ShowReferenceFrame>
  3414. <Name>Parallel</Name>
  3415. <Position>
  3416. <X>
  3417. <Value>-3</Value>
  3418. </X>
  3419. <Y>
  3420. <Value>5</Value>
  3421. </Y>
  3422. <Z>
  3423. <Value>3</Value>
  3424. </Z>
  3425. </Position>
  3426. <Orientation>
  3427. <ZAxis>
  3428. <X>
  3429. <Value>0.457495710997814</Value>
  3430. </X>
  3431. <Y>
  3432. <Value>-0.762492851663023</Value>
  3433. </Y>
  3434. <Z>
  3435. <Value>-0.457495710997814</Value>
  3436. </Z>
  3437. </ZAxis>
  3438. <YAxis>
  3439. <X>
  3440. <Value>0.235379601434674</Value>
  3441. </X>
  3442. <Y>
  3443. <Value>-0.392299335724456</Value>
  3444. </Y>
  3445. <Z>
  3446. <Value>0.889211827642101</Value>
  3447. </Z>
  3448. </YAxis>
  3449. <OrientationType>Direct3D</OrientationType>
  3450. </Orientation>
  3451. <LockX>false</LockX>
  3452. <LockY>false</LockY>
  3453. <LockZ>false</LockZ>
  3454. <LockXPitch>false</LockXPitch>
  3455. <LockYYaw>false</LockYYaw>
  3456. <LockZRoll>false</LockZRoll>
  3457. <Childs>
  3458. </Childs>
  3459. <LightType>3</LightType>
  3460. <LightColor>
  3461. <Color>
  3462. <X>
  3463. <Value>0.5</Value>
  3464. </X>
  3465. <Y>
  3466. <Value>0.5</Value>
  3467. </Y>
  3468. <Z>
  3469. <Value>0.5</Value>
  3470. </Z>
  3471. </Color>
  3472. <Offset>
  3473. </Offset>
  3474. <Multipliers>
  3475. <X>
  3476. <Value>1</Value>
  3477. </X>
  3478. <Y>
  3479. <Value>1</Value>
  3480. </Y>
  3481. <Z>
  3482. <Value>1</Value>
  3483. </Z>
  3484. </Multipliers>
  3485. <Direct3DColorRange>true</Direct3DColorRange>
  3486. </LightColor>
  3487. <Attenuation>
  3488. <Constant>
  3489. <Value>1.0</Value>
  3490. </Constant>
  3491. <Linear>
  3492. <Value>0.0</Value>
  3493. </Linear>
  3494. <Quadratic>
  3495. <Value>0.0</Value>
  3496. </Quadratic>
  3497. </Attenuation>
  3498. <DiffuseLight>
  3499. <Color>
  3500. <X>
  3501. <Value>0.5</Value>
  3502. </X>
  3503. <Y>
  3504. <Value>0.5</Value>
  3505. </Y>
  3506. <Z>
  3507. <Value>0.5</Value>
  3508. </Z>
  3509. </Color>
  3510. <Offset>
  3511. </Offset>
  3512. <Multipliers>
  3513. <X>
  3514. <Value>1</Value>
  3515. </X>
  3516. <Y>
  3517. <Value>1</Value>
  3518. </Y>
  3519. <Z>
  3520. <Value>1</Value>
  3521. </Z>
  3522. </Multipliers>
  3523. <Direct3DColorRange>true</Direct3DColorRange>
  3524. </DiffuseLight>
  3525. <SpecularLight>
  3526. <Color>
  3527. <X>
  3528. <Value>0.5</Value>
  3529. </X>
  3530. <Y>
  3531. <Value>0.5</Value>
  3532. </Y>
  3533. <Z>
  3534. <Value>0.5</Value>
  3535. </Z>
  3536. </Color>
  3537. <Offset>
  3538. </Offset>
  3539. <Multipliers>
  3540. <X>
  3541. <Value>1</Value>
  3542. </X>
  3543. <Y>
  3544. <Value>1</Value>
  3545. </Y>
  3546. <Z>
  3547. <Value>1</Value>
  3548. </Z>
  3549. </Multipliers>
  3550. <Direct3DColorRange>true</Direct3DColorRange>
  3551. </SpecularLight>
  3552. <AmbientOn>false</AmbientOn>
  3553. <DiffuseOn>true</DiffuseOn>
  3554. <SpecularOn>true</SpecularOn>
  3555. </Light>
  3556. <Light>
  3557. <ShowReferenceFrame>false</ShowReferenceFrame>
  3558. <Name>Spot Light 1</Name>
  3559. <Position>
  3560. <X>
  3561. <Value>-3</Value>
  3562. </X>
  3563. <Y>
  3564. <Value>-5</Value>
  3565. </Y>
  3566. <Z>
  3567. <Value>1</Value>
  3568. </Z>
  3569. </Position>
  3570. <Orientation>
  3571. <ZAxis>
  3572. <X>
  3573. <Value>0.50709255283711</Value>
  3574. </X>
  3575. <Y>
  3576. <Value>0.845154254728517</Value>
  3577. </Y>
  3578. <Z>
  3579. <Value>-0.169030850945703</Value>
  3580. </Z>
  3581. </ZAxis>
  3582. <YAxis>
  3583. <X>
  3584. <Value>0.0869656553478673</Value>
  3585. </X>
  3586. <Y>
  3587. <Value>0.144942758913112</Value>
  3588. </Y>
  3589. <Z>
  3590. <Value>0.985610760609162</Value>
  3591. </Z>
  3592. </YAxis>
  3593. <OrientationType>Direct3D</OrientationType>
  3594. </Orientation>
  3595. <LockX>false</LockX>
  3596. <LockY>false</LockY>
  3597. <LockZ>false</LockZ>
  3598. <LockXPitch>false</LockXPitch>
  3599. <LockYYaw>false</LockYYaw>
  3600. <LockZRoll>false</LockZRoll>
  3601. <Childs>
  3602. </Childs>
  3603. <LightType>2</LightType>
  3604. <LightColor>
  3605. <Color>
  3606. <X>
  3607. <Value>0.5</Value>
  3608. </X>
  3609. <Y>
  3610. <Value>0.5</Value>
  3611. </Y>
  3612. <Z>
  3613. <Value>0.5</Value>
  3614. </Z>
  3615. </Color>
  3616. <Offset>
  3617. </Offset>
  3618. <Multipliers>
  3619. <X>
  3620. <Value>1</Value>
  3621. </X>
  3622. <Y>
  3623. <Value>1</Value>
  3624. </Y>
  3625. <Z>
  3626. <Value>1</Value>
  3627. </Z>
  3628. </Multipliers>
  3629. <Direct3DColorRange>true</Direct3DColorRange>
  3630. </LightColor>
  3631. <Attenuation>
  3632. <Constant>
  3633. <Value>1.0</Value>
  3634. </Constant>
  3635. <Linear>
  3636. <Value>0.05</Value>
  3637. </Linear>
  3638. <Quadratic>
  3639. <Value>0.05</Value>
  3640. </Quadratic>
  3641. </Attenuation>
  3642. <Umbra>
  3643. <Value>1.0471975511965976</Value>
  3644. </Umbra>
  3645. <Penumbra>
  3646. <Value>1.0471975511965976</Value>
  3647. </Penumbra>
  3648. <SpotExponent>0.0</SpotExponent>
  3649. <DiffuseLight>
  3650. <Color>
  3651. <X>
  3652. <Value>0.5</Value>
  3653. </X>
  3654. <Y>
  3655. <Value>0.5</Value>
  3656. </Y>
  3657. <Z>
  3658. <Value>0.5</Value>
  3659. </Z>
  3660. </Color>
  3661. <Offset>
  3662. </Offset>
  3663. <Multipliers>
  3664. <X>
  3665. <Value>1</Value>
  3666. </X>
  3667. <Y>
  3668. <Value>1</Value>
  3669. </Y>
  3670. <Z>
  3671. <Value>1</Value>
  3672. </Z>
  3673. </Multipliers>
  3674. <Direct3DColorRange>true</Direct3DColorRange>
  3675. </DiffuseLight>
  3676. <SpecularLight>
  3677. <Color>
  3678. <X>
  3679. <Value>0.5</Value>
  3680. </X>
  3681. <Y>
  3682. <Value>0.5</Value>
  3683. </Y>
  3684. <Z>
  3685. <Value>0.5</Value>
  3686. </Z>
  3687. </Color>
  3688. <Offset>
  3689. </Offset>
  3690. <Multipliers>
  3691. <X>
  3692. <Value>1</Value>
  3693. </X>
  3694. <Y>
  3695. <Value>1</Value>
  3696. </Y>
  3697. <Z>
  3698. <Value>1</Value>
  3699. </Z>
  3700. </Multipliers>
  3701. <Direct3DColorRange>true</Direct3DColorRange>
  3702. </SpecularLight>
  3703. <AmbientOn>false</AmbientOn>
  3704. <DiffuseOn>true</DiffuseOn>
  3705. <SpecularOn>true</SpecularOn>
  3706. </Light>
  3707. <Light>
  3708. <ShowReferenceFrame>false</ShowReferenceFrame>
  3709. <Name>Spot Light 2</Name>
  3710. <Position>
  3711. <X>
  3712. <Value>2</Value>
  3713. </X>
  3714. <Y>
  3715. <Value>-3</Value>
  3716. </Y>
  3717. <Z>
  3718. <Value>-1</Value>
  3719. </Z>
  3720. </Position>
  3721. <Orientation>
  3722. <ZAxis>
  3723. <X>
  3724. <Value>-0.534522483824849</Value>
  3725. </X>
  3726. <Y>
  3727. <Value>0.801783725737273</Value>
  3728. </Y>
  3729. <Z>
  3730. <Value>0.267261241912424</Value>
  3731. </Z>
  3732. </ZAxis>
  3733. <YAxis>
  3734. <X>
  3735. <Value>0.14824986333222</Value>
  3736. </X>
  3737. <Y>
  3738. <Value>-0.22237479499833</Value>
  3739. </Y>
  3740. <Z>
  3741. <Value>0.963624111659432</Value>
  3742. </Z>
  3743. </YAxis>
  3744. <OrientationType>Direct3D</OrientationType>
  3745. </Orientation>
  3746. <LockX>false</LockX>
  3747. <LockY>false</LockY>
  3748. <LockZ>false</LockZ>
  3749. <LockXPitch>false</LockXPitch>
  3750. <LockYYaw>false</LockYYaw>
  3751. <LockZRoll>false</LockZRoll>
  3752. <Childs>
  3753. </Childs>
  3754. <LightType>2</LightType>
  3755. <LightColor>
  3756. <Color>
  3757. <X>
  3758. <Value>1</Value>
  3759. </X>
  3760. <Y>
  3761. <Value>1</Value>
  3762. </Y>
  3763. <Z>
  3764. <Value>1</Value>
  3765. </Z>
  3766. </Color>
  3767. <Offset>
  3768. </Offset>
  3769. <Multipliers>
  3770. <X>
  3771. <Value>1</Value>
  3772. </X>
  3773. <Y>
  3774. <Value>1</Value>
  3775. </Y>
  3776. <Z>
  3777. <Value>1</Value>
  3778. </Z>
  3779. </Multipliers>
  3780. <Direct3DColorRange>true</Direct3DColorRange>
  3781. </LightColor>
  3782. <Attenuation>
  3783. <Constant>
  3784. <Value>1.0</Value>
  3785. </Constant>
  3786. <Linear>
  3787. <Value>0.05</Value>
  3788. </Linear>
  3789. <Quadratic>
  3790. <Value>0.05</Value>
  3791. </Quadratic>
  3792. </Attenuation>
  3793. <Umbra>
  3794. <Value>1.5707963267948966</Value>
  3795. </Umbra>
  3796. <Penumbra>
  3797. <Value>1.5707963267948966</Value>
  3798. </Penumbra>
  3799. <SpotExponent>0.0</SpotExponent>
  3800. <DiffuseLight>
  3801. <Color>
  3802. <X>
  3803. <Value>1</Value>
  3804. </X>
  3805. <Y>
  3806. <Value>1</Value>
  3807. </Y>
  3808. <Z>
  3809. <Value>1</Value>
  3810. </Z>
  3811. </Color>
  3812. <Offset>
  3813. </Offset>
  3814. <Multipliers>
  3815. <X>
  3816. <Value>1</Value>
  3817. </X>
  3818. <Y>
  3819. <Value>1</Value>
  3820. </Y>
  3821. <Z>
  3822. <Value>1</Value>
  3823. </Z>
  3824. </Multipliers>
  3825. <Direct3DColorRange>true</Direct3DColorRange>
  3826. </DiffuseLight>
  3827. <SpecularLight>
  3828. <Color>
  3829. <X>
  3830. <Value>0.5</Value>
  3831. </X>
  3832. <Y>
  3833. <Value>0.5</Value>
  3834. </Y>
  3835. <Z>
  3836. <Value>0.5</Value>
  3837. </Z>
  3838. </Color>
  3839. <Offset>
  3840. </Offset>
  3841. <Multipliers>
  3842. <X>
  3843. <Value>1</Value>
  3844. </X>
  3845. <Y>
  3846. <Value>1</Value>
  3847. </Y>
  3848. <Z>
  3849. <Value>1</Value>
  3850. </Z>
  3851. </Multipliers>
  3852. <Direct3DColorRange>true</Direct3DColorRange>
  3853. </SpecularLight>
  3854. <AmbientOn>false</AmbientOn>
  3855. <DiffuseOn>true</DiffuseOn>
  3856. <SpecularOn>true</SpecularOn>
  3857. </Light>
  3858. <Camera>
  3859. <ShowReferenceFrame>false</ShowReferenceFrame>
  3860. <Name>Camera Looking at Origin</Name>
  3861. <Position>
  3862. <X>
  3863. <Value>3.61094505336573</Value>
  3864. </X>
  3865. <Y>
  3866. <Value>0.23725177442673</Value>
  3867. </Y>
  3868. <Z>
  3869. <Value>0.233324732826921</Value>
  3870. </Z>
  3871. </Position>
  3872. <Orientation>
  3873. <ZAxis>
  3874. <X>
  3875. <Value>-0.995780766056347</Value>
  3876. </X>
  3877. <Y>
  3878. <Value>-0.065426294279019</Value>
  3879. </Y>
  3880. <Z>
  3881. <Value>-0.0643433444044585</Value>
  3882. </Z>
  3883. </ZAxis>
  3884. <YAxis>
  3885. <X>
  3886. <Value>-0.0642049089065914</Value>
  3887. </X>
  3888. <Y>
  3889. <Value>-0.00421848805226125</Value>
  3890. </Y>
  3891. <Z>
  3892. <Value>0.997927820050553</Value>
  3893. </Z>
  3894. </YAxis>
  3895. <OrientationType>Direct3D</OrientationType>
  3896. </Orientation>
  3897. <LockX>false</LockX>
  3898. <LockY>false</LockY>
  3899. <LockZ>false</LockZ>
  3900. <LockXPitch>false</LockXPitch>
  3901. <LockYYaw>false</LockYYaw>
  3902. <LockZRoll>false</LockZRoll>
  3903. <Childs>
  3904. </Childs>
  3905. <FrontPlane>0.01</FrontPlane>
  3906. <BackPlane>100.0</BackPlane>
  3907. <AutoFrontBack>true</AutoFrontBack>
  3908. <Field>0.003926990816987242</Field>
  3909. <Fieldy>45.0</Fieldy>
  3910. <PlaneLeft>-10.0</PlaneLeft>
  3911. <PlaneRight>10.0</PlaneRight>
  3912. <PlaneTop>10.0</PlaneTop>
  3913. <PlaneBottom>-10.0</PlaneBottom>
  3914. <UseLookatPosition>true</UseLookatPosition>
  3915. <LookatPosition>
  3916. <X>
  3917. <Value>-9.99200722162641e-016</Value>
  3918. </X>
  3919. <Y>
  3920. <Value>1.76247905159244e-015</Value>
  3921. </Y>
  3922. <Z>
  3923. <Value>-3.05678199886544e-015</Value>
  3924. </Z>
  3925. </LookatPosition>
  3926. <UseAlwaysLookUp>true</UseAlwaysLookUp>
  3927. <LookUpVector>
  3928. <Z>
  3929. <Value>1</Value>
  3930. </Z>
  3931. </LookUpVector>
  3932. <RightHand>true</RightHand>
  3933. <Perspective>true</Perspective>
  3934. <IsSelectedCamera>true</IsSelectedCamera>
  3935. </Camera>
  3936. <Camera>
  3937. <ShowReferenceFrame>false</ShowReferenceFrame>
  3938. <Name>Front(XY)-Camera</Name>
  3939. <Position>
  3940. <Z>
  3941. <Value>10</Value>
  3942. </Z>
  3943. </Position>
  3944. <Orientation>
  3945. <ZAxis>
  3946. <Z>
  3947. <Value>-1</Value>
  3948. </Z>
  3949. </ZAxis>
  3950. <YAxis>
  3951. <Y>
  3952. <Value>1</Value>
  3953. </Y>
  3954. </YAxis>
  3955. <OrientationType>Direct3D</OrientationType>
  3956. </Orientation>
  3957. <LockX>false</LockX>
  3958. <LockY>false</LockY>
  3959. <LockZ>false</LockZ>
  3960. <LockXPitch>false</LockXPitch>
  3961. <LockYYaw>false</LockYYaw>
  3962. <LockZRoll>false</LockZRoll>
  3963. <Childs>
  3964. </Childs>
  3965. <FrontPlane>0.01</FrontPlane>
  3966. <BackPlane>100.0</BackPlane>
  3967. <AutoFrontBack>true</AutoFrontBack>
  3968. <Field>9.999999999999998</Field>
  3969. <Fieldy>45.0</Fieldy>
  3970. <PlaneLeft>-9.999999999999998</PlaneLeft>
  3971. <PlaneRight>9.999999999999998</PlaneRight>
  3972. <PlaneTop>9.999999999999998</PlaneTop>
  3973. <PlaneBottom>-9.999999999999998</PlaneBottom>
  3974. <UseLookatPosition>true</UseLookatPosition>
  3975. <LookatPosition>
  3976. </LookatPosition>
  3977. <UseAlwaysLookUp>true</UseAlwaysLookUp>
  3978. <LookUpVector>
  3979. <Y>
  3980. <Value>1</Value>
  3981. </Y>
  3982. </LookUpVector>
  3983. <RightHand>true</RightHand>
  3984. <Perspective>false</Perspective>
  3985. <IsSelectedCamera>false</IsSelectedCamera>
  3986. </Camera>
  3987. <Camera>
  3988. <ShowReferenceFrame>false</ShowReferenceFrame>
  3989. <Name>Side(YZ)-Camera</Name>
  3990. <Position>
  3991. <X>
  3992. <Value>10</Value>
  3993. </X>
  3994. </Position>
  3995. <Orientation>
  3996. <ZAxis>
  3997. <X>
  3998. <Value>-1</Value>
  3999. </X>
  4000. </ZAxis>
  4001. <YAxis>
  4002. <Z>
  4003. <Value>1</Value>
  4004. </Z>
  4005. </YAxis>
  4006. <OrientationType>Direct3D</OrientationType>
  4007. </Orientation>
  4008. <LockX>false</LockX>
  4009. <LockY>false</LockY>
  4010. <LockZ>false</LockZ>
  4011. <LockXPitch>false</LockXPitch>
  4012. <LockYYaw>false</LockYYaw>
  4013. <LockZRoll>false</LockZRoll>
  4014. <Childs>
  4015. </Childs>
  4016. <FrontPlane>0.01</FrontPlane>
  4017. <BackPlane>100.0</BackPlane>
  4018. <AutoFrontBack>true</AutoFrontBack>
  4019. <Field>9.999999999999998</Field>
  4020. <Fieldy>45.0</Fieldy>
  4021. <PlaneLeft>-9.999999999999998</PlaneLeft>
  4022. <PlaneRight>9.999999999999998</PlaneRight>
  4023. <PlaneTop>9.999999999999998</PlaneTop>
  4024. <PlaneBottom>-9.999999999999998</PlaneBottom>
  4025. <UseLookatPosition>true</UseLookatPosition>
  4026. <LookatPosition>
  4027. </LookatPosition>
  4028. <UseAlwaysLookUp>true</UseAlwaysLookUp>
  4029. <LookUpVector>
  4030. <Z>
  4031. <Value>1</Value>
  4032. </Z>
  4033. </LookUpVector>
  4034. <RightHand>true</RightHand>
  4035. <Perspective>false</Perspective>
  4036. <IsSelectedCamera>false</IsSelectedCamera>
  4037. </Camera>
  4038. <Camera>
  4039. <ShowReferenceFrame>false</ShowReferenceFrame>
  4040. <Name>Top(XZ)-Camera</Name>
  4041. <Position>
  4042. <Y>
  4043. <Value>10</Value>
  4044. </Y>
  4045. </Position>
  4046. <Orientation>
  4047. <ZAxis>
  4048. <Y>
  4049. <Value>-1</Value>
  4050. </Y>
  4051. </ZAxis>
  4052. <YAxis>
  4053. <X>
  4054. <Value>1</Value>
  4055. </X>
  4056. </YAxis>
  4057. <OrientationType>Direct3D</OrientationType>
  4058. </Orientation>
  4059. <LockX>false</LockX>
  4060. <LockY>false</LockY>
  4061. <LockZ>false</LockZ>
  4062. <LockXPitch>false</LockXPitch>
  4063. <LockYYaw>false</LockYYaw>
  4064. <LockZRoll>false</LockZRoll>
  4065. <Childs>
  4066. </Childs>
  4067. <FrontPlane>0.01</FrontPlane>
  4068. <BackPlane>100.0</BackPlane>
  4069. <AutoFrontBack>true</AutoFrontBack>
  4070. <Field>9.999999999999998</Field>
  4071. <Fieldy>45.0</Fieldy>
  4072. <PlaneLeft>-9.999999999999998</PlaneLeft>
  4073. <PlaneRight>9.999999999999998</PlaneRight>
  4074. <PlaneTop>9.999999999999998</PlaneTop>
  4075. <PlaneBottom>-9.999999999999998</PlaneBottom>
  4076. <UseLookatPosition>true</UseLookatPosition>
  4077. <LookatPosition>
  4078. </LookatPosition>
  4079. <UseAlwaysLookUp>true</UseAlwaysLookUp>
  4080. <LookUpVector>
  4081. <X>
  4082. <Value>1</Value>
  4083. </X>
  4084. </LookUpVector>
  4085. <RightHand>true</RightHand>
  4086. <Perspective>false</Perspective>
  4087. <IsSelectedCamera>false</IsSelectedCamera>
  4088. </Camera>
  4089. </Childs>
  4090. </Frame>
  4091. <Frame>
  4092. <ScaleValue>
  4093. <X>
  4094. <Value>1</Value>
  4095. </X>
  4096. <Y>
  4097. <Value>1</Value>
  4098. </Y>
  4099. <Z>
  4100. <Value>1</Value>
  4101. </Z>
  4102. </ScaleValue>
  4103. <ShowReferenceFrame>false</ShowReferenceFrame>
  4104. <Name>Scenery</Name>
  4105. <Position>
  4106. </Position>
  4107. <Orientation>
  4108. <Angles>
  4109. </Angles>
  4110. <OrientationType>Bryant</OrientationType>
  4111. </Orientation>
  4112. <LockX>false</LockX>
  4113. <LockY>false</LockY>
  4114. <LockZ>false</LockZ>
  4115. <LockXPitch>false</LockXPitch>
  4116. <LockYYaw>false</LockYYaw>
  4117. <LockZRoll>false</LockZRoll>
  4118. <Childs>
  4119. <Frame>
  4120. <ScaleValue>
  4121. <X>
  4122. <Value>10</Value>
  4123. </X>
  4124. <Y>
  4125. <Value>10</Value>
  4126. </Y>
  4127. <Z>
  4128. <Value>10</Value>
  4129. </Z>
  4130. </ScaleValue>
  4131. <ShowReferenceFrame>false</ShowReferenceFrame>
  4132. <Name>Reference Frame</Name>
  4133. <Position>
  4134. </Position>
  4135. <Orientation>
  4136. <Angles>
  4137. </Angles>
  4138. <OrientationType>Bryant</OrientationType>
  4139. </Orientation>
  4140. <LockX>false</LockX>
  4141. <LockY>false</LockY>
  4142. <LockZ>false</LockZ>
  4143. <LockXPitch>false</LockXPitch>
  4144. <LockYYaw>false</LockYYaw>
  4145. <LockZRoll>false</LockZRoll>
  4146. <Childs>
  4147. <Cube>
  4148. <Center>Center</Center>
  4149. <RibLength>1.0</RibLength>
  4150. <ShowInnerSide>true</ShowInnerSide>
  4151. <Accuracy>4</Accuracy>
  4152. <ScaleValue>
  4153. <X>
  4154. <VariableName>Submodel3\dimension[1]</VariableName>
  4155. <Value>0.005</Value>
  4156. </X>
  4157. <Y>
  4158. <VariableName>Submodel3\dimension[2]</VariableName>
  4159. <Value>0.065</Value>
  4160. </Y>
  4161. <Z>
  4162. <VariableName>Submodel3\dimension[3]</VariableName>
  4163. <Value>0.01</Value>
  4164. </Z>
  4165. </ScaleValue>
  4166. <OverrideColor>true</OverrideColor>
  4167. <MeshColor>
  4168. <X>
  4169. <Value>1</Value>
  4170. </X>
  4171. <Y>
  4172. <Value>1</Value>
  4173. </Y>
  4174. <Z>
  4175. <Value>1</Value>
  4176. </Z>
  4177. </MeshColor>
  4178. <Alpha>1.0</Alpha>
  4179. <MeshColorMultipliers>
  4180. <X>
  4181. <Value>1</Value>
  4182. </X>
  4183. <Y>
  4184. <Value>1</Value>
  4185. </Y>
  4186. <Z>
  4187. <Value>1</Value>
  4188. </Z>
  4189. </MeshColorMultipliers>
  4190. <MeshColorOffsets>
  4191. </MeshColorOffsets>
  4192. <Direct3DColorRange>true</Direct3DColorRange>
  4193. <SpecularColor>
  4194. <X>
  4195. <Value>0.498039215686275</Value>
  4196. </X>
  4197. <Y>
  4198. <Value>0.498039215686275</Value>
  4199. </Y>
  4200. <Z>
  4201. <Value>0.498039215686275</Value>
  4202. </Z>
  4203. </SpecularColor>
  4204. <EmissiveColor>
  4205. </EmissiveColor>
  4206. <ShininessPower>
  4207. <Value>14.298713684082</Value>
  4208. </ShininessPower>
  4209. <OverrideQuality>false</OverrideQuality>
  4210. <ShowReferenceFrame>false</ShowReferenceFrame>
  4211. <Name>Block</Name>
  4212. <Position>
  4213. <X>
  4214. <VariableName>Submodel3\body_position[1]</VariableName>
  4215. <Value>0.0</Value>
  4216. </X>
  4217. <Y>
  4218. <VariableName>Submodel3\body_position[2]</VariableName>
  4219. <Value>-0.009158353632383561</Value>
  4220. </Y>
  4221. <Z>
  4222. <VariableName>Submodel3\body_position[3]</VariableName>
  4223. <Value>0.03118053280824738</Value>
  4224. </Z>
  4225. </Position>
  4226. <Orientation>
  4227. <Angles>
  4228. <X>
  4229. <VariableName>Submodel3\body_angle[1]</VariableName>
  4230. <Value>1.8564889888314844</Value>
  4231. </X>
  4232. <Y>
  4233. <VariableName>Submodel3\body_angle[2]</VariableName>
  4234. <Value>0.0</Value>
  4235. </Y>
  4236. <Z>
  4237. <VariableName>Submodel3\body_angle[3]</VariableName>
  4238. <Value>0.0</Value>
  4239. </Z>
  4240. </Angles>
  4241. <OrientationType>Euler</OrientationType>
  4242. </Orientation>
  4243. <LockX>false</LockX>
  4244. <LockY>false</LockY>
  4245. <LockZ>false</LockZ>
  4246. <LockXPitch>false</LockXPitch>
  4247. <LockYYaw>false</LockYYaw>
  4248. <LockZRoll>false</LockZRoll>
  4249. <Childs>
  4250. </Childs>
  4251. </Cube>
  4252. <Cube>
  4253. <Center>Center</Center>
  4254. <RibLength>1.0</RibLength>
  4255. <ShowInnerSide>true</ShowInnerSide>
  4256. <Accuracy>4</Accuracy>
  4257. <ScaleValue>
  4258. <X>
  4259. <VariableName>Submodel4\dimension[1]</VariableName>
  4260. <Value>0.005</Value>
  4261. </X>
  4262. <Y>
  4263. <VariableName>Submodel4\dimension[2]</VariableName>
  4264. <Value>0.05</Value>
  4265. </Y>
  4266. <Z>
  4267. <VariableName>Submodel4\dimension[3]</VariableName>
  4268. <Value>0.01</Value>
  4269. </Z>
  4270. </ScaleValue>
  4271. <OverrideColor>true</OverrideColor>
  4272. <MeshColor>
  4273. <X>
  4274. <Value>1</Value>
  4275. </X>
  4276. <Y>
  4277. <Value>1</Value>
  4278. </Y>
  4279. <Z>
  4280. <Value>1</Value>
  4281. </Z>
  4282. </MeshColor>
  4283. <Alpha>1.0</Alpha>
  4284. <MeshColorMultipliers>
  4285. <X>
  4286. <Value>1</Value>
  4287. </X>
  4288. <Y>
  4289. <Value>1</Value>
  4290. </Y>
  4291. <Z>
  4292. <Value>1</Value>
  4293. </Z>
  4294. </MeshColorMultipliers>
  4295. <MeshColorOffsets>
  4296. </MeshColorOffsets>
  4297. <Direct3DColorRange>true</Direct3DColorRange>
  4298. <SpecularColor>
  4299. <X>
  4300. <Value>0.5</Value>
  4301. </X>
  4302. <Y>
  4303. <Value>0.5</Value>
  4304. </Y>
  4305. <Z>
  4306. <Value>0.5</Value>
  4307. </Z>
  4308. </SpecularColor>
  4309. <EmissiveColor>
  4310. </EmissiveColor>
  4311. <ShininessPower>
  4312. <Value>15</Value>
  4313. </ShininessPower>
  4314. <OverrideQuality>false</OverrideQuality>
  4315. <ShowReferenceFrame>false</ShowReferenceFrame>
  4316. <Name>Block</Name>
  4317. <Position>
  4318. <X>
  4319. <VariableName>Submodel4\body_position[1]</VariableName>
  4320. <Value>0.0</Value>
  4321. </X>
  4322. <Y>
  4323. <VariableName>Submodel4\body_position[2]</VariableName>
  4324. <Value>0.0013903741642251554</Value>
  4325. </Y>
  4326. <Z>
  4327. <VariableName>Submodel4\body_position[3]</VariableName>
  4328. <Value>0.07774345829579168</Value>
  4329. </Z>
  4330. </Position>
  4331. <Orientation>
  4332. <Angles>
  4333. <X>
  4334. <VariableName>Submodel4\body_angle[1]</VariableName>
  4335. <Value>0.66277054304191</Value>
  4336. </X>
  4337. <Y>
  4338. <VariableName>Submodel4\body_angle[2]</VariableName>
  4339. <Value>0.0</Value>
  4340. </Y>
  4341. <Z>
  4342. <VariableName>Submodel4\body_angle[3]</VariableName>
  4343. <Value>0.0</Value>
  4344. </Z>
  4345. </Angles>
  4346. <OrientationType>Euler</OrientationType>
  4347. </Orientation>
  4348. <LockX>false</LockX>
  4349. <LockY>false</LockY>
  4350. <LockZ>false</LockZ>
  4351. <LockXPitch>false</LockXPitch>
  4352. <LockYYaw>false</LockYYaw>
  4353. <LockZRoll>false</LockZRoll>
  4354. <Childs>
  4355. </Childs>
  4356. </Cube>
  4357. </Childs>
  4358. </Frame>
  4359. <Frame>
  4360. <ScaleValue>
  4361. <X>
  4362. <Value>10</Value>
  4363. </X>
  4364. <Y>
  4365. <Value>10</Value>
  4366. </Y>
  4367. <Z>
  4368. <Value>10</Value>
  4369. </Z>
  4370. </ScaleValue>
  4371. <ShowReferenceFrame>false</ShowReferenceFrame>
  4372. <Name>Reference Frame</Name>
  4373. <Position>
  4374. <X>
  4375. <Value>0.5</Value>
  4376. </X>
  4377. </Position>
  4378. <Orientation>
  4379. <Angles>
  4380. </Angles>
  4381. <OrientationType>Bryant</OrientationType>
  4382. </Orientation>
  4383. <LockX>false</LockX>
  4384. <LockY>false</LockY>
  4385. <LockZ>false</LockZ>
  4386. <LockXPitch>false</LockXPitch>
  4387. <LockYYaw>false</LockYYaw>
  4388. <LockZRoll>false</LockZRoll>
  4389. <Childs>
  4390. <Cube>
  4391. <Center>Center</Center>
  4392. <RibLength>1.0</RibLength>
  4393. <ShowInnerSide>true</ShowInnerSide>
  4394. <Accuracy>4</Accuracy>
  4395. <ScaleValue>
  4396. <X>
  4397. <VariableName>Submodel3\dimension[1]</VariableName>
  4398. <Value>0.005</Value>
  4399. </X>
  4400. <Y>
  4401. <VariableName>Submodel3\dimension[2]</VariableName>
  4402. <Value>0.065</Value>
  4403. </Y>
  4404. <Z>
  4405. <VariableName>Submodel3\dimension[3]</VariableName>
  4406. <Value>0.01</Value>
  4407. </Z>
  4408. </ScaleValue>
  4409. <OverrideColor>true</OverrideColor>
  4410. <MeshColor>
  4411. <X>
  4412. <Value>1</Value>
  4413. </X>
  4414. <Y>
  4415. <Value>1</Value>
  4416. </Y>
  4417. <Z>
  4418. <Value>1</Value>
  4419. </Z>
  4420. </MeshColor>
  4421. <Alpha>1.0</Alpha>
  4422. <MeshColorMultipliers>
  4423. <X>
  4424. <Value>1</Value>
  4425. </X>
  4426. <Y>
  4427. <Value>1</Value>
  4428. </Y>
  4429. <Z>
  4430. <Value>1</Value>
  4431. </Z>
  4432. </MeshColorMultipliers>
  4433. <MeshColorOffsets>
  4434. </MeshColorOffsets>
  4435. <Direct3DColorRange>true</Direct3DColorRange>
  4436. <SpecularColor>
  4437. <X>
  4438. <Value>0.498039215686275</Value>
  4439. </X>
  4440. <Y>
  4441. <Value>0.498039215686275</Value>
  4442. </Y>
  4443. <Z>
  4444. <Value>0.498039215686275</Value>
  4445. </Z>
  4446. </SpecularColor>
  4447. <EmissiveColor>
  4448. </EmissiveColor>
  4449. <ShininessPower>
  4450. <Value>14.298713684082</Value>
  4451. </ShininessPower>
  4452. <OverrideQuality>false</OverrideQuality>
  4453. <ShowReferenceFrame>false</ShowReferenceFrame>
  4454. <Name>Block</Name>
  4455. <Position>
  4456. <X>
  4457. <VariableName>new_joint1\position[1]</VariableName>
  4458. <Value>0.0</Value>
  4459. </X>
  4460. <Y>
  4461. <VariableName>new_joint1\position[2]</VariableName>
  4462. <Value>0.02758023578749541</Value>
  4463. </Y>
  4464. <Z>
  4465. <VariableName>new_joint1\position[3]</VariableName>
  4466. <Value>-0.017200292914302247</Value>
  4467. </Z>
  4468. </Position>
  4469. <Orientation>
  4470. <ZAxis>
  4471. <X>
  4472. <VariableName>new_joint1\R[1,3]</VariableName>
  4473. <Value>0.0</Value>
  4474. </X>
  4475. <Y>
  4476. <VariableName>new_joint1\R[2,3]</VariableName>
  4477. <Value>0.5289972876475422</Value>
  4478. </Y>
  4479. <Z>
  4480. <VariableName>new_joint1\R[3,3]</VariableName>
  4481. <Value>0.8486235146762925</Value>
  4482. </Z>
  4483. </ZAxis>
  4484. <YAxis>
  4485. <X>
  4486. <VariableName>new_joint1\R[1,2]</VariableName>
  4487. <Value>0.0</Value>
  4488. </X>
  4489. <Y>
  4490. <VariableName>new_joint1\R[2,2]</VariableName>
  4491. <Value>0.8486235146762925</Value>
  4492. </Y>
  4493. <Z>
  4494. <VariableName>new_joint1\R[3,2]</VariableName>
  4495. <Value>-0.5289972876475422</Value>
  4496. </Z>
  4497. </YAxis>
  4498. <OrientationType>Matrix</OrientationType>
  4499. </Orientation>
  4500. <LockX>false</LockX>
  4501. <LockY>false</LockY>
  4502. <LockZ>false</LockZ>
  4503. <LockXPitch>false</LockXPitch>
  4504. <LockYYaw>false</LockYYaw>
  4505. <LockZRoll>false</LockZRoll>
  4506. <Childs>
  4507. </Childs>
  4508. </Cube>
  4509. <Cube>
  4510. <Center>Center</Center>
  4511. <RibLength>1.0</RibLength>
  4512. <ShowInnerSide>true</ShowInnerSide>
  4513. <Accuracy>4</Accuracy>
  4514. <ScaleValue>
  4515. <X>
  4516. <VariableName>Submodel4\dimension[1]</VariableName>
  4517. <Value>0.005</Value>
  4518. </X>
  4519. <Y>
  4520. <VariableName>Submodel4\dimension[2]</VariableName>
  4521. <Value>0.05</Value>
  4522. </Y>
  4523. <Z>
  4524. <VariableName>Submodel4\dimension[3]</VariableName>
  4525. <Value>0.01</Value>
  4526. </Z>
  4527. </ScaleValue>
  4528. <OverrideColor>true</OverrideColor>
  4529. <MeshColor>
  4530. <X>
  4531. <Value>1</Value>
  4532. </X>
  4533. <Y>
  4534. <Value>1</Value>
  4535. </Y>
  4536. <Z>
  4537. <Value>1</Value>
  4538. </Z>
  4539. </MeshColor>
  4540. <Alpha>1.0</Alpha>
  4541. <MeshColorMultipliers>
  4542. <X>
  4543. <Value>1</Value>
  4544. </X>
  4545. <Y>
  4546. <Value>1</Value>
  4547. </Y>
  4548. <Z>
  4549. <Value>1</Value>
  4550. </Z>
  4551. </MeshColorMultipliers>
  4552. <MeshColorOffsets>
  4553. </MeshColorOffsets>
  4554. <Direct3DColorRange>true</Direct3DColorRange>
  4555. <SpecularColor>
  4556. <X>
  4557. <Value>0.5</Value>
  4558. </X>
  4559. <Y>
  4560. <Value>0.5</Value>
  4561. </Y>
  4562. <Z>
  4563. <Value>0.5</Value>
  4564. </Z>
  4565. </SpecularColor>
  4566. <EmissiveColor>
  4567. </EmissiveColor>
  4568. <ShininessPower>
  4569. <Value>15</Value>
  4570. </ShininessPower>
  4571. <OverrideQuality>false</OverrideQuality>
  4572. <ShowReferenceFrame>false</ShowReferenceFrame>
  4573. <Name>Block</Name>
  4574. <Position>
  4575. <X>
  4576. <VariableName>new_joint2\position[1]</VariableName>
  4577. <Value>0.0</Value>
  4578. </X>
  4579. <Y>
  4580. <VariableName>new_joint2\position[2]</VariableName>
  4581. <Value>0.07637589665407551</Value>
  4582. </Y>
  4583. <Z>
  4584. <VariableName>new_joint2\position[3]</VariableName>
  4585. <Value>-0.04762103432818519</Value>
  4586. </Z>
  4587. </Position>
  4588. <Orientation>
  4589. <ZAxis>
  4590. <X>
  4591. <VariableName>new_joint2\R[1,3]</VariableName>
  4592. <Value>0.0</Value>
  4593. </X>
  4594. <Y>
  4595. <VariableName>new_joint2\R[2,3]</VariableName>
  4596. <Value>0.5289973509267839</Value>
  4597. </Y>
  4598. <Z>
  4599. <VariableName>new_joint2\R[3,3]</VariableName>
  4600. <Value>0.8486234752305908</Value>
  4601. </Z>
  4602. </ZAxis>
  4603. <YAxis>
  4604. <X>
  4605. <VariableName>new_joint2\R[1,2]</VariableName>
  4606. <Value>0.0</Value>
  4607. </X>
  4608. <Y>
  4609. <VariableName>new_joint2\R[2,2]</VariableName>
  4610. <Value>0.8486234752305908</Value>
  4611. </Y>
  4612. <Z>
  4613. <VariableName>new_joint2\R[3,2]</VariableName>
  4614. <Value>-0.5289973509267839</Value>
  4615. </Z>
  4616. </YAxis>
  4617. <OrientationType>Matrix</OrientationType>
  4618. </Orientation>
  4619. <LockX>false</LockX>
  4620. <LockY>false</LockY>
  4621. <LockZ>false</LockZ>
  4622. <LockXPitch>false</LockXPitch>
  4623. <LockYYaw>false</LockYYaw>
  4624. <LockZRoll>false</LockZRoll>
  4625. <Childs>
  4626. </Childs>
  4627. </Cube>
  4628. </Childs>
  4629. </Frame>
  4630. </Childs>
  4631. </Frame>
  4632. </Childs>
  4633. </Frame>
  4634. </MainFrame>
  4635. </Plot>
  4636. <Plot>
  4637. <PlotType>GraphPlot</PlotType>
  4638. <BasePlot>
  4639. <PlotId>2</PlotId>
  4640. <UseWindowsBGColor>false</UseWindowsBGColor>
  4641. <BGColor>16777215</BGColor>
  4642. <PlotIsVisible>true</PlotIsVisible>
  4643. </BasePlot>
  4644. <Grid>
  4645. <DrawGrid>true</DrawGrid>
  4646. <GridColor>15780518</GridColor>
  4647. <GridBorderLineColor>12624260</GridBorderLineColor>
  4648. <GridZeroLineColor>0</GridZeroLineColor>
  4649. <XTicks>10</XTicks>
  4650. <YTicks>10</YTicks>
  4651. <ZTicks>10</ZTicks>
  4652. <Use3DLook>false</Use3DLook>
  4653. </Grid>
  4654. <PlotBGColor>16777215</PlotBGColor>
  4655. <ShowPlotTitle>true</ShowPlotTitle>
  4656. <TitlePosition>1</TitlePosition>
  4657. <PlotTitle>model(2)</PlotTitle>
  4658. <ShowXValues>true</ShowXValues>
  4659. <Fonts>
  4660. <TitleFont>
  4661. <Name>Arial</Name>
  4662. <Height>12</Height>
  4663. <PitchFamily>34</PitchFamily>
  4664. <Weight>400</Weight>
  4665. <Italic>0</Italic>
  4666. <UnderLine>0</UnderLine>
  4667. <StrikeOut>0</StrikeOut>
  4668. <Color>0</Color>
  4669. </TitleFont>
  4670. <LabelFont>
  4671. <Name>Arial</Name>
  4672. <Height>12</Height>
  4673. <PitchFamily>34</PitchFamily>
  4674. <Weight>400</Weight>
  4675. <Italic>0</Italic>
  4676. <UnderLine>0</UnderLine>
  4677. <StrikeOut>0</StrikeOut>
  4678. <Color>0</Color>
  4679. </LabelFont>
  4680. <ValuesFont>
  4681. <Name>Arial</Name>
  4682. <Height>10</Height>
  4683. <PitchFamily>34</PitchFamily>
  4684. <Weight>400</Weight>
  4685. <Italic>0</Italic>
  4686. <UnderLine>0</UnderLine>
  4687. <StrikeOut>0</StrikeOut>
  4688. <Color>0</Color>
  4689. </ValuesFont>
  4690. <LegendFont>
  4691. <Name>Arial</Name>
  4692. <Height>12</Height>
  4693. <PitchFamily>34</PitchFamily>
  4694. <Weight>400</Weight>
  4695. <Italic>0</Italic>
  4696. <UnderLine>0</UnderLine>
  4697. <StrikeOut>0</StrikeOut>
  4698. <Color>0</Color>
  4699. </LegendFont>
  4700. </Fonts>
  4701. <SharedXAxis>true</SharedXAxis>
  4702. <SharedYAxis>true</SharedYAxis>
  4703. <SharedZAxis>false</SharedZAxis>
  4704. <XAxes>
  4705. <Axis>
  4706. <Minimum>-0.04000000000000001</Minimum>
  4707. <Maximum>0.15999999999999998</Maximum>
  4708. <Linear>true</Linear>
  4709. <Scaling>1</Scaling>
  4710. <Label>position[2]</Label>
  4711. </Axis>
  4712. </XAxes>
  4713. <YAxes>
  4714. <Axis>
  4715. <Minimum>-0.1</Minimum>
  4716. <Maximum>0.1</Maximum>
  4717. <Linear>true</Linear>
  4718. <Scaling>1</Scaling>
  4719. <Label>Simulated path</Label>
  4720. </Axis>
  4721. <Axis>
  4722. <Minimum>-0.06</Minimum>
  4723. <Maximum>0.14</Maximum>
  4724. <Linear>true</Linear>
  4725. <Scaling>1</Scaling>
  4726. <Label>Given Path</Label>
  4727. </Axis>
  4728. </YAxes>
  4729. <ZAxes>
  4730. </ZAxes>
  4731. <Curves>
  4732. <Curve>
  4733. <LineColor>3355111</LineColor>
  4734. <LineStyle>1</LineStyle>
  4735. <TickColor>3355111</TickColor>
  4736. <TickStyle>0</TickStyle>
  4737. <CurveVisible>true</CurveVisible>
  4738. <PixelThresshold>1</PixelThresshold>
  4739. <LineThickness>1</LineThickness>
  4740. <LineOrder>1</LineOrder>
  4741. <ShowYValues>true</ShowYValues>
  4742. <XCurveData>
  4743. <ShowUnit>true</ShowUnit>
  4744. <VarName>new_joint3\position[2]</VarName>
  4745. </XCurveData>
  4746. <YCurveData>
  4747. <ShowUnit>true</ShowUnit>
  4748. <VarName>new_joint3\position[3]</VarName>
  4749. </YCurveData>
  4750. </Curve>
  4751. <Curve>
  4752. <LineColor>6076255</LineColor>
  4753. <LineStyle>1</LineStyle>
  4754. <TickColor>6076255</TickColor>
  4755. <TickStyle>0</TickStyle>
  4756. <CurveVisible>true</CurveVisible>
  4757. <PixelThresshold>1</PixelThresshold>
  4758. <LineThickness>1</LineThickness>
  4759. <LineOrder>1</LineOrder>
  4760. <ShowYValues>true</ShowYValues>
  4761. <XCurveData>
  4762. <ShowUnit>true</ShowUnit>
  4763. <VarName>rectanglepath1\output[1]</VarName>
  4764. </XCurveData>
  4765. <YCurveData>
  4766. <ShowUnit>true</ShowUnit>
  4767. <VarName>rectanglepath1\output[2]</VarName>
  4768. </YCurveData>
  4769. </Curve>
  4770. </Curves>
  4771. <Legenda>
  4772. <ShowLegenda>true</ShowLegenda>
  4773. <BorderPenColor>0</BorderPenColor>
  4774. <BackgroundColor>16777215</BackgroundColor>
  4775. </Legenda>
  4776. </Plot>
  4777. <Plot>
  4778. <PlotType>GraphPlot</PlotType>
  4779. <BasePlot>
  4780. <PlotId>3</PlotId>
  4781. <UseWindowsBGColor>false</UseWindowsBGColor>
  4782. <BGColor>16777215</BGColor>
  4783. <PlotIsVisible>true</PlotIsVisible>
  4784. </BasePlot>
  4785. <Grid>
  4786. <DrawGrid>true</DrawGrid>
  4787. <GridColor>15780518</GridColor>
  4788. <GridBorderLineColor>12624260</GridBorderLineColor>
  4789. <GridZeroLineColor>0</GridZeroLineColor>
  4790. <XTicks>10</XTicks>
  4791. <YTicks>10</YTicks>
  4792. <ZTicks>10</ZTicks>
  4793. <Use3DLook>false</Use3DLook>
  4794. </Grid>
  4795. <PlotBGColor>16777215</PlotBGColor>
  4796. <ShowPlotTitle>true</ShowPlotTitle>
  4797. <TitlePosition>1</TitlePosition>
  4798. <PlotTitle>Plot</PlotTitle>
  4799. <ShowXValues>true</ShowXValues>
  4800. <Fonts>
  4801. <TitleFont>
  4802. <Name>Arial</Name>
  4803. <Height>12</Height>
  4804. <PitchFamily>34</PitchFamily>
  4805. <Weight>400</Weight>
  4806. <Italic>0</Italic>
  4807. <UnderLine>0</UnderLine>
  4808. <StrikeOut>0</StrikeOut>
  4809. <Color>0</Color>
  4810. </TitleFont>
  4811. <LabelFont>
  4812. <Name>Arial</Name>
  4813. <Height>12</Height>
  4814. <PitchFamily>34</PitchFamily>
  4815. <Weight>400</Weight>
  4816. <Italic>0</Italic>
  4817. <UnderLine>0</UnderLine>
  4818. <StrikeOut>0</StrikeOut>
  4819. <Color>0</Color>
  4820. </LabelFont>
  4821. <ValuesFont>
  4822. <Name>Arial</Name>
  4823. <Height>10</Height>
  4824. <PitchFamily>34</PitchFamily>
  4825. <Weight>400</Weight>
  4826. <Italic>0</Italic>
  4827. <UnderLine>0</UnderLine>
  4828. <StrikeOut>0</StrikeOut>
  4829. <Color>0</Color>
  4830. </ValuesFont>
  4831. <LegendFont>
  4832. <Name>Arial</Name>
  4833. <Height>12</Height>
  4834. <PitchFamily>34</PitchFamily>
  4835. <Weight>400</Weight>
  4836. <Italic>0</Italic>
  4837. <UnderLine>0</UnderLine>
  4838. <StrikeOut>0</StrikeOut>
  4839. <Color>0</Color>
  4840. </LegendFont>
  4841. </Fonts>
  4842. <SharedXAxis>true</SharedXAxis>
  4843. <SharedYAxis>true</SharedYAxis>
  4844. <SharedZAxis>false</SharedZAxis>
  4845. <XAxes>
  4846. <Axis>
  4847. <Minimum>0.0</Minimum>
  4848. <Maximum>1.3</Maximum>
  4849. <Linear>true</Linear>
  4850. <Scaling>3</Scaling>
  4851. <Label>time</Label>
  4852. </Axis>
  4853. </XAxes>
  4854. <YAxes>
  4855. <Axis>
  4856. <Minimum>-2.8</Minimum>
  4857. <Maximum>-0.8000000000000003</Maximum>
  4858. <Linear>true</Linear>
  4859. <Scaling>2</Scaling>
  4860. <Label>error new joint 1</Label>
  4861. </Axis>
  4862. <Axis>
  4863. <Minimum>-1885.20460252739</Minimum>
  4864. <Maximum>0.0</Maximum>
  4865. <Linear>true</Linear>
  4866. <Scaling>2</Scaling>
  4867. <Label>error new joint 2</Label>
  4868. </Axis>
  4869. </YAxes>
  4870. <ZAxes>
  4871. </ZAxes>
  4872. <Curves>
  4873. <Curve>
  4874. <LineColor>3355111</LineColor>
  4875. <LineStyle>1</LineStyle>
  4876. <TickColor>3355111</TickColor>
  4877. <TickStyle>0</TickStyle>
  4878. <CurveVisible>true</CurveVisible>
  4879. <PixelThresshold>1</PixelThresshold>
  4880. <LineThickness>1</LineThickness>
  4881. <LineOrder>1</LineOrder>
  4882. <ShowYValues>true</ShowYValues>
  4883. <XCurveData>
  4884. <ShowUnit>true</ShowUnit>
  4885. <VarName>time</VarName>
  4886. </XCurveData>
  4887. <YCurveData>
  4888. <ShowUnit>true</ShowUnit>
  4889. <VarName>PID2\error</VarName>
  4890. </YCurveData>
  4891. </Curve>
  4892. <Curve>
  4893. <LineColor>6076255</LineColor>
  4894. <LineStyle>1</LineStyle>
  4895. <TickColor>6076255</TickColor>
  4896. <TickStyle>0</TickStyle>
  4897. <CurveVisible>true</CurveVisible>
  4898. <PixelThresshold>1</PixelThresshold>
  4899. <LineThickness>1</LineThickness>
  4900. <LineOrder>1</LineOrder>
  4901. <ShowYValues>true</ShowYValues>
  4902. <XCurveData>
  4903. <ShowUnit>true</ShowUnit>
  4904. <VarName>time</VarName>
  4905. </XCurveData>
  4906. <YCurveData>
  4907. <ShowUnit>true</ShowUnit>
  4908. <VarName>PID3\error</VarName>
  4909. </YCurveData>
  4910. </Curve>
  4911. </Curves>
  4912. <Legenda>
  4913. <ShowLegenda>true</ShowLegenda>
  4914. <BorderPenColor>0</BorderPenColor>
  4915. <BackgroundColor>16777215</BackgroundColor>
  4916. </Legenda>
  4917. </Plot>
  4918. <Plot>
  4919. <PlotType>GraphPlot</PlotType>
  4920. <BasePlot>
  4921. <PlotId>4</PlotId>
  4922. <UseWindowsBGColor>false</UseWindowsBGColor>
  4923. <BGColor>16777215</BGColor>
  4924. <PlotIsVisible>true</PlotIsVisible>
  4925. </BasePlot>
  4926. <Grid>
  4927. <DrawGrid>true</DrawGrid>
  4928. <GridColor>15780518</GridColor>
  4929. <GridBorderLineColor>12624260</GridBorderLineColor>
  4930. <GridZeroLineColor>0</GridZeroLineColor>
  4931. <XTicks>10</XTicks>
  4932. <YTicks>10</YTicks>
  4933. <ZTicks>10</ZTicks>
  4934. <Use3DLook>false</Use3DLook>
  4935. </Grid>
  4936. <PlotBGColor>16777215</PlotBGColor>
  4937. <ShowPlotTitle>true</ShowPlotTitle>
  4938. <TitlePosition>1</TitlePosition>
  4939. <PlotTitle>model</PlotTitle>
  4940. <ShowXValues>true</ShowXValues>
  4941. <Fonts>
  4942. <TitleFont>
  4943. <Name>Arial</Name>
  4944. <Height>12</Height>
  4945. <PitchFamily>34</PitchFamily>
  4946. <Weight>400</Weight>
  4947. <Italic>0</Italic>
  4948. <UnderLine>0</UnderLine>
  4949. <StrikeOut>0</StrikeOut>
  4950. <Color>0</Color>
  4951. </TitleFont>
  4952. <LabelFont>
  4953. <Name>Arial</Name>
  4954. <Height>12</Height>
  4955. <PitchFamily>34</PitchFamily>
  4956. <Weight>400</Weight>
  4957. <Italic>0</Italic>
  4958. <UnderLine>0</UnderLine>
  4959. <StrikeOut>0</StrikeOut>
  4960. <Color>0</Color>
  4961. </LabelFont>
  4962. <ValuesFont>
  4963. <Name>Arial</Name>
  4964. <Height>10</Height>
  4965. <PitchFamily>34</PitchFamily>
  4966. <Weight>400</Weight>
  4967. <Italic>0</Italic>
  4968. <UnderLine>0</UnderLine>
  4969. <StrikeOut>0</StrikeOut>
  4970. <Color>0</Color>
  4971. </ValuesFont>
  4972. <LegendFont>
  4973. <Name>Arial</Name>
  4974. <Height>12</Height>
  4975. <PitchFamily>34</PitchFamily>
  4976. <Weight>400</Weight>
  4977. <Italic>0</Italic>
  4978. <UnderLine>0</UnderLine>
  4979. <StrikeOut>0</StrikeOut>
  4980. <Color>0</Color>
  4981. </LegendFont>
  4982. </Fonts>
  4983. <SharedXAxis>true</SharedXAxis>
  4984. <SharedYAxis>true</SharedYAxis>
  4985. <SharedZAxis>false</SharedZAxis>
  4986. <XAxes>
  4987. <Axis>
  4988. <Minimum>0.8</Minimum>
  4989. <Maximum>1.5</Maximum>
  4990. <Linear>true</Linear>
  4991. <Scaling>0</Scaling>
  4992. <Label>time</Label>
  4993. </Axis>
  4994. </XAxes>
  4995. <YAxes>
  4996. <Axis>
  4997. <Minimum>-2.5</Minimum>
  4998. <Maximum>2.5</Maximum>
  4999. <Linear>true</Linear>
  5000. <Scaling>1</Scaling>
  5001. <Label>output</Label>
  5002. </Axis>
  5003. <Axis>
  5004. <Minimum>-2.5</Minimum>
  5005. <Maximum>2.5</Maximum>
  5006. <Linear>true</Linear>
  5007. <Scaling>1</Scaling>
  5008. <Label>output</Label>
  5009. </Axis>
  5010. <Axis>
  5011. <Minimum>-2.5</Minimum>
  5012. <Maximum>2.5</Maximum>
  5013. <Linear>true</Linear>
  5014. <Scaling>1</Scaling>
  5015. <Label>output</Label>
  5016. </Axis>
  5017. </YAxes>
  5018. <ZAxes>
  5019. </ZAxes>
  5020. <Curves>
  5021. <Curve>
  5022. <LineColor>3355111</LineColor>
  5023. <LineStyle>1</LineStyle>
  5024. <TickColor>3355111</TickColor>
  5025. <TickStyle>0</TickStyle>
  5026. <CurveVisible>true</CurveVisible>
  5027. <PixelThresshold>1</PixelThresshold>
  5028. <LineThickness>1</LineThickness>
  5029. <LineOrder>1</LineOrder>
  5030. <ShowYValues>true</ShowYValues>
  5031. <XCurveData>
  5032. <ShowUnit>true</ShowUnit>
  5033. <VarName>time</VarName>
  5034. </XCurveData>
  5035. <YCurveData>
  5036. <ShowUnit>true</ShowUnit>
  5037. <VarName>Step\output</VarName>
  5038. </YCurveData>
  5039. </Curve>
  5040. <Curve>
  5041. <LineColor>6076255</LineColor>
  5042. <LineStyle>1</LineStyle>
  5043. <TickColor>6076255</TickColor>
  5044. <TickStyle>0</TickStyle>
  5045. <CurveVisible>true</CurveVisible>
  5046. <PixelThresshold>1</PixelThresshold>
  5047. <LineThickness>1</LineThickness>
  5048. <LineOrder>1</LineOrder>
  5049. <ShowYValues>true</ShowYValues>
  5050. <XCurveData>
  5051. <ShowUnit>true</ShowUnit>
  5052. <VarName>time</VarName>
  5053. </XCurveData>
  5054. <YCurveData>
  5055. <ShowUnit>true</ShowUnit>
  5056. <VarName>Integrate1\output</VarName>
  5057. <MulOffsetMValue>-1.0</MulOffsetMValue>
  5058. </YCurveData>
  5059. </Curve>
  5060. <Curve>
  5061. <LineColor>12553035</LineColor>
  5062. <LineStyle>1</LineStyle>
  5063. <TickColor>12553035</TickColor>
  5064. <TickStyle>0</TickStyle>
  5065. <CurveVisible>true</CurveVisible>
  5066. <PixelThresshold>1</PixelThresshold>
  5067. <LineThickness>1</LineThickness>
  5068. <LineOrder>1</LineOrder>
  5069. <ShowYValues>true</ShowYValues>
  5070. <XCurveData>
  5071. <ShowUnit>true</ShowUnit>
  5072. <VarName>time</VarName>
  5073. </XCurveData>
  5074. <YCurveData>
  5075. <ShowUnit>true</ShowUnit>
  5076. <VarName>motor_joint2\SignalLimiter2\output</VarName>
  5077. </YCurveData>
  5078. </Curve>
  5079. </Curves>
  5080. <Legenda>
  5081. <ShowLegenda>true</ShowLegenda>
  5082. <Position>
  5083. <X>0.9365808823529411</X>
  5084. <Y>0.0811764705882353</Y>
  5085. </Position>
  5086. <BorderPenColor>0</BorderPenColor>
  5087. <BackgroundColor>16777215</BackgroundColor>
  5088. </Legenda>
  5089. </Plot>
  5090. </Plots>
  5091. <PlotPanels>
  5092. <PlotPanel>
  5093. <PlotPanelId>1</PlotPanelId>
  5094. <PlotPanelVisible>true</PlotPanelVisible>
  5095. <Name>Window 1</Name>
  5096. <Tiling>0</Tiling>
  5097. <PlotIds>
  5098. <PlotId>2</PlotId>
  5099. <PlotId>4</PlotId>
  5100. </PlotIds>
  5101. <ToggleState>Base</ToggleState>
  5102. </PlotPanel>
  5103. <PlotPanel>
  5104. <PlotPanelId>2</PlotPanelId>
  5105. <PlotPanelVisible>false</PlotPanelVisible>
  5106. <Name>Window 2</Name>
  5107. <Tiling>0</Tiling>
  5108. <PlotIds>
  5109. <PlotId>1</PlotId>
  5110. </PlotIds>
  5111. <ToggleState>Base</ToggleState>
  5112. </PlotPanel>
  5113. <PlotPanel>
  5114. <PlotPanelId>3</PlotPanelId>
  5115. <PlotPanelVisible>false</PlotPanelVisible>
  5116. <Name>Window 3</Name>
  5117. <Tiling>0</Tiling>
  5118. <PlotIds>
  5119. <PlotId>3</PlotId>
  5120. </PlotIds>
  5121. <ToggleState>Base</ToggleState>
  5122. </PlotPanel>
  5123. </PlotPanels>
  5124. <WindowRectangles virtualDesktopWidth="5760" virtualDesktopHeight="1080">
  5125. <WindowRectangle monitor="2" left="1920" top="0" right="3840" bottom="1080" plotpanelid="1">
  5126. 0.0557292 0.189815 0.747917 0.775
  5127. </WindowRectangle>
  5128. <WindowRectangle monitor="1" left="-1920" top="0" right="0" bottom="1080" plotpanelid="2">
  5129. 0.0807292 0.133333 0.720313 0.826852
  5130. </WindowRectangle>
  5131. <WindowRectangle monitor="1" left="-1920" top="0" right="0" bottom="1080" plotpanelid="3">
  5132. 0.286979 0.255556 0.683333 0.693519
  5133. </WindowRectangle>
  5134. </WindowRectangles>
  5135. </PlotSpecs>
  5136. <RunSpecs>
  5137. <SimulatorSettings>
  5138. <StartTime>0.0</StartTime>
  5139. <FinishTime>0.1</FinishTime>
  5140. <AllowPassFinishTime>false</AllowPassFinishTime>
  5141. <Warp>false</Warp>
  5142. <FPGonio>false</FPGonio>
  5143. <UseOutputAfterEach>false</UseOutputAfterEach>
  5144. <OutputAfterEach>0.1</OutputAfterEach>
  5145. <EventEpsilon>1.0e-6</EventEpsilon>
  5146. <AlgebraicTolerance>1.0e-7</AlgebraicTolerance>
  5147. <SteadyStateAnalysis>false</SteadyStateAnalysis>
  5148. <UpdateHoldInstructions>true</UpdateHoldInstructions>
  5149. </SimulatorSettings>
  5150. <IntegrationMethods>
  5151. <IntegrationMethod>
  5152. <Name>Euler</Name>
  5153. <StepSize>0.01</StepSize>
  5154. <AutoStepSize>false</AutoStepSize>
  5155. </IntegrationMethod>
  5156. <IntegrationMethod>
  5157. <Name>BackwardEuler</Name>
  5158. <AbsoluteTolerance>1.0e-5</AbsoluteTolerance>
  5159. <RelativeTolerance>1.0e-5</RelativeTolerance>
  5160. <AlgebraicAbsoluteTolerance>1.0e-5</AlgebraicAbsoluteTolerance>
  5161. <AlgebraicRelativeTolerance>1.0e-5</AlgebraicRelativeTolerance>
  5162. <StepSize>0.01</StepSize>
  5163. <Alpha>1.0</Alpha>
  5164. </IntegrationMethod>
  5165. <IntegrationMethod>
  5166. <Name>AdamsBashforth</Name>
  5167. <StepSize>0.01</StepSize>
  5168. <AutoStepSize>false</AutoStepSize>
  5169. </IntegrationMethod>
  5170. <IntegrationMethod>
  5171. <Name>RungeKutta2</Name>
  5172. <StepSize>0.01</StepSize>
  5173. <AutoStepSize>false</AutoStepSize>
  5174. </IntegrationMethod>
  5175. <IntegrationMethod>
  5176. <Name>RungeKutta4</Name>
  5177. <StepSize>0.01</StepSize>
  5178. <AutoStepSize>false</AutoStepSize>
  5179. </IntegrationMethod>
  5180. <IntegrationMethod>
  5181. <Name>RungeKutta8</Name>
  5182. <UseInitialStepSize>false</UseInitialStepSize>
  5183. <InitialStepSize>0.0</InitialStepSize>
  5184. <UseMaximumStepSize>false</UseMaximumStepSize>
  5185. <MaximumStepSize>0.0</MaximumStepSize>
  5186. <AbsoluteTolerance>1.0e-6</AbsoluteTolerance>
  5187. <RelativeTolerance>1.0e-6</RelativeTolerance>
  5188. <SafetyFactor>0.9</SafetyFactor>
  5189. <Factor1>0.33</Factor1>
  5190. <Factor2>6.0</Factor2>
  5191. <Beta>0.0</Beta>
  5192. <UseMaxNrSteps>false</UseMaxNrSteps>
  5193. <MaxNrSteps>100000</MaxNrSteps>
  5194. <UseStiffDetection>false</UseStiffDetection>
  5195. <MaxNrStiffnessSteps>1000</MaxNrStiffnessSteps>
  5196. </IntegrationMethod>
  5197. <IntegrationMethod>
  5198. <Name>RungeKuttaFehlberg</Name>
  5199. <UseInitialStepSize>false</UseInitialStepSize>
  5200. <InitialStepSize>0.0</InitialStepSize>
  5201. <UseMaximumStepSize>false</UseMaximumStepSize>
  5202. <MaximumStepSize>0.0</MaximumStepSize>
  5203. <AbsoluteTolerance>1.0e-6</AbsoluteTolerance>
  5204. <RelativeTolerance>1.0e-6</RelativeTolerance>
  5205. </IntegrationMethod>
  5206. <IntegrationMethod>
  5207. <Name>VodeAdams</Name>
  5208. <UseInitialStepSize>false</UseInitialStepSize>
  5209. <InitialStepSize>0.0</InitialStepSize>
  5210. <UseMaximumStepSize>false</UseMaximumStepSize>
  5211. <MaximumStepSize>0.0</MaximumStepSize>
  5212. <AbsoluteTolerance>1.0e-6</AbsoluteTolerance>
  5213. <RelativeTolerance>1.0e-6</RelativeTolerance>
  5214. <VodeUseBDF>true</VodeUseBDF>
  5215. <VodeUseNewton>true</VodeUseNewton>
  5216. </IntegrationMethod>
  5217. <IntegrationMethod>
  5218. <Name>BDFMethod</Name>
  5219. <AbsoluteTolerance>1.0e-5</AbsoluteTolerance>
  5220. <RelativeTolerance>1.0e-5</RelativeTolerance>
  5221. <AlgebraicAbsoluteTolerance>1.0e-5</AlgebraicAbsoluteTolerance>
  5222. <AlgebraicRelativeTolerance>1.0e-5</AlgebraicRelativeTolerance>
  5223. <UseInitialStepSize>false</UseInitialStepSize>
  5224. <InitialStepSize>0.0</InitialStepSize>
  5225. <UseMaximumStepSize>false</UseMaximumStepSize>
  5226. <MaximumStepSize>0.0</MaximumStepSize>
  5227. </IntegrationMethod>
  5228. <IntegrationMethod>
  5229. <Name>MeBDFiMethod</Name>
  5230. <AbsoluteTolerance>1.0e-5</AbsoluteTolerance>
  5231. <RelativeTolerance>1.0e-5</RelativeTolerance>
  5232. <AlgebraicAbsoluteTolerance>1.0e-5</AlgebraicAbsoluteTolerance>
  5233. <AlgebraicRelativeTolerance>1.0e-5</AlgebraicRelativeTolerance>
  5234. <UseInitialStepSize>false</UseInitialStepSize>
  5235. <InitialStepSize>0.0</InitialStepSize>
  5236. <UseMaximumStepSize>false</UseMaximumStepSize>
  5237. <MaximumStepSize>0.0</MaximumStepSize>
  5238. </IntegrationMethod>
  5239. <SelectedIntegrationMethod>8</SelectedIntegrationMethod>
  5240. </IntegrationMethods>
  5241. </RunSpecs>
  5242. <MultipleRun>
  5243. <NrSteps>10</NrSteps>
  5244. <CopyFromStates>false</CopyFromStates>
  5245. <JoinParameterVariation>true</JoinParameterVariation>
  5246. <ClearAfterRun>true</ClearAfterRun>
  5247. <RedrawAfterRun>false</RedrawAfterRun>
  5248. <DrawDuringSimulation>true</DrawDuringSimulation>
  5249. <ActionBeforeOptimization>0</ActionBeforeOptimization>
  5250. <CompareValue>0.0</CompareValue>
  5251. <UseCompareValue>true</UseCompareValue>
  5252. <MultipleRunType>MultipleRun</MultipleRunType>
  5253. <Minimize>true</Minimize>
  5254. <OptimizationVariable></OptimizationVariable>
  5255. <ResulVarUsage>UseEndValue</ResulVarUsage>
  5256. <Tolerance>0.001</Tolerance>
  5257. <OptimizationMethod>BroydonFletcherGoldfarbShanno</OptimizationMethod>
  5258. <MultipleRunVariables>
  5259. </MultipleRunVariables>
  5260. </MultipleRun>
  5261. <ExportData>
  5262. <WriteAsText>true</WriteAsText>
  5263. <ReadAsText>true</ReadAsText>
  5264. <WriteHeader>true</WriteHeader>
  5265. <ReadHeader>true</ReadHeader>
  5266. <ReadFilename></ReadFilename>
  5267. <WriteFilename></WriteFilename>
  5268. <DoWrite>false</DoWrite>
  5269. <ExportVariables>
  5270. </ExportVariables>
  5271. <ImportVariables>
  5272. </ImportVariables>
  5273. </ExportData>
  5274. <BreakPoints>
  5275. </BreakPoints>
  5276. <AnimationPlayback>
  5277. <PlaybackSpeed>1.0</PlaybackSpeed>
  5278. </AnimationPlayback>
  5279. </ExpData>
  5280. </Experiment>
  5281. </Experiments>
  5282. </Document>