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.

2039 lines
59KB

  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\05_stepper\stepper_103H5208_controller.emx</LibraryPath>
  11. <TimeStamp>2020-7-22 15:25:39</TimeStamp>
  12. </Description>
  13. </Information>';
  14. type Mainmodel
  15. end;
  16. implementation bg
  17. submodels
  18. C 976 392
  19. description '<Information>
  20. <Description>
  21. <Version>4.2</Version>
  22. <IsMainModel>1</IsMainModel>
  23. <KeepParameterValues>False</KeepParameterValues>
  24. <LibraryPath>Bond Graph\C.emx</LibraryPath>
  25. <TimeStamp>2011-11-29 15:58:35</TimeStamp>
  26. </Description>
  27. </Information>';
  28. type C
  29. ports
  30. power in p;
  31. signal out state;
  32. restrictions
  33. causality preferred out p;
  34. end;
  35. icon bg bottom
  36. figures
  37. text 'C' 976 392 color 0 18 bold;
  38. end;
  39. implementation eq
  40. parameters
  41. real c = 0.00001;
  42. equations
  43. state = int(p.f);
  44. p.e = state / c;
  45. implementation_end;
  46. I2 1024 272
  47. description '<Information>
  48. <Description>
  49. <Version>4.2</Version>
  50. <IsMainModel>1</IsMainModel>
  51. <KeepParameterValues>False</KeepParameterValues>
  52. <LibraryPath>Bond Graph\I.emx</LibraryPath>
  53. <TimeStamp>2011-11-29 15:55:55</TimeStamp>
  54. </Description>
  55. </Information>';
  56. type I
  57. ports
  58. power in p;
  59. signal out state;
  60. restrictions
  61. causality preferred in p;
  62. end;
  63. icon bg bottom
  64. figures
  65. text 'I' 1024 272 color 0 18 bold;
  66. end;
  67. implementation eq
  68. parameters
  69. real i = 8e-5 {kg.m2};
  70. equations
  71. state = int(p.e);
  72. p.f = state / i;
  73. implementation_end;
  74. OneJunction 1024 336
  75. description '<Information>
  76. <Description>
  77. <Version>4.2</Version>
  78. <IsMainModel>1</IsMainModel>
  79. <KeepParameterValues>False</KeepParameterValues>
  80. <LibraryPath>Bond Graph\OneJunction.emx</LibraryPath>
  81. <TimeStamp>2011-11-29 16:17:51</TimeStamp>
  82. </Description>
  83. </Information>';
  84. knot OneJunction
  85. ports
  86. rotation knot duplicatable none p [1];
  87. signal knot out flow [1];
  88. restrictions
  89. causality constraint one_out p;
  90. end;
  91. icon bg
  92. figures
  93. text '1' 1024 336 color 0 18 bold;
  94. end;
  95. implementation eq
  96. equations
  97. sum (direct (p.e)) = 0;
  98. equal (collect (p.f));
  99. flow = first (p.f);
  100. implementation_end;
  101. OneJunction1 936 392
  102. description '<Information>
  103. <Description>
  104. <Version>4.2</Version>
  105. <IsMainModel>1</IsMainModel>
  106. <KeepParameterValues>False</KeepParameterValues>
  107. <LibraryPath>Bond Graph\OneJunction.emx</LibraryPath>
  108. <TimeStamp>2011-11-29 16:17:51</TimeStamp>
  109. </Description>
  110. </Information>';
  111. knot OneJunction
  112. ports
  113. rotation knot duplicatable none p [1];
  114. signal knot out flow [1];
  115. restrictions
  116. causality constraint one_out p;
  117. end;
  118. icon bg
  119. figures
  120. text '1' 936 392 color 0 18 bold;
  121. end;
  122. implementation eq
  123. equations
  124. sum (direct (p.e)) = 0;
  125. equal (collect (p.f));
  126. flow = first (p.f);
  127. implementation_end;
  128. R 896 392
  129. description '<Information>
  130. <Description>
  131. <Version>4.2</Version>
  132. <IsMainModel>1</IsMainModel>
  133. <KeepParameterValues>False</KeepParameterValues>
  134. <LibraryPath>Bond Graph\R.emx</LibraryPath>
  135. <TimeStamp>2011-11-29 16:35:37</TimeStamp>
  136. </Description>
  137. </Information>';
  138. type R
  139. ports
  140. power in p;
  141. end;
  142. icon bg bottom
  143. figures
  144. text 'R' 896 392 color 0 18 bold;
  145. end;
  146. implementation eq
  147. parameters
  148. real r = 100;
  149. equations
  150. p.e = r * p.f;
  151. implementation_end;
  152. Square 432 336
  153. description '<Description>
  154. <Version>4.0</Version>
  155. <IsMainModel>1</IsMainModel>
  156. <KeepParameterValues>False</KeepParameterValues>
  157. <LibraryPath>Signal\Sources\WaveGenerator-Square.emx</LibraryPath>
  158. <TimeStamp>2009-3-5 16:05:33</TimeStamp>
  159. </Description>';
  160. type 'WaveGenerator-Square'
  161. ports
  162. signal out output;
  163. end;
  164. icon bg bottom
  165. figures
  166. rectangle 416.1 320 447.9 352 color 0 fill 15132390;
  167. line 420.1 323.9 419.9 350.2 color 0 fill 0;
  168. line 417.9 348.1 443.9 348.1 color 0 fill 0;
  169. line 420.1 348.1 424 348.1 424 336 color 16711680 fill 0;
  170. line 432 336 424 336 432 336 color 16711680 fill 0;
  171. line 432 348.1 432 336 432 348.1 color 16711680 fill 0;
  172. line 440 336 440 348.1 440 336 color 16711680 fill 0;
  173. line 443.9 336.1 439.7 336.1 color 16711680 fill 0;
  174. line 432 348.1 440 348.1 color 16711680 fill 0;
  175. end;
  176. implementation eq
  177. parameters
  178. real amplitude = 50; // amplitude of the wave
  179. real omega = 2 {rad/s}; // angular frequency of the wave
  180. variables
  181. real hidden s, half;
  182. boolean hidden change;
  183. equations
  184. "calculate at least 2 points per period
  185. (just after the change in sign)"
  186. half = pi / omega;
  187. change = frequencyevent (half, 1e-14);
  188. "calculate the square wave"
  189. s = sign (sin (omega * time));
  190. output = if( s == 0 ) then
  191. amplitude
  192. else
  193. (amplitude / 2) * (s + 1)
  194. end;
  195. implementation_end;
  196. stepper_control 584 336
  197. description '<Information>
  198. <Description>
  199. <Version>4.8</Version>
  200. <IsMainModel>1</IsMainModel>
  201. <LibraryPath>Motor\stepper_control.emx</LibraryPath>
  202. <TimeStamp>2020-7-22 15:25:26</TimeStamp>
  203. </Description>
  204. </Information>';
  205. type Submodel
  206. ports
  207. signal in setpoint {rad} ;
  208. signal out output {rad} ;
  209. end;
  210. implementation bg
  211. submodels
  212. Acceleration_int 648 336
  213. description '<Information>
  214. <Description>
  215. <Version>4.3</Version>
  216. <IsMainModel>1</IsMainModel>
  217. <KeepParameterValues>False</KeepParameterValues>
  218. <LibraryPath>Signal\Block Diagram\Integrate.emx</LibraryPath>
  219. <TimeStamp>2013-3-8 14:47:42</TimeStamp>
  220. </Description>
  221. </Information>';
  222. type Integrate
  223. ports
  224. signal in input;
  225. signal out output;
  226. end;
  227. icon bg bottom
  228. figures
  229. rectangle 632 320 664 352 color 0 fill 15132390;
  230. text '∫' 648 336.3 color 16711680 'Lucida Sans' 21 italic;
  231. end;
  232. implementation eq
  233. parameters
  234. real initial = 0; // initial value
  235. equations
  236. output = int (input, initial);
  237. implementation_end;
  238. Acceleration_limit 568 336
  239. description '<Description><Version>4.0</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues>
  240. <LibraryPath>Signal\Block Diagram Non-Linear\SignalLimiter-Limit.emx</LibraryPath>
  241. <TimeStamp>2007-9-26 12:47:40</TimeStamp>
  242. </Description>';
  243. type 'SignalLimiter-Limit'
  244. ports
  245. signal in input;
  246. signal out output;
  247. end;
  248. icon bg bottom
  249. figures
  250. group
  251. rectangle 552 320 584 352 color 0 fill 15132390;
  252. line 567.9 324.5 567.9 349 color 0 fill 15132390;
  253. line 555 336.2 580.7 336.2 color 0 fill 15132390;
  254. spline 561.9 343.1 573.9 329.4 color 16711680 fill 15132390 width 2;
  255. spline 573.3 330.2 581.9 329.8 color 16711680 fill 15132390 width 2;
  256. spline 555 343.6 561.9 343.1 color 16711680 fill 15132390 width 2;
  257. end;
  258. end;
  259. implementation eq
  260. parameters
  261. real maximum = 200;
  262. real minimum = -200;
  263. equations
  264. output = limit (input, minimum, maximum);
  265. implementation_end;
  266. plug setpoint 136 336;
  267. plug output 791 336;
  268. PlusMinus1 240 336
  269. description '<Description><Version>4.0</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues>
  270. <LibraryPath>Signal\Block Diagram\PlusMinus.emx</LibraryPath>
  271. <TimeStamp>2007-9-27 10:15:13</TimeStamp>
  272. </Description>';
  273. knot PlusMinus
  274. ports
  275. signal knot duplicatable in plus [1];
  276. signal knot duplicatable in minus [1];
  277. signal knot out output [1];
  278. end;
  279. icon bg ellipse
  280. figures
  281. ellipse 232 328 248 344 color 0 fill 16777215;
  282. end;
  283. implementation eq
  284. equations
  285. output = sum (collect (plus)) - sum (collect (minus));
  286. implementation_end;
  287. PlusMinus2 432 336
  288. description '<Description><Version>4.0</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues>
  289. <LibraryPath>Signal\Block Diagram\PlusMinus.emx</LibraryPath>
  290. <TimeStamp>2007-9-27 10:15:13</TimeStamp>
  291. </Description>';
  292. knot PlusMinus
  293. ports
  294. signal knot duplicatable in plus [1];
  295. signal knot duplicatable in minus [1];
  296. signal knot out output [1];
  297. end;
  298. icon bg ellipse
  299. figures
  300. ellipse 424 328 440 344 color 0 fill 16777215;
  301. end;
  302. implementation eq
  303. equations
  304. output = sum (collect (plus)) - sum (collect (minus));
  305. implementation_end;
  306. Position_control 296 336
  307. description '<Description>
  308. <Version>4.0</Version>
  309. <IsMainModel>1</IsMainModel>
  310. <KeepParameterValues>False</KeepParameterValues>
  311. <LibraryPath>Signal\Control\PID Control\Continuous\PD.emx</LibraryPath>
  312. <TimeStamp>2008-1-17 10:49:7</TimeStamp>
  313. </Description>';
  314. type PD
  315. ports
  316. signal in error;
  317. signal out output;
  318. end;
  319. icon bg bottom
  320. figures
  321. rectangle 280 320 312 352 color 0 fill 15132390;
  322. text 'PD' 296.5 336.1 color 16711680 18 bold;
  323. end;
  324. implementation eq
  325. parameters
  326. real kp = 4 {}; // Proportional gain
  327. real tauD = 100 {s}; // Derivative time constant: tauD > 0
  328. real beta = 0.4 {}; // Tameness constant: 0 < beta << 1
  329. real maximum = 25;
  330. variables
  331. real state, rate;
  332. equations
  333. rate = (kp * error - output) / (beta * tauD);
  334. state = int (rate);
  335. output = state + kp * error / beta;
  336. implementation_end;
  337. Splitter3 688 336
  338. description '<Description><Version>4.0</Version>
  339. <LibraryPath>Signal\Block Diagram\Splitter.emx</LibraryPath>
  340. <TimeStamp>2008-01-17 11:28:29</TimeStamp>
  341. <IsMainModel>1</IsMainModel>
  342. <KeepParameterValues>False</KeepParameterValues>
  343. </Description>';
  344. knot Splitter
  345. ports
  346. signal knot duplicatable out output [1];
  347. signal knot in input [1];
  348. end;
  349. icon bg ellipse
  350. figures
  351. ellipse 684.8 332.8 691.2 339.2 color -1 fill 0;
  352. ellipse 683.7 331.7 692.3 340.3 color -1;
  353. terminals
  354. input 688 336 fixed;
  355. end;
  356. implementation eq
  357. equations
  358. collect (output) = input;
  359. implementation_end;
  360. Splitter4 752 336
  361. description '<Description><Version>4.0</Version>
  362. <LibraryPath>Signal\Block Diagram\Splitter.emx</LibraryPath>
  363. <TimeStamp>2008-01-17 11:28:29</TimeStamp>
  364. <IsMainModel>1</IsMainModel>
  365. <KeepParameterValues>False</KeepParameterValues>
  366. </Description>';
  367. knot Splitter
  368. ports
  369. signal knot duplicatable out output [1];
  370. signal knot in input [1];
  371. end;
  372. icon bg ellipse
  373. figures
  374. ellipse 748.8 332.8 755.2 339.2 color -1 fill 0;
  375. ellipse 747.7 331.7 756.3 340.3 color -1;
  376. terminals
  377. input 752 336 fixed;
  378. end;
  379. implementation eq
  380. equations
  381. collect (output) = input;
  382. implementation_end;
  383. Velocity_control 480 336
  384. description '<Description>
  385. <Version>4.0</Version>
  386. <IsMainModel>1</IsMainModel>
  387. <KeepParameterValues>False</KeepParameterValues>
  388. <LibraryPath>Signal\Control\PID Control\Continuous\PD.emx</LibraryPath>
  389. <TimeStamp>2008-1-17 10:49:7</TimeStamp>
  390. </Description>';
  391. type PD
  392. ports
  393. signal in error;
  394. signal out output;
  395. end;
  396. icon bg bottom
  397. figures
  398. rectangle 464 320 496 352 color 0 fill 15132390;
  399. text 'PD' 480.5 336.1 color 16711680 18 bold;
  400. end;
  401. implementation eq
  402. parameters
  403. real kp = 12 {}; // Proportional gain
  404. real tauD = 10 {s}; // Derivative time constant: tauD > 0
  405. real beta = 0.4 {}; // Tameness constant: 0 < beta << 1
  406. real maximum = 100;
  407. variables
  408. real state, rate;
  409. equations
  410. rate = (kp * error - output) / (beta * tauD);
  411. state = int (rate);
  412. output = state + kp * error / beta;
  413. implementation_end;
  414. Velocity_int 720 336
  415. description '<Information>
  416. <Description>
  417. <Version>4.3</Version>
  418. <IsMainModel>1</IsMainModel>
  419. <KeepParameterValues>False</KeepParameterValues>
  420. <LibraryPath>Signal\Block Diagram\Integrate.emx</LibraryPath>
  421. <TimeStamp>2013-3-8 14:47:42</TimeStamp>
  422. </Description>
  423. </Information>';
  424. type Integrate
  425. ports
  426. signal in input;
  427. signal out output;
  428. end;
  429. icon bg bottom
  430. figures
  431. rectangle 704 320 736 352 color 0 fill 15132390;
  432. text '∫' 720 336.3 color 16711680 'Lucida Sans' 21 italic;
  433. end;
  434. implementation eq
  435. parameters
  436. real initial = 0; // initial value
  437. equations
  438. output = int (input, initial);
  439. implementation_end;
  440. Velocity_limit 376 336
  441. description '<Description><Version>4.0</Version><IsMainModel>1</IsMainModel><KeepParameterValues>False</KeepParameterValues>
  442. <LibraryPath>Signal\Block Diagram Non-Linear\SignalLimiter-Limit.emx</LibraryPath>
  443. <TimeStamp>2007-9-26 12:47:40</TimeStamp>
  444. </Description>';
  445. type 'SignalLimiter-Limit'
  446. ports
  447. signal in input;
  448. signal out output;
  449. end;
  450. icon bg bottom
  451. figures
  452. group
  453. rectangle 360 320 392 352 color 0 fill 15132390;
  454. line 375.9 324.5 375.9 349 color 0 fill 15132390;
  455. line 363 336.2 388.7 336.2 color 0 fill 15132390;
  456. spline 369.9 343.1 381.9 329.4 color 16711680 fill 15132390 width 2;
  457. spline 381.3 330.2 389.9 329.8 color 16711680 fill 15132390 width 2;
  458. spline 363 343.6 369.9 343.1 color 16711680 fill 15132390 width 2;
  459. end;
  460. end;
  461. implementation eq
  462. parameters
  463. real maximum = 25;
  464. real minimum = -25;
  465. equations
  466. output = limit (input, minimum, maximum);
  467. implementation_end;
  468. end;
  469. connections
  470. Acceleration_int\output -> Splitter3\input;
  471. Acceleration_limit\output -> Acceleration_int\input;
  472. PlusMinus1\output -> Position_control\error;
  473. PlusMinus2\output -> Velocity_control\error;
  474. Position_control\output -> Velocity_limit\input;
  475. setpoint -> PlusMinus1\plus;
  476. Splitter3\output -> PlusMinus2\minus 688 288 432 288;
  477. Splitter3\output -> Velocity_int\input;
  478. Splitter4\output -> output;
  479. Splitter4\output -> PlusMinus1\minus 752 400 240 400;
  480. Velocity_control\output -> Acceleration_limit\input;
  481. Velocity_int\output -> Splitter4\input;
  482. Velocity_limit\output -> PlusMinus2\plus;
  483. end;
  484. implementation_end;
  485. stepper_model 768 336
  486. description '<Information>
  487. <Description>
  488. <Version>4.8</Version>
  489. <IsMainModel>1</IsMainModel>
  490. <LibraryPath>Motor\stepper_model.emx</LibraryPath>
  491. <TimeStamp>2020-7-22 15:25:37</TimeStamp>
  492. </Description>
  493. <Attributes>
  494. <GlobalRelations>parameters
  495. real I_phase = 3.4 {mH};
  496. real R_phase = 2.9 {ohm};
  497. real u_max = 3.4 {V};
  498. real RotorInertia = 5.6e-6 {kg.m2};
  499. real StepperMass = 0.29 {kg};
  500. real angle_step = 1.8 {deg};
  501. real n_phase = 2 {none};
  502. real fluxLinkage = 0.0022 {Wb};
  503. real detentTorque = 0.01 {N.m};
  504. variables
  505. real omega;
  506. real p; // rotor division
  507. initialequations
  508. p = 2 * pi / (2 * n_phase * angle_step);
  509. omega = 200;</GlobalRelations>
  510. </Attributes>
  511. </Information>';
  512. type Submodel
  513. ports
  514. signal in angle;
  515. rotation out p;
  516. end;
  517. implementation bg
  518. submodels
  519. I 560 104
  520. description '<Information>
  521. <Description>
  522. <Version>4.2</Version>
  523. <IsMainModel>1</IsMainModel>
  524. <KeepParameterValues>False</KeepParameterValues>
  525. <LibraryPath>Bond Graph\I.emx</LibraryPath>
  526. <TimeStamp>2011-11-29 15:55:55</TimeStamp>
  527. </Description>
  528. </Information>';
  529. type I
  530. ports
  531. power in p;
  532. signal out state;
  533. restrictions
  534. causality preferred in p;
  535. end;
  536. icon bg bottom
  537. figures
  538. text 'I' 560 104 color 0 18 bold;
  539. end;
  540. implementation eq
  541. parameters
  542. real global I_phase;
  543. equations
  544. state = int(p.e);
  545. p.f = state / I_phase;
  546. implementation_end;
  547. I1 608 328
  548. description '<Information>
  549. <Description>
  550. <Version>4.2</Version>
  551. <IsMainModel>1</IsMainModel>
  552. <KeepParameterValues>False</KeepParameterValues>
  553. <LibraryPath>Bond Graph\I.emx</LibraryPath>
  554. <TimeStamp>2011-11-29 15:55:55</TimeStamp>
  555. </Description>
  556. </Information>';
  557. type I
  558. ports
  559. power in p;
  560. signal out state;
  561. restrictions
  562. causality preferred in p;
  563. end;
  564. icon bg bottom
  565. figures
  566. text 'I' 608 328 color 0 18 bold;
  567. end;
  568. implementation eq
  569. parameters
  570. real global I_phase;
  571. equations
  572. state = int(p.e);
  573. p.f = state / I_phase;
  574. implementation_end;
  575. I2 752 160
  576. description '<Information>
  577. <Description>
  578. <Version>4.2</Version>
  579. <IsMainModel>1</IsMainModel>
  580. <KeepParameterValues>False</KeepParameterValues>
  581. <LibraryPath>Bond Graph\I.emx</LibraryPath>
  582. <TimeStamp>2011-11-29 15:55:55</TimeStamp>
  583. </Description>
  584. </Information>';
  585. type I
  586. ports
  587. power in p;
  588. signal out state;
  589. restrictions
  590. causality preferred in p;
  591. end;
  592. icon bg bottom
  593. figures
  594. text 'I' 752 160 color 0 18 bold;
  595. end;
  596. implementation eq
  597. parameters
  598. real i = 8e-5 {kg.m2};
  599. real global RotorInertia;
  600. equations
  601. state = int(p.e);
  602. p.f = state / (RotorInertia);
  603. implementation_end;
  604. MGY_a 656 160
  605. description '<Information>
  606. <Description>
  607. <Version>4.2</Version>
  608. <IsMainModel>1</IsMainModel>
  609. <KeepParameterValues>False</KeepParameterValues>
  610. <LibraryPath>Bond Graph\MGY.emx</LibraryPath>
  611. <TimeStamp>2011-11-29 16:03:53</TimeStamp>
  612. </Description>
  613. </Information>';
  614. type MGY
  615. ports
  616. power in p1;
  617. power out p2;
  618. signal in r;
  619. restrictions
  620. causality constraint equal p1 p2;
  621. end;
  622. icon bg bottom
  623. figures
  624. text 'MGY' 656 160 color 0 18 bold;
  625. end;
  626. implementation eq
  627. equations
  628. p1.e = r * p2.f;
  629. p2.e = r * p1.f;
  630. implementation_end;
  631. MGY_b 656 272
  632. description '<Information>
  633. <Description>
  634. <Version>4.2</Version>
  635. <IsMainModel>1</IsMainModel>
  636. <KeepParameterValues>False</KeepParameterValues>
  637. <LibraryPath>Bond Graph\MGY.emx</LibraryPath>
  638. <TimeStamp>2011-11-29 16:03:53</TimeStamp>
  639. </Description>
  640. </Information>';
  641. type MGY
  642. ports
  643. power in p1;
  644. power out p2;
  645. signal in r;
  646. restrictions
  647. causality constraint equal p1 p2;
  648. end;
  649. icon bg bottom
  650. figures
  651. text 'MGY' 656 272 color 0 18 bold;
  652. end;
  653. implementation eq
  654. equations
  655. p1.e = r * p2.f;
  656. p2.e = r * p1.f;
  657. implementation_end;
  658. MSe_a 512 160
  659. description '<Information>
  660. <Description>
  661. <Version>4.2</Version>
  662. <IsMainModel>1</IsMainModel>
  663. <KeepParameterValues>False</KeepParameterValues>
  664. <LibraryPath>Bond Graph\MSe.emx</LibraryPath>
  665. <TimeStamp>2011-11-29 16:12:33</TimeStamp>
  666. </Description>
  667. </Information>';
  668. type MSe
  669. ports
  670. electric out p;
  671. signal in effort;
  672. restrictions
  673. causality fixed out p;
  674. end;
  675. icon bg bottom
  676. figures
  677. text 'MSe' 512 160 color 0 18 bold;
  678. end;
  679. implementation eq
  680. variables
  681. real flow;
  682. equations
  683. p.e = effort;
  684. flow = p.f;
  685. implementation_end;
  686. MSe_b 512 272
  687. description '<Information>
  688. <Description>
  689. <Version>4.2</Version>
  690. <IsMainModel>1</IsMainModel>
  691. <KeepParameterValues>False</KeepParameterValues>
  692. <LibraryPath>Bond Graph\MSe.emx</LibraryPath>
  693. <TimeStamp>2011-11-29 16:12:33</TimeStamp>
  694. </Description>
  695. </Information>';
  696. type MSe
  697. ports
  698. electric out p;
  699. signal in effort;
  700. restrictions
  701. causality fixed out p;
  702. end;
  703. icon bg bottom
  704. figures
  705. text 'MSe' 512 272 color 0 18 bold;
  706. end;
  707. implementation eq
  708. variables
  709. real flow;
  710. equations
  711. p.e = effort;
  712. flow = p.f;
  713. implementation_end;
  714. plug angle 200 216;
  715. plug p 1472 216;
  716. OneJunction1 840 216
  717. description '<Information>
  718. <Description>
  719. <Version>4.2</Version>
  720. <IsMainModel>1</IsMainModel>
  721. <KeepParameterValues>False</KeepParameterValues>
  722. <LibraryPath>Bond Graph\OneJunction.emx</LibraryPath>
  723. <TimeStamp>2011-11-29 16:17:51</TimeStamp>
  724. </Description>
  725. </Information>';
  726. knot OneJunction
  727. ports
  728. rotation knot duplicatable none p [1];
  729. signal knot out flow [1];
  730. restrictions
  731. causality constraint one_out p;
  732. end;
  733. icon bg
  734. figures
  735. text '1' 840 216 color 0 18 bold;
  736. end;
  737. implementation eq
  738. equations
  739. sum (direct (p.e)) = 0;
  740. equal (collect (p.f));
  741. flow = first (p.f);
  742. implementation_end;
  743. OneJunction2 584 160
  744. description '<Information>
  745. <Description>
  746. <Version>4.2</Version>
  747. <IsMainModel>1</IsMainModel>
  748. <KeepParameterValues>False</KeepParameterValues>
  749. <LibraryPath>Bond Graph\OneJunction.emx</LibraryPath>
  750. <TimeStamp>2011-11-29 16:17:51</TimeStamp>
  751. </Description>
  752. </Information>';
  753. knot OneJunction
  754. ports
  755. electric knot duplicatable none p [1];
  756. signal knot out flow [1];
  757. restrictions
  758. causality constraint one_out p;
  759. end;
  760. icon bg
  761. figures
  762. text '1' 584 160 color 0 18 bold;
  763. end;
  764. implementation eq
  765. equations
  766. sum (direct (p.e)) = 0;
  767. equal (collect (p.f));
  768. flow = first (p.f);
  769. implementation_end;
  770. OneJunction3 584 272
  771. description '<Information>
  772. <Description>
  773. <Version>4.2</Version>
  774. <IsMainModel>1</IsMainModel>
  775. <KeepParameterValues>False</KeepParameterValues>
  776. <LibraryPath>Bond Graph\OneJunction.emx</LibraryPath>
  777. <TimeStamp>2011-11-29 16:17:51</TimeStamp>
  778. </Description>
  779. </Information>';
  780. knot OneJunction
  781. ports
  782. electric knot duplicatable none p [1];
  783. signal knot out flow [1];
  784. restrictions
  785. causality constraint one_out p;
  786. end;
  787. icon bg
  788. figures
  789. text '1' 584 272 color 0 18 bold;
  790. end;
  791. implementation eq
  792. equations
  793. sum (direct (p.e)) = 0;
  794. equal (collect (p.f));
  795. flow = first (p.f);
  796. implementation_end;
  797. OneJunction4 752 216
  798. description '<Information>
  799. <Description>
  800. <Version>4.2</Version>
  801. <IsMainModel>1</IsMainModel>
  802. <KeepParameterValues>False</KeepParameterValues>
  803. <LibraryPath>Bond Graph\OneJunction.emx</LibraryPath>
  804. <TimeStamp>2011-11-29 16:17:51</TimeStamp>
  805. </Description>
  806. </Information>';
  807. knot OneJunction
  808. ports
  809. rotation knot duplicatable none p [1];
  810. signal knot out flow [1];
  811. restrictions
  812. causality constraint one_out p;
  813. end;
  814. icon bg
  815. figures
  816. text '1' 752 216 color 0 18 bold;
  817. end;
  818. implementation eq
  819. equations
  820. sum (direct (p.e)) = 0;
  821. equal (collect (p.f));
  822. flow = first (p.f);
  823. implementation_end;
  824. phase_control 512 216
  825. description '<Description><Version>4.0</Version>
  826. <LibraryPath>Template\Submodel-Equation.emx</LibraryPath>
  827. <IsMainModel>1</IsMainModel>
  828. <KeepParameterValues>False</KeepParameterValues>
  829. <TimeStamp>2007-11-1 22:32:1</TimeStamp>
  830. <AllowLibraryUpdate>False</AllowLibraryUpdate>
  831. </Description>';
  832. type Submodel
  833. ports
  834. signal in angle;
  835. signal out a;
  836. signal out b;
  837. end;
  838. icon bg
  839. figures
  840. rectangle 472 200 552 232 color 0 fill 15132390;
  841. text 'name' 512 216 color 0 'Clear Sans' 16;
  842. end;
  843. implementation eq
  844. parameters
  845. real global u_max {V};
  846. real global angle_step;
  847. real max_a {m/s2};
  848. variables
  849. real current_angle;
  850. real c,s;
  851. real global p;
  852. boolean hidden eventa, eventb;
  853. equations
  854. a = u_max * (cos (p*angle));
  855. eventa = event(a);
  856. b = u_max * -(sin (p*angle));
  857. eventb = event(b);
  858. current_angle = angle;
  859. implementation_end;
  860. R 608 104
  861. description '<Information>
  862. <Description>
  863. <Version>4.2</Version>
  864. <IsMainModel>1</IsMainModel>
  865. <KeepParameterValues>False</KeepParameterValues>
  866. <LibraryPath>Bond Graph\R.emx</LibraryPath>
  867. <TimeStamp>2011-11-29 16:35:37</TimeStamp>
  868. </Description>
  869. </Information>';
  870. type R
  871. ports
  872. power in p;
  873. end;
  874. icon bg bottom
  875. figures
  876. text 'R' 608 104 color 0 18 bold;
  877. end;
  878. implementation eq
  879. parameters
  880. real global R_phase;
  881. equations
  882. p.e = R_phase * p.f;
  883. implementation_end;
  884. R1 560 328
  885. description '<Information>
  886. <Description>
  887. <Version>4.2</Version>
  888. <IsMainModel>1</IsMainModel>
  889. <KeepParameterValues>False</KeepParameterValues>
  890. <LibraryPath>Bond Graph\R.emx</LibraryPath>
  891. <TimeStamp>2011-11-29 16:35:37</TimeStamp>
  892. </Description>
  893. </Information>';
  894. type R
  895. ports
  896. power in p;
  897. end;
  898. icon bg bottom
  899. figures
  900. text 'R' 560 328 color 0 18 bold;
  901. end;
  902. implementation eq
  903. parameters
  904. real global R_phase;
  905. equations
  906. p.e = R_phase * p.f;
  907. implementation_end;
  908. R2 824 264
  909. description '<Information>
  910. <Description>
  911. <Version>4.2</Version>
  912. <IsMainModel>1</IsMainModel>
  913. <KeepParameterValues>False</KeepParameterValues>
  914. <LibraryPath>Bond Graph\R.emx</LibraryPath>
  915. <TimeStamp>2011-11-29 16:35:37</TimeStamp>
  916. </Description>
  917. </Information>';
  918. type R
  919. ports
  920. power in p;
  921. end;
  922. icon bg bottom
  923. figures
  924. text 'R' 824 264 color 0 18 bold;
  925. end;
  926. implementation eq
  927. parameters
  928. real r = 1.0e-3;
  929. equations
  930. p.e = r * p.f;
  931. implementation_end;
  932. RotorAngle 656 216
  933. description '<Description><Version>4.0</Version>
  934. <LibraryPath>Template\Submodel-Equation.emx</LibraryPath>
  935. <IsMainModel>1</IsMainModel>
  936. <KeepParameterValues>False</KeepParameterValues>
  937. <TimeStamp>2007-11-1 22:32:1</TimeStamp>
  938. <AllowLibraryUpdate>False</AllowLibraryUpdate>
  939. </Description>';
  940. type Submodel
  941. ports
  942. signal out output_b;
  943. signal out output_a;
  944. signal in omega {rad/s} ;
  945. signal out output_d;
  946. end;
  947. icon bg
  948. figures
  949. rectangle 616 200 696 232 color 0 fill 15132390;
  950. text 'name' 656 216 color 0 'Clear Sans' 16;
  951. end;
  952. implementation eq
  953. parameters
  954. real global fluxLinkage;
  955. real global detentTorque;
  956. variables
  957. real global p;
  958. real angle {rad};
  959. equations
  960. angle = int(omega);
  961. output_a = -p * fluxLinkage * sin(p * angle);
  962. output_b = p * fluxLinkage * sin(p * angle - pi / 2);
  963. output_d = detentTorque * sin(2 * p * angle);
  964. implementation_end;
  965. Se 752 272
  966. description '<Information>
  967. <Description>
  968. <Version>4.2</Version>
  969. <IsMainModel>1</IsMainModel>
  970. <KeepParameterValues>False</KeepParameterValues>
  971. <LibraryPath>Bond Graph\MSe.emx</LibraryPath>
  972. <TimeStamp>2011-11-29 16:12:33</TimeStamp>
  973. </Description>
  974. </Information>';
  975. type MSe
  976. ports
  977. power out p;
  978. signal in effort;
  979. restrictions
  980. causality fixed out p;
  981. end;
  982. icon bg bottom
  983. figures
  984. text 'MSe' 752 272 color 0 18 bold;
  985. end;
  986. implementation eq
  987. variables
  988. real flow;
  989. equations
  990. p.e = effort;
  991. flow = p.f;
  992. implementation_end;
  993. end;
  994. connections
  995. angle -> phase_control\angle;
  996. I2\p <= OneJunction4\p;
  997. MGY_a\p2 => OneJunction4\p;
  998. MGY_b\p2 => OneJunction4\p;
  999. MSe_b\p => OneJunction3\p;
  1000. OneJunction1\p => p;
  1001. OneJunction2\p <= MSe_a\p;
  1002. OneJunction2\p => I\p;
  1003. OneJunction2\p => MGY_a\p1;
  1004. OneJunction2\p => R\p;
  1005. OneJunction3\p => I1\p;
  1006. OneJunction3\p => MGY_b\p1;
  1007. OneJunction3\p => R1\p;
  1008. OneJunction4\flow -> RotorAngle\omega;
  1009. OneJunction4\p => OneJunction1\p;
  1010. OneJunction4\p => R2\p;
  1011. phase_control\a -> MSe_a\effort;
  1012. phase_control\b -> MSe_b\effort;
  1013. RotorAngle\output_a -> MGY_a\r;
  1014. RotorAngle\output_b -> MGY_b\r;
  1015. RotorAngle\output_d -> Se\effort;
  1016. Se\p => OneJunction4\p;
  1017. end;
  1018. implementation_end;
  1019. ZeroJunction1 936 336
  1020. description '<Information>
  1021. <Description>
  1022. <Version>4.2</Version>
  1023. <IsMainModel>1</IsMainModel>
  1024. <KeepParameterValues>False</KeepParameterValues>
  1025. <LibraryPath>Bond Graph\ZeroJunction.emx</LibraryPath>
  1026. <TimeStamp>2011-11-29 16:45:16</TimeStamp>
  1027. </Description>
  1028. </Information>';
  1029. knot ZeroJunction
  1030. ports
  1031. rotation knot duplicatable none p [1];
  1032. signal knot out effort [1];
  1033. restrictions
  1034. causality constraint one_in p;
  1035. end;
  1036. icon bg
  1037. figures
  1038. text '0' 936 336 color 0 18 bold;
  1039. end;
  1040. implementation eq
  1041. equations
  1042. sum (direct (p.f)) = 0;
  1043. equal (collect (p.e));
  1044. effort = first (p.e);
  1045. implementation_end;
  1046. end;
  1047. connections
  1048. C\p <= OneJunction1\p;
  1049. OneJunction\p => I2\p;
  1050. OneJunction1\p => R\p;
  1051. OneJunction1\p => ZeroJunction1\p;
  1052. Square\output -> stepper_control\setpoint;
  1053. stepper_control\output -> stepper_model\angle;
  1054. stepper_model\p => ZeroJunction1\p;
  1055. ZeroJunction1\p => OneJunction\p;
  1056. end;
  1057. implementation_end;
  1058. ]]>
  1059. </Sidops>
  1060. </Model>
  1061. <Experiments>
  1062. <DefaultExperiment><![CDATA[Experiment 1]]>
  1063. </DefaultExperiment>
  1064. <Experiment>
  1065. <Name>Experiment 1</Name>
  1066. <CreatedBy></CreatedBy>
  1067. <Info></Info>
  1068. <ExpData>
  1069. <VersionNumber>4.8</VersionNumber>
  1070. <ModelProperties>
  1071. </ModelProperties>
  1072. <Variables>
  1073. <Constants>
  1074. </Constants>
  1075. <Parameters>
  1076. <Variable>
  1077. <Name>stepper_model\phase_control\max_a</Name>
  1078. <Unit>m/s2</Unit>
  1079. <Value>0</Value>
  1080. </Variable>
  1081. </Parameters>
  1082. <Initials>
  1083. <Variable>
  1084. <Name>C\state_initial</Name>
  1085. <Value>0</Value>
  1086. </Variable>
  1087. <Variable>
  1088. <Name>I2\state_initial</Name>
  1089. <Value>0</Value>
  1090. </Variable>
  1091. <Variable>
  1092. <Name>stepper_control\Position_control\state_initial</Name>
  1093. <Value>0</Value>
  1094. </Variable>
  1095. <Variable>
  1096. <Name>stepper_control\Velocity_control\state_initial</Name>
  1097. <Value>0</Value>
  1098. </Variable>
  1099. <Variable>
  1100. <Name>stepper_model\I1\state_initial</Name>
  1101. <Value>0</Value>
  1102. </Variable>
  1103. <Variable>
  1104. <Name>stepper_model\I2\state_initial</Name>
  1105. <Value>0</Value>
  1106. </Variable>
  1107. <Variable>
  1108. <Name>stepper_model\I\state_initial</Name>
  1109. <Value>0</Value>
  1110. </Variable>
  1111. <Variable>
  1112. <Name>stepper_model\RotorAngle\angle_initial</Name>
  1113. <Unit>rad</Unit>
  1114. <Value>0</Value>
  1115. </Variable>
  1116. </Initials>
  1117. </Variables>
  1118. <PlotSpecs>
  1119. <VarNames>
  1120. <VarName>time</VarName>
  1121. <VarName>stepper_model\I2\p.e</VarName>
  1122. <VarName>stepper_model\I2\p.f</VarName>
  1123. <VarName>stepper_model\RotorAngle\angle</VarName>
  1124. <VarName>stepper_model\MSe_a\effort</VarName>
  1125. <VarName>stepper_model\MSe_b\effort</VarName>
  1126. <VarName>stepper_model\Submodel2\a</VarName>
  1127. <VarName>stepper_model\Submodel2\b</VarName>
  1128. <VarName>stepper_control\Integrate\input</VarName>
  1129. <VarName>stepper_control\Integrate\output</VarName>
  1130. <VarName>stepper_control\Integrate1\output</VarName>
  1131. <VarName>Square\output</VarName>
  1132. <VarName>stepper_control\PD\error</VarName>
  1133. <VarName>stepper_control\PD1\error</VarName>
  1134. </VarNames>
  1135. <Plots>
  1136. <Plot>
  1137. <PlotType>GraphPlot</PlotType>
  1138. <BasePlot>
  1139. <PlotId>1</PlotId>
  1140. <UseWindowsBGColor>false</UseWindowsBGColor>
  1141. <BGColor>16777215</BGColor>
  1142. <PlotIsVisible>true</PlotIsVisible>
  1143. </BasePlot>
  1144. <Grid>
  1145. <DrawGrid>true</DrawGrid>
  1146. <GridColor>15780518</GridColor>
  1147. <GridBorderLineColor>12624260</GridBorderLineColor>
  1148. <GridZeroLineColor>0</GridZeroLineColor>
  1149. <XTicks>10</XTicks>
  1150. <YTicks>10</YTicks>
  1151. <ZTicks>10</ZTicks>
  1152. <Use3DLook>false</Use3DLook>
  1153. </Grid>
  1154. <PlotBGColor>16777215</PlotBGColor>
  1155. <ShowPlotTitle>true</ShowPlotTitle>
  1156. <TitlePosition>1</TitlePosition>
  1157. <PlotTitle>model</PlotTitle>
  1158. <ShowXValues>true</ShowXValues>
  1159. <Fonts>
  1160. <TitleFont>
  1161. <Name>Arial</Name>
  1162. <Height>12</Height>
  1163. <PitchFamily>34</PitchFamily>
  1164. <Weight>400</Weight>
  1165. <Italic>0</Italic>
  1166. <UnderLine>0</UnderLine>
  1167. <StrikeOut>0</StrikeOut>
  1168. <Color>0</Color>
  1169. </TitleFont>
  1170. <LabelFont>
  1171. <Name>Arial</Name>
  1172. <Height>12</Height>
  1173. <PitchFamily>34</PitchFamily>
  1174. <Weight>400</Weight>
  1175. <Italic>0</Italic>
  1176. <UnderLine>0</UnderLine>
  1177. <StrikeOut>0</StrikeOut>
  1178. <Color>0</Color>
  1179. </LabelFont>
  1180. <ValuesFont>
  1181. <Name>Arial</Name>
  1182. <Height>10</Height>
  1183. <PitchFamily>34</PitchFamily>
  1184. <Weight>400</Weight>
  1185. <Italic>0</Italic>
  1186. <UnderLine>0</UnderLine>
  1187. <StrikeOut>0</StrikeOut>
  1188. <Color>0</Color>
  1189. </ValuesFont>
  1190. <LegendFont>
  1191. <Name>Arial</Name>
  1192. <Height>12</Height>
  1193. <PitchFamily>34</PitchFamily>
  1194. <Weight>400</Weight>
  1195. <Italic>0</Italic>
  1196. <UnderLine>0</UnderLine>
  1197. <StrikeOut>0</StrikeOut>
  1198. <Color>0</Color>
  1199. </LegendFont>
  1200. </Fonts>
  1201. <SharedXAxis>true</SharedXAxis>
  1202. <SharedYAxis>false</SharedYAxis>
  1203. <SharedZAxis>false</SharedZAxis>
  1204. <XAxes>
  1205. <Axis>
  1206. <Minimum>0.0</Minimum>
  1207. <Maximum>2.0</Maximum>
  1208. <Linear>true</Linear>
  1209. <Scaling>3</Scaling>
  1210. <Label>time</Label>
  1211. </Axis>
  1212. </XAxes>
  1213. <YAxes>
  1214. <Axis>
  1215. <Minimum>-0.025</Minimum>
  1216. <Maximum>0.025</Maximum>
  1217. <Linear>true</Linear>
  1218. <Scaling>2</Scaling>
  1219. <Label>I2\p.e</Label>
  1220. </Axis>
  1221. <Axis>
  1222. <Minimum>-25.0</Minimum>
  1223. <Maximum>25.0</Maximum>
  1224. <Linear>true</Linear>
  1225. <Scaling>2</Scaling>
  1226. <Label>I2\p.f</Label>
  1227. </Axis>
  1228. </YAxes>
  1229. <ZAxes>
  1230. </ZAxes>
  1231. <Curves>
  1232. <Curve>
  1233. <LineColor>3355111</LineColor>
  1234. <LineStyle>1</LineStyle>
  1235. <TickColor>3355111</TickColor>
  1236. <TickStyle>0</TickStyle>
  1237. <CurveVisible>true</CurveVisible>
  1238. <PixelThresshold>1</PixelThresshold>
  1239. <LineThickness>1</LineThickness>
  1240. <LineOrder>1</LineOrder>
  1241. <ShowYValues>true</ShowYValues>
  1242. <XCurveData>
  1243. <ShowUnit>true</ShowUnit>
  1244. <VarName>time</VarName>
  1245. </XCurveData>
  1246. <YCurveData>
  1247. <ShowUnit>true</ShowUnit>
  1248. <VarName>stepper_model\I2\p.e</VarName>
  1249. </YCurveData>
  1250. </Curve>
  1251. <Curve>
  1252. <LineColor>6076255</LineColor>
  1253. <LineStyle>1</LineStyle>
  1254. <TickColor>6076255</TickColor>
  1255. <TickStyle>0</TickStyle>
  1256. <CurveVisible>true</CurveVisible>
  1257. <PixelThresshold>1</PixelThresshold>
  1258. <LineThickness>1</LineThickness>
  1259. <LineOrder>1</LineOrder>
  1260. <ShowYValues>true</ShowYValues>
  1261. <XCurveData>
  1262. <ShowUnit>true</ShowUnit>
  1263. <VarName>time</VarName>
  1264. </XCurveData>
  1265. <YCurveData>
  1266. <ShowUnit>true</ShowUnit>
  1267. <VarName>stepper_model\I2\p.f</VarName>
  1268. </YCurveData>
  1269. </Curve>
  1270. </Curves>
  1271. <Legenda>
  1272. <ShowLegenda>true</ShowLegenda>
  1273. <BorderPenColor>0</BorderPenColor>
  1274. <BackgroundColor>16777215</BackgroundColor>
  1275. </Legenda>
  1276. </Plot>
  1277. <Plot>
  1278. <PlotType>GraphPlot</PlotType>
  1279. <BasePlot>
  1280. <PlotId>2</PlotId>
  1281. <UseWindowsBGColor>false</UseWindowsBGColor>
  1282. <BGColor>16777215</BGColor>
  1283. <PlotIsVisible>true</PlotIsVisible>
  1284. </BasePlot>
  1285. <Grid>
  1286. <DrawGrid>true</DrawGrid>
  1287. <GridColor>15780518</GridColor>
  1288. <GridBorderLineColor>12624260</GridBorderLineColor>
  1289. <GridZeroLineColor>0</GridZeroLineColor>
  1290. <XTicks>10</XTicks>
  1291. <YTicks>10</YTicks>
  1292. <ZTicks>10</ZTicks>
  1293. <Use3DLook>false</Use3DLook>
  1294. </Grid>
  1295. <PlotBGColor>16777215</PlotBGColor>
  1296. <ShowPlotTitle>true</ShowPlotTitle>
  1297. <TitlePosition>1</TitlePosition>
  1298. <PlotTitle>model(2)</PlotTitle>
  1299. <ShowXValues>true</ShowXValues>
  1300. <Fonts>
  1301. <TitleFont>
  1302. <Name>Arial</Name>
  1303. <Height>12</Height>
  1304. <PitchFamily>34</PitchFamily>
  1305. <Weight>400</Weight>
  1306. <Italic>0</Italic>
  1307. <UnderLine>0</UnderLine>
  1308. <StrikeOut>0</StrikeOut>
  1309. <Color>0</Color>
  1310. </TitleFont>
  1311. <LabelFont>
  1312. <Name>Arial</Name>
  1313. <Height>12</Height>
  1314. <PitchFamily>34</PitchFamily>
  1315. <Weight>400</Weight>
  1316. <Italic>0</Italic>
  1317. <UnderLine>0</UnderLine>
  1318. <StrikeOut>0</StrikeOut>
  1319. <Color>0</Color>
  1320. </LabelFont>
  1321. <ValuesFont>
  1322. <Name>Arial</Name>
  1323. <Height>10</Height>
  1324. <PitchFamily>34</PitchFamily>
  1325. <Weight>400</Weight>
  1326. <Italic>0</Italic>
  1327. <UnderLine>0</UnderLine>
  1328. <StrikeOut>0</StrikeOut>
  1329. <Color>0</Color>
  1330. </ValuesFont>
  1331. <LegendFont>
  1332. <Name>Arial</Name>
  1333. <Height>12</Height>
  1334. <PitchFamily>34</PitchFamily>
  1335. <Weight>400</Weight>
  1336. <Italic>0</Italic>
  1337. <UnderLine>0</UnderLine>
  1338. <StrikeOut>0</StrikeOut>
  1339. <Color>0</Color>
  1340. </LegendFont>
  1341. </Fonts>
  1342. <SharedXAxis>true</SharedXAxis>
  1343. <SharedYAxis>true</SharedYAxis>
  1344. <SharedZAxis>false</SharedZAxis>
  1345. <XAxes>
  1346. <Axis>
  1347. <Minimum>0.0</Minimum>
  1348. <Maximum>2.0</Maximum>
  1349. <Linear>true</Linear>
  1350. <Scaling>3</Scaling>
  1351. <Label>time</Label>
  1352. </Axis>
  1353. </XAxes>
  1354. <YAxes>
  1355. <Axis>
  1356. <Minimum>-30.0</Minimum>
  1357. <Maximum>70.0</Maximum>
  1358. <Linear>true</Linear>
  1359. <Scaling>2</Scaling>
  1360. <Label>angle</Label>
  1361. </Axis>
  1362. <Axis>
  1363. <Minimum>-1.5</Minimum>
  1364. <Maximum>3.5</Maximum>
  1365. <Linear>true</Linear>
  1366. <Scaling>2</Scaling>
  1367. <Label>output</Label>
  1368. </Axis>
  1369. </YAxes>
  1370. <ZAxes>
  1371. </ZAxes>
  1372. <Curves>
  1373. <Curve>
  1374. <LineColor>3355111</LineColor>
  1375. <LineStyle>1</LineStyle>
  1376. <TickColor>3355111</TickColor>
  1377. <TickStyle>0</TickStyle>
  1378. <CurveVisible>true</CurveVisible>
  1379. <PixelThresshold>1</PixelThresshold>
  1380. <LineThickness>1</LineThickness>
  1381. <LineOrder>1</LineOrder>
  1382. <ShowYValues>true</ShowYValues>
  1383. <XCurveData>
  1384. <ShowUnit>true</ShowUnit>
  1385. <VarName>time</VarName>
  1386. </XCurveData>
  1387. <YCurveData>
  1388. <ShowUnit>true</ShowUnit>
  1389. <VarName>stepper_model\RotorAngle\angle</VarName>
  1390. </YCurveData>
  1391. </Curve>
  1392. <Curve>
  1393. <LineColor>6076255</LineColor>
  1394. <LineStyle>1</LineStyle>
  1395. <TickColor>6076255</TickColor>
  1396. <TickStyle>0</TickStyle>
  1397. <CurveVisible>true</CurveVisible>
  1398. <PixelThresshold>1</PixelThresshold>
  1399. <LineThickness>1</LineThickness>
  1400. <LineOrder>1</LineOrder>
  1401. <ShowYValues>true</ShowYValues>
  1402. <XCurveData>
  1403. <ShowUnit>true</ShowUnit>
  1404. <VarName>time</VarName>
  1405. </XCurveData>
  1406. <YCurveData>
  1407. <ShowUnit>true</ShowUnit>
  1408. <VarName>Square\output</VarName>
  1409. </YCurveData>
  1410. </Curve>
  1411. </Curves>
  1412. <Legenda>
  1413. <ShowLegenda>true</ShowLegenda>
  1414. <BorderPenColor>0</BorderPenColor>
  1415. <BackgroundColor>16777215</BackgroundColor>
  1416. </Legenda>
  1417. </Plot>
  1418. <Plot>
  1419. <PlotType>GraphPlot</PlotType>
  1420. <BasePlot>
  1421. <PlotId>3</PlotId>
  1422. <UseWindowsBGColor>false</UseWindowsBGColor>
  1423. <BGColor>16777215</BGColor>
  1424. <PlotIsVisible>true</PlotIsVisible>
  1425. </BasePlot>
  1426. <Grid>
  1427. <DrawGrid>true</DrawGrid>
  1428. <GridColor>15780518</GridColor>
  1429. <GridBorderLineColor>12624260</GridBorderLineColor>
  1430. <GridZeroLineColor>0</GridZeroLineColor>
  1431. <XTicks>10</XTicks>
  1432. <YTicks>10</YTicks>
  1433. <ZTicks>10</ZTicks>
  1434. <Use3DLook>false</Use3DLook>
  1435. </Grid>
  1436. <PlotBGColor>16777215</PlotBGColor>
  1437. <ShowPlotTitle>true</ShowPlotTitle>
  1438. <TitlePosition>1</TitlePosition>
  1439. <PlotTitle>model(1)</PlotTitle>
  1440. <ShowXValues>true</ShowXValues>
  1441. <Fonts>
  1442. <TitleFont>
  1443. <Name>Arial</Name>
  1444. <Height>12</Height>
  1445. <PitchFamily>34</PitchFamily>
  1446. <Weight>400</Weight>
  1447. <Italic>0</Italic>
  1448. <UnderLine>0</UnderLine>
  1449. <StrikeOut>0</StrikeOut>
  1450. <Color>0</Color>
  1451. </TitleFont>
  1452. <LabelFont>
  1453. <Name>Arial</Name>
  1454. <Height>12</Height>
  1455. <PitchFamily>34</PitchFamily>
  1456. <Weight>400</Weight>
  1457. <Italic>0</Italic>
  1458. <UnderLine>0</UnderLine>
  1459. <StrikeOut>0</StrikeOut>
  1460. <Color>0</Color>
  1461. </LabelFont>
  1462. <ValuesFont>
  1463. <Name>Arial</Name>
  1464. <Height>10</Height>
  1465. <PitchFamily>34</PitchFamily>
  1466. <Weight>400</Weight>
  1467. <Italic>0</Italic>
  1468. <UnderLine>0</UnderLine>
  1469. <StrikeOut>0</StrikeOut>
  1470. <Color>0</Color>
  1471. </ValuesFont>
  1472. <LegendFont>
  1473. <Name>Arial</Name>
  1474. <Height>12</Height>
  1475. <PitchFamily>34</PitchFamily>
  1476. <Weight>400</Weight>
  1477. <Italic>0</Italic>
  1478. <UnderLine>0</UnderLine>
  1479. <StrikeOut>0</StrikeOut>
  1480. <Color>0</Color>
  1481. </LegendFont>
  1482. </Fonts>
  1483. <SharedXAxis>true</SharedXAxis>
  1484. <SharedYAxis>true</SharedYAxis>
  1485. <SharedZAxis>false</SharedZAxis>
  1486. <XAxes>
  1487. <Axis>
  1488. <Minimum>0.0</Minimum>
  1489. <Maximum>2.0</Maximum>
  1490. <Linear>true</Linear>
  1491. <Scaling>3</Scaling>
  1492. <Label>time</Label>
  1493. </Axis>
  1494. </XAxes>
  1495. <YAxes>
  1496. <Axis>
  1497. <Minimum>-250.0</Minimum>
  1498. <Maximum>250.0</Maximum>
  1499. <Linear>true</Linear>
  1500. <Scaling>1</Scaling>
  1501. <Label>a</Label>
  1502. </Axis>
  1503. <Axis>
  1504. <Minimum>-400.0</Minimum>
  1505. <Maximum>600.0</Maximum>
  1506. <Linear>true</Linear>
  1507. <Scaling>1</Scaling>
  1508. <Label>v</Label>
  1509. </Axis>
  1510. <Axis>
  1511. <Minimum>-400.0</Minimum>
  1512. <Maximum>600.0</Maximum>
  1513. <Linear>true</Linear>
  1514. <Scaling>1</Scaling>
  1515. <Label>x</Label>
  1516. </Axis>
  1517. <Axis>
  1518. <Minimum>-400.0</Minimum>
  1519. <Maximum>600.0</Maximum>
  1520. <Linear>true</Linear>
  1521. <Scaling>1</Scaling>
  1522. <Label>error v</Label>
  1523. </Axis>
  1524. <Axis>
  1525. <Minimum>-400.0</Minimum>
  1526. <Maximum>600.0</Maximum>
  1527. <Linear>true</Linear>
  1528. <Scaling>1</Scaling>
  1529. <Label>error x</Label>
  1530. </Axis>
  1531. </YAxes>
  1532. <ZAxes>
  1533. </ZAxes>
  1534. <Curves>
  1535. <Curve>
  1536. <LineColor>3355111</LineColor>
  1537. <LineStyle>1</LineStyle>
  1538. <TickColor>3355111</TickColor>
  1539. <TickStyle>0</TickStyle>
  1540. <CurveVisible>true</CurveVisible>
  1541. <PixelThresshold>1</PixelThresshold>
  1542. <LineThickness>1</LineThickness>
  1543. <LineOrder>1</LineOrder>
  1544. <ShowYValues>true</ShowYValues>
  1545. <XCurveData>
  1546. <ShowUnit>true</ShowUnit>
  1547. <VarName>time</VarName>
  1548. </XCurveData>
  1549. <YCurveData>
  1550. <ShowUnit>true</ShowUnit>
  1551. <VarName>stepper_control\Integrate\input</VarName>
  1552. </YCurveData>
  1553. </Curve>
  1554. <Curve>
  1555. <LineColor>6076255</LineColor>
  1556. <LineStyle>1</LineStyle>
  1557. <TickColor>6076255</TickColor>
  1558. <TickStyle>0</TickStyle>
  1559. <CurveVisible>true</CurveVisible>
  1560. <PixelThresshold>1</PixelThresshold>
  1561. <LineThickness>1</LineThickness>
  1562. <LineOrder>1</LineOrder>
  1563. <ShowYValues>true</ShowYValues>
  1564. <XCurveData>
  1565. <ShowUnit>true</ShowUnit>
  1566. <VarName>time</VarName>
  1567. </XCurveData>
  1568. <YCurveData>
  1569. <ShowUnit>true</ShowUnit>
  1570. <VarName>stepper_control\Integrate\output</VarName>
  1571. </YCurveData>
  1572. </Curve>
  1573. <Curve>
  1574. <LineColor>12553035</LineColor>
  1575. <LineStyle>1</LineStyle>
  1576. <TickColor>12553035</TickColor>
  1577. <TickStyle>0</TickStyle>
  1578. <CurveVisible>true</CurveVisible>
  1579. <PixelThresshold>1</PixelThresshold>
  1580. <LineThickness>1</LineThickness>
  1581. <LineOrder>1</LineOrder>
  1582. <ShowYValues>true</ShowYValues>
  1583. <XCurveData>
  1584. <ShowUnit>true</ShowUnit>
  1585. <VarName>time</VarName>
  1586. </XCurveData>
  1587. <YCurveData>
  1588. <ShowUnit>true</ShowUnit>
  1589. <VarName>stepper_control\Integrate1\output</VarName>
  1590. </YCurveData>
  1591. </Curve>
  1592. <Curve>
  1593. <LineColor>15086320</LineColor>
  1594. <LineStyle>1</LineStyle>
  1595. <TickColor>15086320</TickColor>
  1596. <TickStyle>0</TickStyle>
  1597. <CurveVisible>true</CurveVisible>
  1598. <PixelThresshold>1</PixelThresshold>
  1599. <LineThickness>1</LineThickness>
  1600. <LineOrder>1</LineOrder>
  1601. <ShowYValues>true</ShowYValues>
  1602. <XCurveData>
  1603. <ShowUnit>true</ShowUnit>
  1604. <VarName>time</VarName>
  1605. </XCurveData>
  1606. <YCurveData>
  1607. <ShowUnit>true</ShowUnit>
  1608. <VarName>stepper_control\PD\error</VarName>
  1609. </YCurveData>
  1610. </Curve>
  1611. <Curve>
  1612. <LineColor>15790150</LineColor>
  1613. <LineStyle>1</LineStyle>
  1614. <TickColor>15790150</TickColor>
  1615. <TickStyle>0</TickStyle>
  1616. <CurveVisible>true</CurveVisible>
  1617. <PixelThresshold>1</PixelThresshold>
  1618. <LineThickness>1</LineThickness>
  1619. <LineOrder>1</LineOrder>
  1620. <ShowYValues>true</ShowYValues>
  1621. <XCurveData>
  1622. <ShowUnit>true</ShowUnit>
  1623. <VarName>time</VarName>
  1624. </XCurveData>
  1625. <YCurveData>
  1626. <ShowUnit>true</ShowUnit>
  1627. <VarName>stepper_control\PD1\error</VarName>
  1628. </YCurveData>
  1629. </Curve>
  1630. </Curves>
  1631. <Legenda>
  1632. <ShowLegenda>true</ShowLegenda>
  1633. <BorderPenColor>0</BorderPenColor>
  1634. <BackgroundColor>16777215</BackgroundColor>
  1635. </Legenda>
  1636. </Plot>
  1637. <Plot>
  1638. <PlotType>GraphPlot</PlotType>
  1639. <BasePlot>
  1640. <PlotId>4</PlotId>
  1641. <UseWindowsBGColor>false</UseWindowsBGColor>
  1642. <BGColor>16777215</BGColor>
  1643. <PlotIsVisible>true</PlotIsVisible>
  1644. </BasePlot>
  1645. <Grid>
  1646. <DrawGrid>true</DrawGrid>
  1647. <GridColor>15780518</GridColor>
  1648. <GridBorderLineColor>12624260</GridBorderLineColor>
  1649. <GridZeroLineColor>0</GridZeroLineColor>
  1650. <XTicks>10</XTicks>
  1651. <YTicks>10</YTicks>
  1652. <ZTicks>10</ZTicks>
  1653. <Use3DLook>false</Use3DLook>
  1654. </Grid>
  1655. <PlotBGColor>16777215</PlotBGColor>
  1656. <ShowPlotTitle>true</ShowPlotTitle>
  1657. <TitlePosition>1</TitlePosition>
  1658. <PlotTitle>Window 2</PlotTitle>
  1659. <ShowXValues>true</ShowXValues>
  1660. <Fonts>
  1661. <TitleFont>
  1662. <Name>Arial</Name>
  1663. <Height>12</Height>
  1664. <PitchFamily>34</PitchFamily>
  1665. <Weight>400</Weight>
  1666. <Italic>0</Italic>
  1667. <UnderLine>0</UnderLine>
  1668. <StrikeOut>0</StrikeOut>
  1669. <Color>0</Color>
  1670. </TitleFont>
  1671. <LabelFont>
  1672. <Name>Arial</Name>
  1673. <Height>12</Height>
  1674. <PitchFamily>34</PitchFamily>
  1675. <Weight>400</Weight>
  1676. <Italic>0</Italic>
  1677. <UnderLine>0</UnderLine>
  1678. <StrikeOut>0</StrikeOut>
  1679. <Color>0</Color>
  1680. </LabelFont>
  1681. <ValuesFont>
  1682. <Name>Arial</Name>
  1683. <Height>10</Height>
  1684. <PitchFamily>34</PitchFamily>
  1685. <Weight>400</Weight>
  1686. <Italic>0</Italic>
  1687. <UnderLine>0</UnderLine>
  1688. <StrikeOut>0</StrikeOut>
  1689. <Color>0</Color>
  1690. </ValuesFont>
  1691. <LegendFont>
  1692. <Name>Arial</Name>
  1693. <Height>12</Height>
  1694. <PitchFamily>34</PitchFamily>
  1695. <Weight>400</Weight>
  1696. <Italic>0</Italic>
  1697. <UnderLine>0</UnderLine>
  1698. <StrikeOut>0</StrikeOut>
  1699. <Color>0</Color>
  1700. </LegendFont>
  1701. </Fonts>
  1702. <SharedXAxis>true</SharedXAxis>
  1703. <SharedYAxis>true</SharedYAxis>
  1704. <SharedZAxis>false</SharedZAxis>
  1705. <XAxes>
  1706. <Axis>
  1707. <Minimum>0.0</Minimum>
  1708. <Maximum>2.0</Maximum>
  1709. <Linear>true</Linear>
  1710. <Scaling>3</Scaling>
  1711. <Label>time</Label>
  1712. </Axis>
  1713. </XAxes>
  1714. <YAxes>
  1715. <Axis>
  1716. <Minimum>-5.0</Minimum>
  1717. <Maximum>5.0</Maximum>
  1718. <Linear>true</Linear>
  1719. <Scaling>2</Scaling>
  1720. <Label>a</Label>
  1721. </Axis>
  1722. <Axis>
  1723. <Minimum>-5.0</Minimum>
  1724. <Maximum>5.0</Maximum>
  1725. <Linear>true</Linear>
  1726. <Scaling>2</Scaling>
  1727. <Label>effort a</Label>
  1728. </Axis>
  1729. <Axis>
  1730. <Minimum>-5.0</Minimum>
  1731. <Maximum>5.0</Maximum>
  1732. <Linear>true</Linear>
  1733. <Scaling>2</Scaling>
  1734. <Label>effort b</Label>
  1735. </Axis>
  1736. <Axis>
  1737. <Minimum>-5.0</Minimum>
  1738. <Maximum>5.0</Maximum>
  1739. <Linear>true</Linear>
  1740. <Scaling>2</Scaling>
  1741. <Label>b</Label>
  1742. </Axis>
  1743. </YAxes>
  1744. <ZAxes>
  1745. </ZAxes>
  1746. <Curves>
  1747. <Curve>
  1748. <LineColor>3355111</LineColor>
  1749. <LineStyle>1</LineStyle>
  1750. <TickColor>3355111</TickColor>
  1751. <TickStyle>0</TickStyle>
  1752. <CurveVisible>true</CurveVisible>
  1753. <PixelThresshold>1</PixelThresshold>
  1754. <LineThickness>1</LineThickness>
  1755. <LineOrder>1</LineOrder>
  1756. <ShowYValues>true</ShowYValues>
  1757. <XCurveData>
  1758. <ShowUnit>true</ShowUnit>
  1759. <VarName>time</VarName>
  1760. </XCurveData>
  1761. <YCurveData>
  1762. <ShowUnit>true</ShowUnit>
  1763. <VarName>stepper_model\Submodel2\a</VarName>
  1764. </YCurveData>
  1765. </Curve>
  1766. <Curve>
  1767. <LineColor>6076255</LineColor>
  1768. <LineStyle>1</LineStyle>
  1769. <TickColor>6076255</TickColor>
  1770. <TickStyle>0</TickStyle>
  1771. <CurveVisible>true</CurveVisible>
  1772. <PixelThresshold>1</PixelThresshold>
  1773. <LineThickness>1</LineThickness>
  1774. <LineOrder>1</LineOrder>
  1775. <ShowYValues>true</ShowYValues>
  1776. <XCurveData>
  1777. <ShowUnit>true</ShowUnit>
  1778. <VarName>time</VarName>
  1779. </XCurveData>
  1780. <YCurveData>
  1781. <ShowUnit>true</ShowUnit>
  1782. <VarName>stepper_model\MSe_a\effort</VarName>
  1783. </YCurveData>
  1784. </Curve>
  1785. <Curve>
  1786. <LineColor>12553035</LineColor>
  1787. <LineStyle>1</LineStyle>
  1788. <TickColor>12553035</TickColor>
  1789. <TickStyle>0</TickStyle>
  1790. <CurveVisible>true</CurveVisible>
  1791. <PixelThresshold>1</PixelThresshold>
  1792. <LineThickness>1</LineThickness>
  1793. <LineOrder>1</LineOrder>
  1794. <ShowYValues>true</ShowYValues>
  1795. <XCurveData>
  1796. <ShowUnit>true</ShowUnit>
  1797. <VarName>time</VarName>
  1798. </XCurveData>
  1799. <YCurveData>
  1800. <ShowUnit>true</ShowUnit>
  1801. <VarName>stepper_model\MSe_b\effort</VarName>
  1802. </YCurveData>
  1803. </Curve>
  1804. <Curve>
  1805. <LineColor>15086320</LineColor>
  1806. <LineStyle>1</LineStyle>
  1807. <TickColor>15086320</TickColor>
  1808. <TickStyle>0</TickStyle>
  1809. <CurveVisible>true</CurveVisible>
  1810. <PixelThresshold>1</PixelThresshold>
  1811. <LineThickness>1</LineThickness>
  1812. <LineOrder>1</LineOrder>
  1813. <ShowYValues>true</ShowYValues>
  1814. <XCurveData>
  1815. <ShowUnit>true</ShowUnit>
  1816. <VarName>time</VarName>
  1817. </XCurveData>
  1818. <YCurveData>
  1819. <ShowUnit>true</ShowUnit>
  1820. <VarName>stepper_model\Submodel2\b</VarName>
  1821. </YCurveData>
  1822. </Curve>
  1823. </Curves>
  1824. <Legenda>
  1825. <ShowLegenda>true</ShowLegenda>
  1826. <BorderPenColor>0</BorderPenColor>
  1827. <BackgroundColor>16777215</BackgroundColor>
  1828. </Legenda>
  1829. </Plot>
  1830. </Plots>
  1831. <PlotPanels>
  1832. <PlotPanel>
  1833. <PlotPanelId>1</PlotPanelId>
  1834. <PlotPanelVisible>true</PlotPanelVisible>
  1835. <Name>Window 1</Name>
  1836. <Tiling>0</Tiling>
  1837. <PlotIds>
  1838. <PlotId>1</PlotId>
  1839. <PlotId>2</PlotId>
  1840. <PlotId>3</PlotId>
  1841. </PlotIds>
  1842. <ToggleState>Base</ToggleState>
  1843. </PlotPanel>
  1844. <PlotPanel>
  1845. <PlotPanelId>2</PlotPanelId>
  1846. <PlotPanelVisible>false</PlotPanelVisible>
  1847. <Name>Window 2</Name>
  1848. <Tiling>2</Tiling>
  1849. <PlotIds>
  1850. <PlotId>4</PlotId>
  1851. </PlotIds>
  1852. <ToggleState>Base</ToggleState>
  1853. </PlotPanel>
  1854. </PlotPanels>
  1855. <WindowRectangles virtualDesktopWidth="5760" virtualDesktopHeight="1080">
  1856. <WindowRectangle monitor="1" left="-1920" top="0" right="0" bottom="1080" plotpanelid="1">
  1857. 0.0260417 0.025 0.908854 0.872222
  1858. </WindowRectangle>
  1859. <WindowRectangle monitor="2" left="1920" top="0" right="3840" bottom="1080" plotpanelid="2">
  1860. 0.172917 0.158333 0.841667 0.919444
  1861. </WindowRectangle>
  1862. </WindowRectangles>
  1863. </PlotSpecs>
  1864. <RunSpecs>
  1865. <SimulatorSettings>
  1866. <StartTime>0.0</StartTime>
  1867. <FinishTime>2.0</FinishTime>
  1868. <AllowPassFinishTime>false</AllowPassFinishTime>
  1869. <Warp>false</Warp>
  1870. <FPGonio>false</FPGonio>
  1871. <UseOutputAfterEach>false</UseOutputAfterEach>
  1872. <OutputAfterEach>0.1</OutputAfterEach>
  1873. <EventEpsilon>1.0e-6</EventEpsilon>
  1874. <AlgebraicTolerance>1.0e-7</AlgebraicTolerance>
  1875. <SteadyStateAnalysis>false</SteadyStateAnalysis>
  1876. <UpdateHoldInstructions>true</UpdateHoldInstructions>
  1877. </SimulatorSettings>
  1878. <IntegrationMethods>
  1879. <IntegrationMethod>
  1880. <Name>Euler</Name>
  1881. <StepSize>0.01</StepSize>
  1882. <AutoStepSize>false</AutoStepSize>
  1883. </IntegrationMethod>
  1884. <IntegrationMethod>
  1885. <Name>BackwardEuler</Name>
  1886. <AbsoluteTolerance>1.0e-5</AbsoluteTolerance>
  1887. <RelativeTolerance>1.0e-5</RelativeTolerance>
  1888. <AlgebraicAbsoluteTolerance>1.0e-5</AlgebraicAbsoluteTolerance>
  1889. <AlgebraicRelativeTolerance>1.0e-5</AlgebraicRelativeTolerance>
  1890. <StepSize>0.01</StepSize>
  1891. <Alpha>1.0</Alpha>
  1892. </IntegrationMethod>
  1893. <IntegrationMethod>
  1894. <Name>AdamsBashforth</Name>
  1895. <StepSize>0.01</StepSize>
  1896. <AutoStepSize>false</AutoStepSize>
  1897. </IntegrationMethod>
  1898. <IntegrationMethod>
  1899. <Name>RungeKutta2</Name>
  1900. <StepSize>0.01</StepSize>
  1901. <AutoStepSize>false</AutoStepSize>
  1902. </IntegrationMethod>
  1903. <IntegrationMethod>
  1904. <Name>RungeKutta4</Name>
  1905. <StepSize>1.0e-4</StepSize>
  1906. <AutoStepSize>false</AutoStepSize>
  1907. </IntegrationMethod>
  1908. <IntegrationMethod>
  1909. <Name>RungeKutta8</Name>
  1910. <UseInitialStepSize>false</UseInitialStepSize>
  1911. <InitialStepSize>0.0</InitialStepSize>
  1912. <UseMaximumStepSize>false</UseMaximumStepSize>
  1913. <MaximumStepSize>0.0</MaximumStepSize>
  1914. <AbsoluteTolerance>1.0e-6</AbsoluteTolerance>
  1915. <RelativeTolerance>1.0e-6</RelativeTolerance>
  1916. <SafetyFactor>0.9</SafetyFactor>
  1917. <Factor1>0.33</Factor1>
  1918. <Factor2>6.0</Factor2>
  1919. <Beta>0.0</Beta>
  1920. <UseMaxNrSteps>false</UseMaxNrSteps>
  1921. <MaxNrSteps>100000</MaxNrSteps>
  1922. <UseStiffDetection>false</UseStiffDetection>
  1923. <MaxNrStiffnessSteps>1000</MaxNrStiffnessSteps>
  1924. </IntegrationMethod>
  1925. <IntegrationMethod>
  1926. <Name>RungeKuttaFehlberg</Name>
  1927. <UseInitialStepSize>false</UseInitialStepSize>
  1928. <InitialStepSize>0.0</InitialStepSize>
  1929. <UseMaximumStepSize>false</UseMaximumStepSize>
  1930. <MaximumStepSize>0.0</MaximumStepSize>
  1931. <AbsoluteTolerance>1.0e-6</AbsoluteTolerance>
  1932. <RelativeTolerance>1.0e-6</RelativeTolerance>
  1933. </IntegrationMethod>
  1934. <IntegrationMethod>
  1935. <Name>VodeAdams</Name>
  1936. <UseInitialStepSize>false</UseInitialStepSize>
  1937. <InitialStepSize>0.0</InitialStepSize>
  1938. <UseMaximumStepSize>false</UseMaximumStepSize>
  1939. <MaximumStepSize>0.0</MaximumStepSize>
  1940. <AbsoluteTolerance>1.0e-6</AbsoluteTolerance>
  1941. <RelativeTolerance>1.0e-6</RelativeTolerance>
  1942. <VodeUseBDF>false</VodeUseBDF>
  1943. <VodeUseNewton>true</VodeUseNewton>
  1944. </IntegrationMethod>
  1945. <IntegrationMethod>
  1946. <Name>BDFMethod</Name>
  1947. <AbsoluteTolerance>1.0e-5</AbsoluteTolerance>
  1948. <RelativeTolerance>1.0e-5</RelativeTolerance>
  1949. <AlgebraicAbsoluteTolerance>1.0e-5</AlgebraicAbsoluteTolerance>
  1950. <AlgebraicRelativeTolerance>1.0e-5</AlgebraicRelativeTolerance>
  1951. <UseInitialStepSize>false</UseInitialStepSize>
  1952. <InitialStepSize>0.0</InitialStepSize>
  1953. <UseMaximumStepSize>false</UseMaximumStepSize>
  1954. <MaximumStepSize>0.0</MaximumStepSize>
  1955. </IntegrationMethod>
  1956. <IntegrationMethod>
  1957. <Name>MeBDFiMethod</Name>
  1958. <AbsoluteTolerance>1.0e-5</AbsoluteTolerance>
  1959. <RelativeTolerance>1.0e-5</RelativeTolerance>
  1960. <AlgebraicAbsoluteTolerance>1.0e-5</AlgebraicAbsoluteTolerance>
  1961. <AlgebraicRelativeTolerance>1.0e-5</AlgebraicRelativeTolerance>
  1962. <UseInitialStepSize>false</UseInitialStepSize>
  1963. <InitialStepSize>0.0</InitialStepSize>
  1964. <UseMaximumStepSize>false</UseMaximumStepSize>
  1965. <MaximumStepSize>0.0</MaximumStepSize>
  1966. </IntegrationMethod>
  1967. <SelectedIntegrationMethod>8</SelectedIntegrationMethod>
  1968. </IntegrationMethods>
  1969. </RunSpecs>
  1970. <MultipleRun>
  1971. <NrSteps>20</NrSteps>
  1972. <CopyFromStates>false</CopyFromStates>
  1973. <JoinParameterVariation>false</JoinParameterVariation>
  1974. <ClearAfterRun>true</ClearAfterRun>
  1975. <RedrawAfterRun>false</RedrawAfterRun>
  1976. <DrawDuringSimulation>false</DrawDuringSimulation>
  1977. <ActionBeforeOptimization>1</ActionBeforeOptimization>
  1978. <CompareValue>0.0</CompareValue>
  1979. <UseCompareValue>false</UseCompareValue>
  1980. <MultipleRunType>Optimization</MultipleRunType>
  1981. <Minimize>true</Minimize>
  1982. <OptimizationVariable>Submodel3\RotorAngle\angle</OptimizationVariable>
  1983. <CompareVariable>Square\output</CompareVariable>
  1984. <ResulVarUsage>UseIntegralAbsolute</ResulVarUsage>
  1985. <Tolerance>0.001</Tolerance>
  1986. <OptimizationMethod>BroydonFletcherGoldfarbShanno</OptimizationMethod>
  1987. <MultipleRunVariables>
  1988. <MultipleRunVariable>
  1989. <Name>stepper_control\PD1\kp</Name>
  1990. <Minimum>1.0</Minimum>
  1991. <Maximum>50.0</Maximum>
  1992. <SweepMethod>Linear</SweepMethod>
  1993. <Distribution>Uniform</Distribution>
  1994. <Mean>15.0</Mean>
  1995. <Deviation>3.75</Deviation>
  1996. <TolerancePercentage>1.0</TolerancePercentage>
  1997. <Nominal>10.0</Nominal>
  1998. </MultipleRunVariable>
  1999. <MultipleRunVariable>
  2000. <Name>stepper_control\PD1\tauD</Name>
  2001. <Minimum>1.0</Minimum>
  2002. <Maximum>50.0</Maximum>
  2003. <SweepMethod>Linear</SweepMethod>
  2004. <Distribution>Uniform</Distribution>
  2005. <Mean>6.0</Mean>
  2006. <Deviation>1.5</Deviation>
  2007. <TolerancePercentage>1.0</TolerancePercentage>
  2008. <Nominal>10.0</Nominal>
  2009. </MultipleRunVariable>
  2010. </MultipleRunVariables>
  2011. </MultipleRun>
  2012. <ExportData>
  2013. <WriteAsText>true</WriteAsText>
  2014. <ReadAsText>true</ReadAsText>
  2015. <WriteHeader>true</WriteHeader>
  2016. <ReadHeader>true</ReadHeader>
  2017. <ReadFilename></ReadFilename>
  2018. <WriteFilename></WriteFilename>
  2019. <DoWrite>false</DoWrite>
  2020. <ExportVariables>
  2021. </ExportVariables>
  2022. <ImportVariables>
  2023. </ImportVariables>
  2024. </ExportData>
  2025. <BreakPoints>
  2026. </BreakPoints>
  2027. <AnimationPlayback>
  2028. <PlaybackSpeed>1.0</PlaybackSpeed>
  2029. </AnimationPlayback>
  2030. </ExpData>
  2031. </Experiment>
  2032. </Experiments>
  2033. </Document>