Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

1267 lignes
34KB

  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\02_physics\scara_physics.emx</LibraryPath>
  11. <TimeStamp>2020-7-14 13:32:16</TimeStamp>
  12. </Description>
  13. <Attributes>
  14. <GlobalRelations>parameters
  15. real A = 0.05 {m};
  16. real B = 0.05 {m};
  17. variables
  18. real J0_1_BF1[2];
  19. real J1_2_BF1[2];
  20. real J1_2_BF2[2];
  21. initialequations</GlobalRelations>
  22. </Attributes>
  23. </Information>';
  24. type Mainmodel
  25. end;
  26. implementation bg
  27. submodels
  28. Integrate 280 248
  29. description '<Information>
  30. <Description>
  31. <Version>4.3</Version>
  32. <IsMainModel>1</IsMainModel>
  33. <KeepParameterValues>False</KeepParameterValues>
  34. <LibraryPath>Signal\Block Diagram\Integrate.emx</LibraryPath>
  35. <TimeStamp>2013-3-8 14:47:42</TimeStamp>
  36. </Description>
  37. </Information>';
  38. type Integrate
  39. ports
  40. signal in input;
  41. signal out output;
  42. end;
  43. icon bg bottom
  44. figures
  45. rectangle 264 232 296 264 color 0 fill 15132390;
  46. text '∫' 280 248.3 color 16711680 'Lucida Sans' 21 italic;
  47. end;
  48. implementation eq
  49. parameters
  50. real initial = 0; // initial value
  51. equations
  52. output = int (input, initial);
  53. implementation_end;
  54. Integrate1 680 248
  55. description '<Information>
  56. <Description>
  57. <Version>4.3</Version>
  58. <IsMainModel>1</IsMainModel>
  59. <KeepParameterValues>False</KeepParameterValues>
  60. <LibraryPath>Signal\Block Diagram\Integrate.emx</LibraryPath>
  61. <TimeStamp>2013-3-8 14:47:42</TimeStamp>
  62. </Description>
  63. </Information>';
  64. type Integrate
  65. ports
  66. signal in input;
  67. signal out output;
  68. end;
  69. icon bg bottom
  70. figures
  71. rectangle 664 232 696 264 color 0 fill 15132390;
  72. text '∫' 680 248.3 color 16711680 'Lucida Sans' 21 italic;
  73. end;
  74. implementation eq
  75. parameters
  76. real initial = 0; // initial value
  77. equations
  78. output = int (input, initial);
  79. implementation_end;
  80. MSe 504 96
  81. description '<Information>
  82. <Description>
  83. <Version>4.2</Version>
  84. <IsMainModel>1</IsMainModel>
  85. <KeepParameterValues>False</KeepParameterValues>
  86. <LibraryPath>Bond Graph\MSe.emx</LibraryPath>
  87. <TimeStamp>2011-11-29 16:12:33</TimeStamp>
  88. </Description>
  89. </Information>';
  90. type MSe
  91. ports
  92. power out p;
  93. signal in effort;
  94. restrictions
  95. causality fixed out p;
  96. end;
  97. icon bg bottom
  98. figures
  99. text 'MSe' 504 96 color 0 18 bold;
  100. end;
  101. implementation eq
  102. variables
  103. real flow;
  104. equations
  105. p.e = effort;
  106. flow = p.f;
  107. implementation_end;
  108. MSe1 72 168
  109. description '<Information>
  110. <Description>
  111. <Version>4.2</Version>
  112. <IsMainModel>1</IsMainModel>
  113. <KeepParameterValues>False</KeepParameterValues>
  114. <LibraryPath>Bond Graph\MSe.emx</LibraryPath>
  115. <TimeStamp>2011-11-29 16:12:33</TimeStamp>
  116. </Description>
  117. </Information>';
  118. type MSe
  119. ports
  120. power out p;
  121. signal in effort;
  122. restrictions
  123. causality fixed out p;
  124. end;
  125. icon bg bottom
  126. figures
  127. text 'MSe' 72 168 color 0 18 bold;
  128. end;
  129. implementation eq
  130. variables
  131. real flow;
  132. equations
  133. p.e = effort;
  134. flow = p.f;
  135. implementation_end;
  136. OneJunction 304 304
  137. description '<Information>
  138. <Description>
  139. <Version>4.2</Version>
  140. <IsMainModel>1</IsMainModel>
  141. <KeepParameterValues>False</KeepParameterValues>
  142. <LibraryPath>Bond Graph\OneJunction.emx</LibraryPath>
  143. <TimeStamp>2011-11-29 16:17:51</TimeStamp>
  144. </Description>
  145. </Information>';
  146. knot OneJunction
  147. ports
  148. power knot duplicatable none p [2,1];
  149. signal knot out flow [2,1];
  150. restrictions
  151. causality constraint one_out p;
  152. end;
  153. icon bg
  154. figures
  155. text '1' 304 304 color 0 18 bold;
  156. end;
  157. implementation eq
  158. equations
  159. sum (direct (p.e)) = 0;
  160. equal (collect (p.f));
  161. flow = first (p.f);
  162. implementation_end;
  163. OneJunction1 304 456
  164. description '<Information>
  165. <Description>
  166. <Version>4.2</Version>
  167. <IsMainModel>1</IsMainModel>
  168. <KeepParameterValues>False</KeepParameterValues>
  169. <LibraryPath>Bond Graph\OneJunction.emx</LibraryPath>
  170. <TimeStamp>2011-11-29 16:17:51</TimeStamp>
  171. </Description>
  172. </Information>';
  173. knot OneJunction
  174. ports
  175. power knot duplicatable none p [2,1];
  176. signal knot out flow [2,1];
  177. restrictions
  178. causality constraint one_out p;
  179. end;
  180. icon bg
  181. figures
  182. text '1' 304 456 color 0 18 bold;
  183. end;
  184. implementation eq
  185. equations
  186. sum (direct (p.e)) = 0;
  187. equal (collect (p.f));
  188. flow = first (p.f);
  189. implementation_end;
  190. OneJunction10 704 168
  191. description '<Information>
  192. <Description>
  193. <Version>4.2</Version>
  194. <IsMainModel>1</IsMainModel>
  195. <KeepParameterValues>False</KeepParameterValues>
  196. <LibraryPath>Bond Graph\OneJunction.emx</LibraryPath>
  197. <TimeStamp>2011-11-29 16:17:51</TimeStamp>
  198. </Description>
  199. </Information>';
  200. knot OneJunction
  201. ports
  202. power knot duplicatable none p [1];
  203. signal knot out flow [1];
  204. restrictions
  205. causality constraint one_out p;
  206. end;
  207. icon bg
  208. figures
  209. text '1' 704 168 color 0 18 bold;
  210. end;
  211. implementation eq
  212. equations
  213. sum (direct (p.e)) = 0;
  214. equal (collect (p.f));
  215. flow = first (p.f);
  216. implementation_end;
  217. OneJunction11 864 448
  218. description '<Information>
  219. <Description>
  220. <Version>4.2</Version>
  221. <IsMainModel>1</IsMainModel>
  222. <KeepParameterValues>False</KeepParameterValues>
  223. <LibraryPath>Bond Graph\OneJunction.emx</LibraryPath>
  224. <TimeStamp>2011-11-29 16:17:51</TimeStamp>
  225. </Description>
  226. </Information>';
  227. knot OneJunction
  228. ports
  229. power knot duplicatable none p [2,1];
  230. signal knot out flow [2,1];
  231. restrictions
  232. causality constraint one_out p;
  233. end;
  234. icon bg
  235. figures
  236. text '1' 864 448 color 0 18 bold;
  237. end;
  238. implementation eq
  239. equations
  240. sum (direct (p.e)) = 0;
  241. equal (collect (p.f));
  242. flow = first (p.f);
  243. implementation_end;
  244. OneJunction12 584 304
  245. description '<Information>
  246. <Description>
  247. <Version>4.2</Version>
  248. <IsMainModel>1</IsMainModel>
  249. <KeepParameterValues>False</KeepParameterValues>
  250. <LibraryPath>Bond Graph\OneJunction.emx</LibraryPath>
  251. <TimeStamp>2011-11-29 16:17:51</TimeStamp>
  252. </Description>
  253. </Information>';
  254. knot OneJunction
  255. ports
  256. power knot duplicatable none p [2,1];
  257. signal knot out flow [2,1];
  258. restrictions
  259. causality constraint one_out p;
  260. end;
  261. icon bg
  262. figures
  263. text '1' 584 304 color 0 18 bold;
  264. end;
  265. implementation eq
  266. equations
  267. sum (direct (p.e)) = 0;
  268. equal (collect (p.f));
  269. flow = first (p.f);
  270. implementation_end;
  271. OneJunction3 312 168
  272. description '<Information>
  273. <Description>
  274. <Version>4.2</Version>
  275. <IsMainModel>1</IsMainModel>
  276. <KeepParameterValues>False</KeepParameterValues>
  277. <LibraryPath>Bond Graph\OneJunction.emx</LibraryPath>
  278. <TimeStamp>2011-11-29 16:17:51</TimeStamp>
  279. </Description>
  280. </Information>';
  281. knot OneJunction
  282. ports
  283. power knot duplicatable none p [1];
  284. signal knot out flow [1];
  285. restrictions
  286. causality constraint one_out p;
  287. end;
  288. icon bg
  289. figures
  290. text '1' 312 168 color 0 18 bold;
  291. end;
  292. implementation eq
  293. equations
  294. sum (direct (p.e)) = 0;
  295. equal (collect (p.f));
  296. flow = first (p.f);
  297. implementation_end;
  298. OneJunction5 152.3 304
  299. description '<Information>
  300. <Description>
  301. <Version>4.2</Version>
  302. <IsMainModel>1</IsMainModel>
  303. <KeepParameterValues>False</KeepParameterValues>
  304. <LibraryPath>Bond Graph\OneJunction.emx</LibraryPath>
  305. <TimeStamp>2011-11-29 16:17:51</TimeStamp>
  306. </Description>
  307. </Information>';
  308. knot OneJunction
  309. ports
  310. power knot duplicatable none p [2,1];
  311. signal knot out flow [2,1];
  312. restrictions
  313. causality constraint one_out p;
  314. end;
  315. icon bg
  316. figures
  317. text '1' 152.3 304 color 0 18 bold;
  318. end;
  319. implementation eq
  320. equations
  321. sum (direct (p.e)) = 0;
  322. equal (collect (p.f));
  323. flow = first (p.f);
  324. implementation_end;
  325. OneJunction6 152 456
  326. description '<Information>
  327. <Description>
  328. <Version>4.2</Version>
  329. <IsMainModel>1</IsMainModel>
  330. <KeepParameterValues>False</KeepParameterValues>
  331. <LibraryPath>Bond Graph\OneJunction.emx</LibraryPath>
  332. <TimeStamp>2011-11-29 16:17:51</TimeStamp>
  333. </Description>
  334. </Information>';
  335. knot OneJunction
  336. ports
  337. power knot duplicatable none p [2,1];
  338. signal knot out flow [2,1];
  339. restrictions
  340. causality constraint one_out p;
  341. end;
  342. icon bg
  343. figures
  344. text '1' 152 456 color 0 18 bold;
  345. end;
  346. implementation eq
  347. equations
  348. sum (direct (p.e)) = 0;
  349. equal (collect (p.f));
  350. flow = first (p.f);
  351. implementation_end;
  352. OneJunction7 704 304
  353. description '<Information>
  354. <Description>
  355. <Version>4.2</Version>
  356. <IsMainModel>1</IsMainModel>
  357. <KeepParameterValues>False</KeepParameterValues>
  358. <LibraryPath>Bond Graph\OneJunction.emx</LibraryPath>
  359. <TimeStamp>2011-11-29 16:17:51</TimeStamp>
  360. </Description>
  361. </Information>';
  362. knot OneJunction
  363. ports
  364. power knot duplicatable none p [2,1];
  365. signal knot out flow [2,1];
  366. restrictions
  367. causality constraint one_out p;
  368. end;
  369. icon bg
  370. figures
  371. text '1' 704 304 color 0 18 bold;
  372. end;
  373. implementation eq
  374. equations
  375. sum (direct (p.e)) = 0;
  376. equal (collect (p.f));
  377. flow = first (p.f);
  378. implementation_end;
  379. OneJunction8 704 456
  380. description '<Information>
  381. <Description>
  382. <Version>4.2</Version>
  383. <IsMainModel>1</IsMainModel>
  384. <KeepParameterValues>False</KeepParameterValues>
  385. <LibraryPath>Bond Graph\OneJunction.emx</LibraryPath>
  386. <TimeStamp>2011-11-29 16:17:51</TimeStamp>
  387. </Description>
  388. </Information>';
  389. knot OneJunction
  390. ports
  391. power knot duplicatable none p [2,1];
  392. signal knot out flow [2,1];
  393. restrictions
  394. causality constraint one_out p;
  395. end;
  396. icon bg
  397. figures
  398. text '1' 704 456 color 0 18 bold;
  399. end;
  400. implementation eq
  401. equations
  402. sum (direct (p.e)) = 0;
  403. equal (collect (p.f));
  404. flow = first (p.f);
  405. implementation_end;
  406. OneJunction9 864 304
  407. description '<Information>
  408. <Description>
  409. <Version>4.2</Version>
  410. <IsMainModel>1</IsMainModel>
  411. <KeepParameterValues>False</KeepParameterValues>
  412. <LibraryPath>Bond Graph\OneJunction.emx</LibraryPath>
  413. <TimeStamp>2011-11-29 16:17:51</TimeStamp>
  414. </Description>
  415. </Information>';
  416. knot OneJunction
  417. ports
  418. power knot duplicatable none p [2,1];
  419. signal knot out flow [2,1];
  420. restrictions
  421. causality constraint one_out p;
  422. end;
  423. icon bg
  424. figures
  425. text '1' 864 304 color 0 18 bold;
  426. end;
  427. implementation eq
  428. equations
  429. sum (direct (p.e)) = 0;
  430. equal (collect (p.f));
  431. flow = first (p.f);
  432. implementation_end;
  433. PlusMinus1 512 336
  434. description '<Description><Version>4.0</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues>
  435. <LibraryPath>Signal\Block Diagram\PlusMinus.emx</LibraryPath>
  436. <TimeStamp>2007-9-27 10:15:13</TimeStamp>
  437. </Description>';
  438. knot PlusMinus
  439. ports
  440. signal knot duplicatable in plus [1];
  441. signal knot duplicatable in minus [1];
  442. signal knot out output [1];
  443. end;
  444. icon bg ellipse
  445. figures
  446. ellipse 504 328 520 344 color 0 fill 16777215;
  447. end;
  448. implementation eq
  449. equations
  450. output = sum (collect (plus)) - sum (collect (minus));
  451. implementation_end;
  452. RTF 304 368
  453. description '<Information>
  454. <Description>
  455. <Version>4.8</Version>
  456. <IsMainModel>1</IsMainModel>
  457. <KeepParameterValues>False</KeepParameterValues>
  458. <LibraryPath>Bond Graph\2D\RTF-2.emx</LibraryPath>
  459. <TimeStamp>2020-7-14 12:43:04</TimeStamp>
  460. </Description>
  461. </Information>';
  462. type 'TF-2'
  463. ports
  464. power in p1 [2,1];
  465. power out p2 [2,1];
  466. signal in angle {rad} ;
  467. restrictions
  468. causality constraint not_equal p1 p2;
  469. end;
  470. icon bg bottom
  471. figures
  472. text 'RTF' 304 368 color 0 18 bold;
  473. end;
  474. implementation eq
  475. /*
  476. 2D rotation transformer. Takes an angle as input and then rotates the dimensions
  477. */
  478. variables
  479. real r[2,2];
  480. equations
  481. r = [cos(angle), -sin(angle); sin(angle), cos(angle)];
  482. p1.e = transpose (r) * p2.e;
  483. p2.f = r * p1.f;
  484. implementation_end;
  485. RTF1 512 304
  486. description '<Information>
  487. <Description>
  488. <Version>4.8</Version>
  489. <IsMainModel>1</IsMainModel>
  490. <KeepParameterValues>False</KeepParameterValues>
  491. <LibraryPath>Bond Graph\2D\RTF-2.emx</LibraryPath>
  492. <TimeStamp>2020-7-14 12:43:04</TimeStamp>
  493. </Description>
  494. </Information>';
  495. type 'TF-2'
  496. ports
  497. power in p1 [2,1];
  498. power out p2 [2,1];
  499. signal in angle {rad} ;
  500. restrictions
  501. causality constraint not_equal p1 p2;
  502. end;
  503. icon bg bottom
  504. figures
  505. text 'RTF' 512 304 color 0 18 bold;
  506. end;
  507. implementation eq
  508. /*
  509. 2D rotation transformer. Takes an angle as input and then rotates the dimensions
  510. */
  511. variables
  512. real r[2,2];
  513. equations
  514. r = [cos(angle), -sin(angle); sin(angle), cos(angle)];
  515. p1.e = transpose (r) * p2.e;
  516. p2.f = r * p1.f;
  517. implementation_end;
  518. RTF2 152 368
  519. description '<Information>
  520. <Description>
  521. <Version>4.8</Version>
  522. <IsMainModel>1</IsMainModel>
  523. <KeepParameterValues>False</KeepParameterValues>
  524. <LibraryPath>Bond Graph\2D\RTF-2.emx</LibraryPath>
  525. <TimeStamp>2020-7-14 12:43:04</TimeStamp>
  526. </Description>
  527. </Information>';
  528. type 'TF-2'
  529. ports
  530. power in p1 [2,1];
  531. power out p2 [2,1];
  532. signal in angle {rad} ;
  533. restrictions
  534. causality constraint not_equal p1 p2;
  535. end;
  536. icon bg bottom
  537. figures
  538. text 'RTF' 152 368 color 0 18 bold;
  539. end;
  540. implementation eq
  541. /*
  542. 2D rotation transformer. Takes an angle as input and then rotates the dimensions
  543. */
  544. variables
  545. real r[2,2];
  546. equations
  547. r = [cos(angle), -sin(angle); sin(angle), cos(angle)];
  548. p1.e = transpose (r) * p2.e;
  549. p2.f = r * p1.f;
  550. implementation_end;
  551. RTF3 704 368
  552. description '<Information>
  553. <Description>
  554. <Version>4.8</Version>
  555. <IsMainModel>1</IsMainModel>
  556. <KeepParameterValues>False</KeepParameterValues>
  557. <LibraryPath>Bond Graph\2D\RTF-2.emx</LibraryPath>
  558. <TimeStamp>2020-7-14 12:43:04</TimeStamp>
  559. </Description>
  560. </Information>';
  561. type 'TF-2'
  562. ports
  563. power in p1 [2,1];
  564. power out p2 [2,1];
  565. signal in angle {rad} ;
  566. restrictions
  567. causality constraint not_equal p1 p2;
  568. end;
  569. icon bg bottom
  570. figures
  571. text 'RTF' 704 368 color 0 18 bold;
  572. end;
  573. implementation eq
  574. /*
  575. 2D rotation transformer. Takes an angle as input and then rotates the dimensions
  576. */
  577. variables
  578. real r[2,2];
  579. equations
  580. r = [cos(angle), -sin(angle); sin(angle), cos(angle)];
  581. p1.e = transpose (r) * p2.e;
  582. p2.f = r * p1.f;
  583. implementation_end;
  584. RTF4 864 360
  585. description '<Information>
  586. <Description>
  587. <Version>4.8</Version>
  588. <IsMainModel>1</IsMainModel>
  589. <KeepParameterValues>False</KeepParameterValues>
  590. <LibraryPath>Bond Graph\2D\RTF-2.emx</LibraryPath>
  591. <TimeStamp>2020-7-14 12:43:04</TimeStamp>
  592. </Description>
  593. </Information>';
  594. type 'TF-2'
  595. ports
  596. power in p1 [2,1];
  597. power out p2 [2,1];
  598. signal in angle {rad} ;
  599. restrictions
  600. causality constraint not_equal p1 p2;
  601. end;
  602. icon bg bottom
  603. figures
  604. text 'RTF' 864 360 color 0 18 bold;
  605. end;
  606. implementation eq
  607. /*
  608. 2D rotation transformer. Takes an angle as input and then rotates the dimensions
  609. */
  610. variables
  611. real r[2,2];
  612. equations
  613. r = [cos(angle), -sin(angle); sin(angle), cos(angle)];
  614. p1.e = transpose (r) * p2.e;
  615. p2.f = r * p1.f;
  616. implementation_end;
  617. Splitter1 280 336
  618. description '<Description><Version>4.0</Version>
  619. <LibraryPath>Signal\Block Diagram\Splitter.emx</LibraryPath>
  620. <TimeStamp>2008-01-17 11:28:29</TimeStamp>
  621. <IsMainModel>1</IsMainModel>
  622. <KeepParameterValues>False</KeepParameterValues>
  623. </Description>';
  624. knot Splitter
  625. ports
  626. signal knot duplicatable out output [1];
  627. signal knot in input [1];
  628. end;
  629. icon bg ellipse
  630. figures
  631. ellipse 276.8 332.8 283.2 339.2 color -1 fill 0;
  632. ellipse 275.7 331.7 284.3 340.3 color -1;
  633. terminals
  634. input 280 336 fixed;
  635. end;
  636. implementation eq
  637. equations
  638. collect (output) = input;
  639. implementation_end;
  640. Splitter2 680 336
  641. description '<Description><Version>4.0</Version>
  642. <LibraryPath>Signal\Block Diagram\Splitter.emx</LibraryPath>
  643. <TimeStamp>2008-01-17 11:28:29</TimeStamp>
  644. <IsMainModel>1</IsMainModel>
  645. <KeepParameterValues>False</KeepParameterValues>
  646. </Description>';
  647. knot Splitter
  648. ports
  649. signal knot duplicatable out output [1];
  650. signal knot in input [1];
  651. end;
  652. icon bg ellipse
  653. figures
  654. ellipse 676.8 332.8 683.2 339.2 color -1 fill 0;
  655. ellipse 675.7 331.7 684.3 340.3 color -1;
  656. terminals
  657. input 680 336 fixed;
  658. end;
  659. implementation eq
  660. equations
  661. collect (output) = input;
  662. implementation_end;
  663. TF 384 224
  664. description '<Information>
  665. <Description>
  666. <Version>4.8</Version>
  667. <IsMainModel>1</IsMainModel>
  668. <KeepParameterValues>False</KeepParameterValues>
  669. <LibraryPath>Bond Graph\2D\XTF-2.emx</LibraryPath>
  670. <TimeStamp>2020-7-14 13:20:33</TimeStamp>
  671. </Description>
  672. </Information>';
  673. type 'TF-2'
  674. ports
  675. power in p1;
  676. power out p2 [2,1];
  677. restrictions
  678. causality constraint not_equal p1 p2;
  679. end;
  680. icon bg bottom
  681. figures
  682. text 'XTF' 384 224 color 0 18 bold;
  683. end;
  684. implementation eq
  685. parameters
  686. real x;
  687. real y;
  688. variables
  689. real r[2,1];
  690. initialequations
  691. r = [-y; x];
  692. equations
  693. p1.e = transpose (r) * p2.e;
  694. p2.f = r * p1.f;
  695. implementation_end;
  696. TF1 232.3 224
  697. description '<Information>
  698. <Description>
  699. <Version>4.8</Version>
  700. <IsMainModel>1</IsMainModel>
  701. <KeepParameterValues>False</KeepParameterValues>
  702. <LibraryPath>Bond Graph\2D\XTF-2.emx</LibraryPath>
  703. <TimeStamp>2020-7-14 13:20:33</TimeStamp>
  704. </Description>
  705. </Information>';
  706. type 'TF-2'
  707. ports
  708. power in p1;
  709. power out p2 [2,1];
  710. restrictions
  711. causality constraint not_equal p1 p2;
  712. end;
  713. icon bg bottom
  714. figures
  715. text 'XTF' 232.3 224 color 0 18 bold;
  716. end;
  717. implementation eq
  718. parameters
  719. real x;
  720. real y;
  721. variables
  722. real r[2,1];
  723. initialequations
  724. r = [-y; x];
  725. equations
  726. p1.e = transpose (r) * p2.e;
  727. p2.f = r * p1.f;
  728. implementation_end;
  729. TF2 784 224
  730. description '<Information>
  731. <Description>
  732. <Version>4.8</Version>
  733. <IsMainModel>1</IsMainModel>
  734. <KeepParameterValues>False</KeepParameterValues>
  735. <LibraryPath>Bond Graph\2D\XTF-2.emx</LibraryPath>
  736. <TimeStamp>2020-7-14 13:20:33</TimeStamp>
  737. </Description>
  738. </Information>';
  739. type 'TF-2'
  740. ports
  741. power in p1;
  742. power out p2 [2,1];
  743. restrictions
  744. causality constraint not_equal p1 p2;
  745. end;
  746. icon bg bottom
  747. figures
  748. text 'XTF' 784 224 color 0 18 bold;
  749. end;
  750. implementation eq
  751. parameters
  752. real x;
  753. real y;
  754. variables
  755. real r[2,1];
  756. initialequations
  757. r = [-y; x];
  758. equations
  759. p1.e = transpose (r) * p2.e;
  760. p2.f = r * p1.f;
  761. implementation_end;
  762. TF3 632.3 224
  763. description '<Information>
  764. <Description>
  765. <Version>4.8</Version>
  766. <IsMainModel>1</IsMainModel>
  767. <KeepParameterValues>False</KeepParameterValues>
  768. <LibraryPath>Bond Graph\2D\XTF-2.emx</LibraryPath>
  769. <TimeStamp>2020-7-14 13:20:33</TimeStamp>
  770. </Description>
  771. </Information>';
  772. type 'TF-2'
  773. ports
  774. power in p1;
  775. power out p2 [2,1];
  776. restrictions
  777. causality constraint not_equal p1 p2;
  778. end;
  779. icon bg bottom
  780. figures
  781. text 'XTF' 632.3 224 color 0 18 bold;
  782. end;
  783. implementation eq
  784. parameters
  785. real x;
  786. real y;
  787. variables
  788. real r[2,1];
  789. initialequations
  790. r = [-y; x];
  791. equations
  792. p1.e = transpose (r) * p2.e;
  793. p2.f = r * p1.f;
  794. implementation_end;
  795. ZeroJunction 384 304
  796. description '<Information>
  797. <Description>
  798. <Version>4.2</Version>
  799. <IsMainModel>1</IsMainModel>
  800. <KeepParameterValues>False</KeepParameterValues>
  801. <LibraryPath>Bond Graph\ZeroJunction.emx</LibraryPath>
  802. <TimeStamp>2011-11-29 16:45:16</TimeStamp>
  803. </Description>
  804. </Information>';
  805. knot ZeroJunction
  806. ports
  807. power knot duplicatable none p [2,1];
  808. signal knot out effort [2,1];
  809. restrictions
  810. causality constraint one_in p;
  811. end;
  812. icon bg
  813. figures
  814. text '0' 384 304 color 0 18 bold;
  815. end;
  816. implementation eq
  817. equations
  818. sum (direct (p.f)) = 0;
  819. equal (collect (p.e));
  820. effort = first (p.e);
  821. implementation_end;
  822. ZeroJunction1 232.3 304
  823. description '<Information>
  824. <Description>
  825. <Version>4.2</Version>
  826. <IsMainModel>1</IsMainModel>
  827. <KeepParameterValues>False</KeepParameterValues>
  828. <LibraryPath>Bond Graph\ZeroJunction.emx</LibraryPath>
  829. <TimeStamp>2011-11-29 16:45:16</TimeStamp>
  830. </Description>
  831. </Information>';
  832. knot ZeroJunction
  833. ports
  834. power knot duplicatable none p [2,1];
  835. signal knot out effort [2,1];
  836. restrictions
  837. causality constraint one_in p;
  838. end;
  839. icon bg
  840. figures
  841. text '0' 232.3 304 color 0 18 bold;
  842. end;
  843. implementation eq
  844. equations
  845. sum (direct (p.f)) = 0;
  846. equal (collect (p.e));
  847. effort = first (p.e);
  848. implementation_end;
  849. ZeroJunction2 784 304
  850. description '<Information>
  851. <Description>
  852. <Version>4.2</Version>
  853. <IsMainModel>1</IsMainModel>
  854. <KeepParameterValues>False</KeepParameterValues>
  855. <LibraryPath>Bond Graph\ZeroJunction.emx</LibraryPath>
  856. <TimeStamp>2011-11-29 16:45:16</TimeStamp>
  857. </Description>
  858. </Information>';
  859. knot ZeroJunction
  860. ports
  861. power knot duplicatable none p [2,1];
  862. signal knot out effort [2,1];
  863. restrictions
  864. causality constraint one_in p;
  865. end;
  866. icon bg
  867. figures
  868. text '0' 784 304 color 0 18 bold;
  869. end;
  870. implementation eq
  871. equations
  872. sum (direct (p.f)) = 0;
  873. equal (collect (p.e));
  874. effort = first (p.e);
  875. implementation_end;
  876. ZeroJunction3 632.3 304
  877. description '<Information>
  878. <Description>
  879. <Version>4.2</Version>
  880. <IsMainModel>1</IsMainModel>
  881. <KeepParameterValues>False</KeepParameterValues>
  882. <LibraryPath>Bond Graph\ZeroJunction.emx</LibraryPath>
  883. <TimeStamp>2011-11-29 16:45:16</TimeStamp>
  884. </Description>
  885. </Information>';
  886. knot ZeroJunction
  887. ports
  888. power knot duplicatable none p [2,1];
  889. signal knot out effort [2,1];
  890. restrictions
  891. causality constraint one_in p;
  892. end;
  893. icon bg
  894. figures
  895. text '0' 632.3 304 color 0 18 bold;
  896. end;
  897. implementation eq
  898. equations
  899. sum (direct (p.f)) = 0;
  900. equal (collect (p.e));
  901. effort = first (p.e);
  902. implementation_end;
  903. ZeroJunction4 504 168
  904. description '<Information>
  905. <Description>
  906. <Version>4.2</Version>
  907. <IsMainModel>1</IsMainModel>
  908. <KeepParameterValues>False</KeepParameterValues>
  909. <LibraryPath>Bond Graph\ZeroJunction.emx</LibraryPath>
  910. <TimeStamp>2011-11-29 16:45:16</TimeStamp>
  911. </Description>
  912. </Information>';
  913. knot ZeroJunction
  914. ports
  915. power knot duplicatable none p [1];
  916. signal knot out effort [1];
  917. restrictions
  918. causality constraint one_in p;
  919. end;
  920. icon bg
  921. figures
  922. text '0' 504 168 color 0 18 bold;
  923. end;
  924. implementation eq
  925. equations
  926. sum (direct (p.f)) = 0;
  927. equal (collect (p.e));
  928. effort = first (p.e);
  929. implementation_end;
  930. end;
  931. connections
  932. Integrate\output -> Splitter1\input;
  933. Integrate1\output -> Splitter2\input;
  934. MSe1\p => OneJunction3\p;
  935. OneJunction\p => RTF\p1;
  936. OneJunction\p => ZeroJunction\p;
  937. OneJunction\p => ZeroJunction1\p;
  938. OneJunction10\flow -> Integrate1\input;
  939. OneJunction10\p => TF2\p1;
  940. OneJunction10\p => TF3\p1;
  941. OneJunction3\flow -> Integrate\input;
  942. OneJunction3\p => TF\p1;
  943. OneJunction3\p => TF1\p1;
  944. OneJunction3\p => ZeroJunction4\p;
  945. OneJunction5\p => RTF2\p1;
  946. OneJunction7\p => RTF3\p1;
  947. OneJunction7\p => ZeroJunction2\p;
  948. OneJunction7\p => ZeroJunction3\p;
  949. OneJunction9\p => RTF4\p1;
  950. PlusMinus1\output -> RTF1\angle;
  951. RTF\p2 => OneJunction1\p;
  952. RTF1\p2 => OneJunction12\p;
  953. RTF2\p2 => OneJunction6\p;
  954. RTF3\p2 => OneJunction8\p;
  955. RTF4\p2 => OneJunction11\p;
  956. Splitter1\output -> PlusMinus1\plus;
  957. Splitter1\output -> RTF\angle 280 344;
  958. Splitter1\output -> RTF2\angle 176 336;
  959. Splitter2\output -> PlusMinus1\minus;
  960. Splitter2\output -> RTF3\angle 680 344;
  961. Splitter2\output -> RTF4\angle 832 336;
  962. TF\p2 => ZeroJunction\p;
  963. TF1\p2 => ZeroJunction1\p;
  964. TF2\p2 => ZeroJunction2\p;
  965. TF3\p2 => ZeroJunction3\p;
  966. ZeroJunction\p => RTF1\p1;
  967. ZeroJunction1\p => OneJunction5\p;
  968. ZeroJunction2\p => OneJunction9\p;
  969. ZeroJunction3\p => OneJunction12\p;
  970. ZeroJunction4\p <= MSe\p;
  971. ZeroJunction4\p => OneJunction10\p;
  972. end;
  973. implementation_end;
  974. ]]>
  975. </Sidops>
  976. </Model>
  977. <Experiments>
  978. <DefaultExperiment><![CDATA[Experiment 1]]>
  979. </DefaultExperiment>
  980. <Experiment>
  981. <Name>Experiment 1</Name>
  982. <CreatedBy></CreatedBy>
  983. <Info></Info>
  984. <ExpData>
  985. <VersionNumber>4.8</VersionNumber>
  986. <ModelProperties>
  987. </ModelProperties>
  988. <Variables>
  989. </Variables>
  990. <PlotSpecs>
  991. <VarNames>
  992. <VarName>time</VarName>
  993. </VarNames>
  994. <Plots>
  995. <Plot>
  996. <PlotType>GraphPlot</PlotType>
  997. <BasePlot>
  998. <PlotId>1</PlotId>
  999. <UseWindowsBGColor>false</UseWindowsBGColor>
  1000. <BGColor>16777215</BGColor>
  1001. <PlotIsVisible>true</PlotIsVisible>
  1002. </BasePlot>
  1003. <Grid>
  1004. <DrawGrid>true</DrawGrid>
  1005. <GridColor>15780518</GridColor>
  1006. <GridBorderLineColor>12624260</GridBorderLineColor>
  1007. <GridZeroLineColor>0</GridZeroLineColor>
  1008. <XTicks>10</XTicks>
  1009. <YTicks>10</YTicks>
  1010. <ZTicks>10</ZTicks>
  1011. <Use3DLook>false</Use3DLook>
  1012. </Grid>
  1013. <PlotBGColor>16777215</PlotBGColor>
  1014. <ShowPlotTitle>true</ShowPlotTitle>
  1015. <TitlePosition>1</TitlePosition>
  1016. <PlotTitle>model</PlotTitle>
  1017. <ShowXValues>true</ShowXValues>
  1018. <Fonts>
  1019. <TitleFont>
  1020. <Name>Arial</Name>
  1021. <Height>12</Height>
  1022. <PitchFamily>34</PitchFamily>
  1023. <Weight>400</Weight>
  1024. <Italic>0</Italic>
  1025. <UnderLine>0</UnderLine>
  1026. <StrikeOut>0</StrikeOut>
  1027. <Color>0</Color>
  1028. </TitleFont>
  1029. <LabelFont>
  1030. <Name>Arial</Name>
  1031. <Height>12</Height>
  1032. <PitchFamily>34</PitchFamily>
  1033. <Weight>400</Weight>
  1034. <Italic>0</Italic>
  1035. <UnderLine>0</UnderLine>
  1036. <StrikeOut>0</StrikeOut>
  1037. <Color>0</Color>
  1038. </LabelFont>
  1039. <ValuesFont>
  1040. <Name>Arial</Name>
  1041. <Height>10</Height>
  1042. <PitchFamily>34</PitchFamily>
  1043. <Weight>400</Weight>
  1044. <Italic>0</Italic>
  1045. <UnderLine>0</UnderLine>
  1046. <StrikeOut>0</StrikeOut>
  1047. <Color>0</Color>
  1048. </ValuesFont>
  1049. <LegendFont>
  1050. <Name>Arial</Name>
  1051. <Height>12</Height>
  1052. <PitchFamily>34</PitchFamily>
  1053. <Weight>400</Weight>
  1054. <Italic>0</Italic>
  1055. <UnderLine>0</UnderLine>
  1056. <StrikeOut>0</StrikeOut>
  1057. <Color>0</Color>
  1058. </LegendFont>
  1059. </Fonts>
  1060. <SharedXAxis>true</SharedXAxis>
  1061. <SharedYAxis>true</SharedYAxis>
  1062. <SharedZAxis>false</SharedZAxis>
  1063. <XAxes>
  1064. <Axis>
  1065. <Minimum>0.0</Minimum>
  1066. <Maximum>10.0</Maximum>
  1067. <Linear>true</Linear>
  1068. <Scaling>3</Scaling>
  1069. <Label>time</Label>
  1070. </Axis>
  1071. </XAxes>
  1072. <YAxes>
  1073. <Axis>
  1074. <Minimum>0.0</Minimum>
  1075. <Maximum>10.0</Maximum>
  1076. <Linear>true</Linear>
  1077. <Scaling>2</Scaling>
  1078. <Label></Label>
  1079. </Axis>
  1080. </YAxes>
  1081. <ZAxes>
  1082. </ZAxes>
  1083. <Curves>
  1084. <Curve>
  1085. <LineColor>3355111</LineColor>
  1086. <LineStyle>1</LineStyle>
  1087. <TickColor>3355111</TickColor>
  1088. <TickStyle>0</TickStyle>
  1089. <CurveVisible>true</CurveVisible>
  1090. <PixelThresshold>1</PixelThresshold>
  1091. <LineThickness>1</LineThickness>
  1092. <LineOrder>1</LineOrder>
  1093. <ShowYValues>true</ShowYValues>
  1094. <XCurveData>
  1095. <ShowUnit>true</ShowUnit>
  1096. <VarName>time</VarName>
  1097. </XCurveData>
  1098. </Curve>
  1099. </Curves>
  1100. <Legenda>
  1101. <ShowLegenda>true</ShowLegenda>
  1102. <BorderPenColor>0</BorderPenColor>
  1103. <BackgroundColor>16777215</BackgroundColor>
  1104. </Legenda>
  1105. </Plot>
  1106. </Plots>
  1107. <PlotPanels>
  1108. <PlotPanel>
  1109. <PlotPanelId>1</PlotPanelId>
  1110. <PlotPanelVisible>true</PlotPanelVisible>
  1111. <Name>Window 1</Name>
  1112. <Tiling>0</Tiling>
  1113. <PlotIds>
  1114. <PlotId>1</PlotId>
  1115. </PlotIds>
  1116. <ToggleState>Base</ToggleState>
  1117. </PlotPanel>
  1118. </PlotPanels>
  1119. </PlotSpecs>
  1120. <RunSpecs>
  1121. <SimulatorSettings>
  1122. <StartTime>0.0</StartTime>
  1123. <FinishTime>10.0</FinishTime>
  1124. <AllowPassFinishTime>false</AllowPassFinishTime>
  1125. <Warp>false</Warp>
  1126. <FPGonio>false</FPGonio>
  1127. <UseOutputAfterEach>false</UseOutputAfterEach>
  1128. <OutputAfterEach>0.1</OutputAfterEach>
  1129. <EventEpsilon>1.0e-6</EventEpsilon>
  1130. <AlgebraicTolerance>1.0e-7</AlgebraicTolerance>
  1131. <SteadyStateAnalysis>false</SteadyStateAnalysis>
  1132. <UpdateHoldInstructions>true</UpdateHoldInstructions>
  1133. </SimulatorSettings>
  1134. <IntegrationMethods>
  1135. <IntegrationMethod>
  1136. <Name>Euler</Name>
  1137. <StepSize>0.01</StepSize>
  1138. <AutoStepSize>false</AutoStepSize>
  1139. </IntegrationMethod>
  1140. <IntegrationMethod>
  1141. <Name>BackwardEuler</Name>
  1142. <AbsoluteTolerance>1.0e-5</AbsoluteTolerance>
  1143. <RelativeTolerance>1.0e-5</RelativeTolerance>
  1144. <AlgebraicAbsoluteTolerance>1.0e-5</AlgebraicAbsoluteTolerance>
  1145. <AlgebraicRelativeTolerance>1.0e-5</AlgebraicRelativeTolerance>
  1146. <StepSize>0.01</StepSize>
  1147. <Alpha>1.0</Alpha>
  1148. </IntegrationMethod>
  1149. <IntegrationMethod>
  1150. <Name>AdamsBashforth</Name>
  1151. <StepSize>0.01</StepSize>
  1152. <AutoStepSize>false</AutoStepSize>
  1153. </IntegrationMethod>
  1154. <IntegrationMethod>
  1155. <Name>RungeKutta2</Name>
  1156. <StepSize>0.01</StepSize>
  1157. <AutoStepSize>false</AutoStepSize>
  1158. </IntegrationMethod>
  1159. <IntegrationMethod>
  1160. <Name>RungeKutta4</Name>
  1161. <StepSize>0.01</StepSize>
  1162. <AutoStepSize>false</AutoStepSize>
  1163. </IntegrationMethod>
  1164. <IntegrationMethod>
  1165. <Name>RungeKutta8</Name>
  1166. <UseInitialStepSize>false</UseInitialStepSize>
  1167. <InitialStepSize>0.001</InitialStepSize>
  1168. <UseMaximumStepSize>false</UseMaximumStepSize>
  1169. <MaximumStepSize>1.0</MaximumStepSize>
  1170. <AbsoluteTolerance>1.0e-6</AbsoluteTolerance>
  1171. <RelativeTolerance>1.0e-6</RelativeTolerance>
  1172. <SafetyFactor>0.9</SafetyFactor>
  1173. <Factor1>0.33</Factor1>
  1174. <Factor2>6.0</Factor2>
  1175. <Beta>0.0</Beta>
  1176. <UseMaxNrSteps>false</UseMaxNrSteps>
  1177. <MaxNrSteps>100000</MaxNrSteps>
  1178. <UseStiffDetection>false</UseStiffDetection>
  1179. <MaxNrStiffnessSteps>1000</MaxNrStiffnessSteps>
  1180. </IntegrationMethod>
  1181. <IntegrationMethod>
  1182. <Name>RungeKuttaFehlberg</Name>
  1183. <UseInitialStepSize>false</UseInitialStepSize>
  1184. <InitialStepSize>0.001</InitialStepSize>
  1185. <UseMaximumStepSize>false</UseMaximumStepSize>
  1186. <MaximumStepSize>1.0</MaximumStepSize>
  1187. <AbsoluteTolerance>1.0e-6</AbsoluteTolerance>
  1188. <RelativeTolerance>1.0e-6</RelativeTolerance>
  1189. </IntegrationMethod>
  1190. <IntegrationMethod>
  1191. <Name>VodeAdams</Name>
  1192. <UseInitialStepSize>false</UseInitialStepSize>
  1193. <InitialStepSize>0.001</InitialStepSize>
  1194. <UseMaximumStepSize>false</UseMaximumStepSize>
  1195. <MaximumStepSize>1.0</MaximumStepSize>
  1196. <AbsoluteTolerance>1.0e-6</AbsoluteTolerance>
  1197. <RelativeTolerance>1.0e-6</RelativeTolerance>
  1198. <VodeUseBDF>true</VodeUseBDF>
  1199. <VodeUseNewton>true</VodeUseNewton>
  1200. </IntegrationMethod>
  1201. <IntegrationMethod>
  1202. <Name>BDFMethod</Name>
  1203. <AbsoluteTolerance>1.0e-5</AbsoluteTolerance>
  1204. <RelativeTolerance>1.0e-5</RelativeTolerance>
  1205. <AlgebraicAbsoluteTolerance>1.0e-5</AlgebraicAbsoluteTolerance>
  1206. <AlgebraicRelativeTolerance>1.0e-5</AlgebraicRelativeTolerance>
  1207. <UseInitialStepSize>false</UseInitialStepSize>
  1208. <InitialStepSize>0.001</InitialStepSize>
  1209. <UseMaximumStepSize>false</UseMaximumStepSize>
  1210. <MaximumStepSize>1.0</MaximumStepSize>
  1211. </IntegrationMethod>
  1212. <IntegrationMethod>
  1213. <Name>MeBDFiMethod</Name>
  1214. <AbsoluteTolerance>1.0e-5</AbsoluteTolerance>
  1215. <RelativeTolerance>1.0e-5</RelativeTolerance>
  1216. <AlgebraicAbsoluteTolerance>1.0e-5</AlgebraicAbsoluteTolerance>
  1217. <AlgebraicRelativeTolerance>1.0e-5</AlgebraicRelativeTolerance>
  1218. <UseInitialStepSize>false</UseInitialStepSize>
  1219. <InitialStepSize>0.001</InitialStepSize>
  1220. <UseMaximumStepSize>false</UseMaximumStepSize>
  1221. <MaximumStepSize>1.0</MaximumStepSize>
  1222. </IntegrationMethod>
  1223. <SelectedIntegrationMethod>8</SelectedIntegrationMethod>
  1224. </IntegrationMethods>
  1225. </RunSpecs>
  1226. <MultipleRun>
  1227. <NrSteps>10</NrSteps>
  1228. <CopyFromStates>false</CopyFromStates>
  1229. <JoinParameterVariation>true</JoinParameterVariation>
  1230. <ClearAfterRun>true</ClearAfterRun>
  1231. <RedrawAfterRun>false</RedrawAfterRun>
  1232. <DrawDuringSimulation>true</DrawDuringSimulation>
  1233. <ActionBeforeOptimization>0</ActionBeforeOptimization>
  1234. <CompareValue>0.0</CompareValue>
  1235. <UseCompareValue>true</UseCompareValue>
  1236. <MultipleRunType>MultipleRun</MultipleRunType>
  1237. <Minimize>true</Minimize>
  1238. <OptimizationVariable></OptimizationVariable>
  1239. <ResulVarUsage>UseEndValue</ResulVarUsage>
  1240. <Tolerance>0.001</Tolerance>
  1241. <OptimizationMethod>BroydonFletcherGoldfarbShanno</OptimizationMethod>
  1242. <MultipleRunVariables>
  1243. </MultipleRunVariables>
  1244. </MultipleRun>
  1245. <ExportData>
  1246. <WriteAsText>true</WriteAsText>
  1247. <ReadAsText>true</ReadAsText>
  1248. <WriteHeader>true</WriteHeader>
  1249. <ReadHeader>true</ReadHeader>
  1250. <ReadFilename></ReadFilename>
  1251. <WriteFilename></WriteFilename>
  1252. <DoWrite>false</DoWrite>
  1253. <ExportVariables>
  1254. <ExportVariable>
  1255. <VariableName>time</VariableName>
  1256. </ExportVariable>
  1257. </ExportVariables>
  1258. <ImportVariables>
  1259. </ImportVariables>
  1260. </ExportData>
  1261. <BreakPoints>
  1262. </BreakPoints>
  1263. </ExpData>
  1264. </Experiment>
  1265. </Experiments>
  1266. </Document>