source: trunk/Block-Oriented EML/Examples/closed_loop_test.pfd @ 976

Last change on this file since 976 was 944, checked in by Argimiro Resende Secchi, 10 years ago

Adding Block-Oriented library by Jonathan Ospino Pinedo

File size: 7.3 KB
Line 
1<?xml version="1.0"?>
2<!-- VRTech xml file - http://www.vrtech.com.br  -->
3<Diagram version="1" revision="1">
4<Physical_Properties>
5        <Liquid_Model></Liquid_Model>
6        <Vapour_Model></Vapour_Model>
7        <Project></Project>
8</Physical_Properties>
9<Options>
10        <Dynamic>1</Dynamic>
11        <SkipAnalysis>0</SkipAnalysis>
12        <Time_Start>0</Time_Start>
13        <Time_Step>0.1</Time_Step>
14        <Time_End>150</Time_End>
15        <Time_Unit>s</Time_Unit>
16        <Sparse_Algebra>1</Sparse_Algebra>
17        <Integration_Index>0</Integration_Index>
18        <Integration_Text>original</Integration_Text>
19        <NLASolver_File_Index>0</NLASolver_File_Index>
20        <NLASolver_File_Text>sundials</NLASolver_File_Text>
21        <DAESolver_File_Index>2</DAESolver_File_Index>
22        <DAESolver_File_Text>dasslc</DAESolver_File_Text>
23        <DAESolver_Relative_Accuracy>1e-3</DAESolver_Relative_Accuracy>
24        <DAESolver_Absolute_Accuracy>1e-6</DAESolver_Absolute_Accuracy>
25        <DAESolver_Evt_Accuracy>1e-2</DAESolver_Evt_Accuracy>
26</Options>
27<Width>2000</Width>
28<Height>1000</Height>
29<View>
30        <Zoom_Level>0.9</Zoom_Level>
31        <Width>1083</Width>
32        <Height>372</Height>
33        <X>0</X>
34        <Y>0</Y>
35</View>
36<View>
37        <Zoom_Level>1</Zoom_Level>
38        <Width>1083</Width>
39        <Height>0</Height>
40        <X>0</X>
41        <Y>0</Y>
42</View>
43<Block>
44        <Type>Step</Type>
45        <Id_String>Step_1</Id_String>
46        <X>82.3333</X>
47        <Y>88</Y>
48        <Z>0</Z>
49        <Width>42.7</Width>
50        <Height>40.6</Height>
51        <Label_Position>
52                <X>76.1658</X>
53                <Y>132.854</Y>
54        </Label_Position>
55        <Settings>
56                <Value>
57                        <Path>
58                                <Value>Initial_Value</Value>
59                        </Path>
60                        <Unit></Unit>
61                        <Indices>
62                                <Value>1</Value>
63                        </Indices>
64                        <Value>1</Value>
65                        <Status>4</Status>
66                </Value>
67                <Value>
68                        <Path>
69                                <Value>Final_Value</Value>
70                        </Path>
71                        <Unit></Unit>
72                        <Indices>
73                                <Value>1</Value>
74                        </Indices>
75                        <Value>1</Value>
76                        <Status>4</Status>
77                </Value>
78                <Value>
79                        <Path>
80                                <Value>Start_time</Value>
81                        </Path>
82                        <Unit>'s'</Unit>
83                        <Indices>
84                                <Value>1</Value>
85                        </Indices>
86                        <Value>5</Value>
87                        <Status>4</Status>
88                </Value>
89        </Settings>
90</Block>
91<Block>
92        <Type>TimeDelay</Type>
93        <Id_String>TimeDelay_1</Id_String>
94        <X>572</X>
95        <Y>131.667</Y>
96        <Z>0</Z>
97        <Width>42.7</Width>
98        <Height>40.6</Height>
99        <Label_Position>
100                <X>545.85</X>
101                <Y>94.5444</Y>
102        </Label_Position>
103        <Settings>
104                <Value>
105                        <Path>
106                                <Value>t0</Value>
107                        </Path>
108                        <Unit>'s'</Unit>
109                        <Indices>
110                                <Value>1</Value>
111                        </Indices>
112                        <Value>13</Value>
113                        <Status>4</Status>
114                </Value>
115        </Settings>
116</Block>
117<Block>
118        <Type>FOD</Type>
119        <Id_String>FOD_1</Id_String>
120        <X>447.444</X>
121        <Y>122.111</Y>
122        <Z>0</Z>
123        <Width>61.6</Width>
124        <Height>47.6</Height>
125        <Label_Position>
126                <X>450.356</X>
127                <Y>174.211</Y>
128        </Label_Position>
129        <Settings>
130                <Value>
131                        <Path>
132                                <Value>K</Value>
133                        </Path>
134                        <Unit></Unit>
135                        <Indices>
136                                <Value>1</Value>
137                        </Indices>
138                        <Value>0.8</Value>
139                        <Status>4</Status>
140                </Value>
141                <Value>
142                        <Path>
143                                <Value>Tau</Value>
144                        </Path>
145                        <Unit>'s'</Unit>
146                        <Indices>
147                                <Value>1</Value>
148                        </Indices>
149                        <Value>30</Value>
150                        <Status>4</Status>
151                </Value>
152        </Settings>
153</Block>
154<Block>
155        <Type>PID_id</Type>
156        <Id_String>PID_id_1</Id_String>
157        <X>340.222</X>
158        <Y>125.222</Y>
159        <Z>0</Z>
160        <Width>42.7</Width>
161        <Height>40.6</Height>
162        <Label_Position>
163                <X>327.072</X>
164                <Y>180.322</Y>
165        </Label_Position>
166        <Settings>
167                <Value>
168                        <Path>
169                                <Value>Controller_Mode</Value>
170                        </Path>
171                        <Unit></Unit>
172                        <Indices>
173                                <Value>1</Value>
174                        </Indices>
175                        <Value>"P"</Value>
176                        <Status>4</Status>
177                </Value>
178                <Value>
179                        <Path>
180                                <Value>Kc</Value>
181                        </Path>
182                        <Unit></Unit>
183                        <Indices>
184                                <Value>1</Value>
185                        </Indices>
186                        <Value>5.35</Value>
187                        <Status>4</Status>
188                </Value>
189        </Settings>
190</Block>
191<Block>
192        <Type>Substream</Type>
193        <Id_String>Substream_1</Id_String>
194        <X>686.667</X>
195        <Y>211.111</Y>
196        <Z>0</Z>
197        <Width>42.7</Width>
198        <Height>40.6</Height>
199        <Label_Position>
200                <X>681.11</X>
201                <Y>178.076</Y>
202        </Label_Position>
203        <Settings>
204        </Settings>
205</Block>
206<Block>
207        <Type>SumSub</Type>
208        <Id_String>SumSub_1</Id_String>
209        <X>195.556</X>
210        <Y>126.667</Y>
211        <Z>0</Z>
212        <Width>32.9</Width>
213        <Height>33.6</Height>
214        <Label_Position>
215                <X>180.377</X>
216                <Y>171.433</Y>
217        </Label_Position>
218        <Settings>
219                <Value>
220                        <Path>
221                                <Value>Select_operation</Value>
222                        </Path>
223                        <Unit></Unit>
224                        <Indices>
225                                <Value>1</Value>
226                        </Indices>
227                        <Value>"Subtraction"</Value>
228                        <Status>4</Status>
229                </Value>
230        </Settings>
231</Block>
232<Block>
233        <Type>SumSub</Type>
234        <Id_String>Result</Id_String>
235        <X>784.444</X>
236        <Y>266.667</Y>
237        <Z>0</Z>
238        <Width>32.9</Width>
239        <Height>33.6</Height>
240        <Label_Position>
241                <X>827.155</X>
242                <Y>268.1</Y>
243        </Label_Position>
244        <Settings>
245        </Settings>
246</Block>
247<Block>
248        <Type>Constant</Type>
249        <Id_String>Constant_1</Id_String>
250        <X>695.556</X>
251        <Y>308.889</Y>
252        <Z>0</Z>
253        <Width>42.7</Width>
254        <Height>40.6</Height>
255        <Label_Position>
256                <X>678.85</X>
257                <Y>351.409</Y>
258        </Label_Position>
259        <Settings>
260                <Value>
261                        <Path>
262                                <Value>Value</Value>
263                        </Path>
264                        <Unit></Unit>
265                        <Indices>
266                                <Value>1</Value>
267                        </Indices>
268                        <Value>90</Value>
269                        <Status>4</Status>
270                </Value>
271        </Settings>
272</Block>
273<Line>
274        <Line_Name>S002</Line_Name>
275        <X1>503.044</X1>
276        <Y1>139.911</Y1>
277        <X2>566</X2>
278        <Y2>145.967</Y2>
279        <Block_Source>FOD_1</Block_Source>
280        <Port_Source>Out</Port_Source>
281        <Block_Target>TimeDelay_1</Block_Target>
282        <Port_Target>In</Port_Target>
283</Line>
284<Line>
285        <Line_Name>S001</Line_Name>
286        <X1>376.922</X1>
287        <Y1>139.522</Y1>
288        <X2>441.444</X2>
289        <Y2>139.911</Y2>
290        <Block_Source>PID_id_1</Block_Source>
291        <Port_Source>m</Port_Source>
292        <Block_Target>FOD_1</Block_Target>
293        <Port_Target>In</Port_Target>
294</Line>
295<Line>
296        <Line_Name>S003</Line_Name>
297        <X1>608.7</X1>
298        <Y1>145.967</Y1>
299        <X2>680.667</X2>
300        <Y2>223.381</Y2>
301        <Block_Source>TimeDelay_1</Block_Source>
302        <Port_Source>Out</Port_Source>
303        <Block_Target>Substream_1</Block_Target>
304        <Port_Target>In</Port_Target>
305</Line>
306<Line>
307        <Line_Name>S004</Line_Name>
308        <X1>222.456</X1>
309        <Y1>137.467</Y1>
310        <X2>334.222</X2>
311        <Y2>139.522</Y2>
312        <Block_Source>SumSub_1</Block_Source>
313        <Port_Source>Out</Port_Source>
314        <Block_Target>PID_id_1</Block_Target>
315        <Port_Target>e</Port_Target>
316</Line>
317<Line>
318        <Line_Name>S005</Line_Name>
319        <X1>119.033</X1>
320        <Y1>102.3</Y1>
321        <X2>206.006</X2>
322        <Y2>120.667</Y2>
323        <Block_Source>Step_1</Block_Source>
324        <Port_Source>Out</Port_Source>
325        <Block_Target>SumSub_1</Block_Target>
326        <Port_Target>In1</Port_Target>
327</Line>
328<Line>
329        <Line_Name>S006</Line_Name>
330        <X1>701.59</X1>
331        <Y1>245.711</Y1>
332        <X2>206.006</X2>
333        <Y2>154.267</Y2>
334        <Block_Source>Substream_1</Block_Source>
335        <Port_Source>Out2</Port_Source>
336        <Block_Target>SumSub_1</Block_Target>
337        <Port_Target>In2</Port_Target>
338</Line>
339<Line>
340        <Line_Name>S007</Line_Name>
341        <X1>721.232</X1>
342        <Y1>223.381</Y1>
343        <X2>794.894</X2>
344        <Y2>260.667</Y2>
345        <Block_Source>Substream_1</Block_Source>
346        <Port_Source>Out1</Port_Source>
347        <Block_Target>Result</Block_Target>
348        <Port_Target>In1</Port_Target>
349</Line>
350<Line>
351        <Line_Name>S008</Line_Name>
352        <X1>732.256</X1>
353        <Y1>323.189</Y1>
354        <X2>794.894</X2>
355        <Y2>294.267</Y2>
356        <Block_Source>Constant_1</Block_Source>
357        <Port_Source>Out</Port_Source>
358        <Block_Target>Result</Block_Target>
359        <Port_Target>In2</Port_Target>
360</Line>
361</Diagram>
Note: See TracBrowser for help on using the repository browser.