source: branches/gui/Block-Oriented EML/Examples/Sample/gasprss.pfd @ 981

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

Adding Block-Oriented library by Jonathan Ospino Pinedo

File size: 10.9 KB
RevLine 
[944]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.01</Time_Step>
14        <Time_End>40</Time_End>
15        <Time_Unit>min</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>1</DAESolver_File_Index>
22        <DAESolver_File_Text>sundials</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>1</Zoom_Level>
31        <Width>971</Width>
32        <Height>395</Height>
33        <X>0</X>
34        <Y>0</Y>
35</View>
36<View>
37        <Zoom_Level>1</Zoom_Level>
38        <Width>971</Width>
39        <Height>0</Height>
40        <X>0</X>
41        <Y>0</Y>
42</View>
43<Block>
44        <Type>Step</Type>
45        <Id_String>mi</Id_String>
46        <X>32</X>
47        <Y>58</Y>
48        <Z>0</Z>
49        <Width>42.7</Width>
50        <Height>40.6</Height>
51        <Label_Position>
52                <X>38</X>
53                <Y>99</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>50</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>55</Value>
76                        <Status>4</Status>
77                </Value>
78                <Value>
79                        <Path>
80                                <Value>Start_time</Value>
81                        </Path>
82                        <Unit>'min'</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>Step</Type>
93        <Id_String>mo</Id_String>
94        <X>29</X>
95        <Y>171</Y>
96        <Z>0</Z>
97        <Width>42.7</Width>
98        <Height>40.6</Height>
99        <Label_Position>
100                <X>33</X>
101                <Y>212</Y>
102        </Label_Position>
103        <Settings>
104                <Value>
105                        <Path>
106                                <Value>Initial_Value</Value>
107                        </Path>
108                        <Unit></Unit>
109                        <Indices>
110                                <Value>1</Value>
111                        </Indices>
112                        <Value>50</Value>
113                        <Status>4</Status>
114                </Value>
115                <Value>
116                        <Path>
117                                <Value>Final_Value</Value>
118                        </Path>
119                        <Unit></Unit>
120                        <Indices>
121                                <Value>1</Value>
122                        </Indices>
123                        <Value>50</Value>
124                        <Status>4</Status>
125                </Value>
126                <Value>
127                        <Path>
128                                <Value>Start_time</Value>
129                        </Path>
130                        <Unit>'s'</Unit>
131                        <Indices>
132                                <Value>1</Value>
133                        </Indices>
134                        <Value>0</Value>
135                        <Status>4</Status>
136                </Value>
137        </Settings>
138</Block>
139<Block>
140        <Type>MultDiv</Type>
141        <Id_String>mult1</Id_String>
142        <X>126</X>
143        <Y>262</Y>
144        <Z>0</Z>
145        <Width>32.9</Width>
146        <Height>33.6</Height>
147        <Label_Position>
148                <X>82</X>
149                <Y>266</Y>
150        </Label_Position>
151        <Settings>
152        </Settings>
153</Block>
154<Block>
155        <Type>SumSub</Type>
156        <Id_String>subt1</Id_String>
157        <X>303</X>
158        <Y>110</Y>
159        <Z>0</Z>
160        <Width>32.9</Width>
161        <Height>33.6</Height>
162        <Label_Position>
163                <X>258</X>
164                <Y>116</Y>
165        </Label_Position>
166        <Settings>
167                <Value>
168                        <Path>
169                                <Value>Select_operation</Value>
170                        </Path>
171                        <Unit></Unit>
172                        <Indices>
173                                <Value>1</Value>
174                        </Indices>
175                        <Value>"Subtraction"</Value>
176                        <Status>4</Status>
177                </Value>
178        </Settings>
179</Block>
180<Block>
181        <Type>Gain</Type>
182        <Id_String>Valve_Gain</Id_String>
183        <X>226</X>
184        <Y>257</Y>
185        <Z>0</Z>
186        <Width>40.6</Width>
187        <Height>39.9</Height>
188        <Label_Position>
189                <X>203</X>
190                <Y>229</Y>
191        </Label_Position>
192        <Settings>
193                <Value>
194                        <Path>
195                                <Value>K</Value>
196                        </Path>
197                        <Unit></Unit>
198                        <Indices>
199                                <Value>1</Value>
200                        </Indices>
201                        <Value>0.00506</Value>
202                        <Status>4</Status>
203                </Value>
204        </Settings>
205</Block>
206<Block>
207        <Type>Gain</Type>
208        <Id_String>Fan_Gain</Id_String>
209        <X>147</X>
210        <Y>62</Y>
211        <Z>0</Z>
212        <Width>40.6</Width>
213        <Height>39.9</Height>
214        <Label_Position>
215                <X>134</X>
216                <Y>32</Y>
217        </Label_Position>
218        <Settings>
219                <Value>
220                        <Path>
221                                <Value>K</Value>
222                        </Path>
223                        <Unit></Unit>
224                        <Indices>
225                                <Value>1</Value>
226                        </Indices>
227                        <Value>0.16</Value>
228                        <Status>4</Status>
229                </Value>
230        </Settings>
231</Block>
232<Block>
233        <Type>Gain</Type>
234        <Id_String>RT_V</Id_String>
235        <X>395</X>
236        <Y>107</Y>
237        <Z>0</Z>
238        <Width>40.6</Width>
239        <Height>39.9</Height>
240        <Label_Position>
241                <X>386</X>
242                <Y>149</Y>
243        </Label_Position>
244        <Settings>
245                <Value>
246                        <Path>
247                                <Value>K</Value>
248                        </Path>
249                        <Unit></Unit>
250                        <Indices>
251                                <Value>1</Value>
252                        </Indices>
253                        <Value>0.734</Value>
254                        <Status>4</Status>
255                </Value>
256        </Settings>
257</Block>
258<Block>
259        <Type>Integrator</Type>
260        <Id_String>integrator</Id_String>
261        <X>491</X>
262        <Y>108</Y>
263        <Z>0</Z>
264        <Width>42.7</Width>
265        <Height>40.6</Height>
266        <Label_Position>
267                <X>474</X>
268                <Y>150</Y>
269        </Label_Position>
270        <Settings>
271                <Value>
272                        <Path>
273                                <Value>Initial_Condition</Value>
274                        </Path>
275                        <Unit></Unit>
276                        <Indices>
277                                <Value>1</Value>
278                        </Indices>
279                        <Value>39.81</Value>
280                        <Status>4</Status>
281                </Value>
282        </Settings>
283</Block>
284<Block>
285        <Type>Substream</Type>
286        <Id_String>p</Id_String>
287        <X>593</X>
288        <Y>110</Y>
289        <Z>0</Z>
290        <Width>42.7</Width>
291        <Height>40.6</Height>
292        <Label_Position>
293                <X>603</X>
294                <Y>100</Y>
295        </Label_Position>
296        <Settings>
297        </Settings>
298</Block>
299<Block>
300        <Type>MultDiv</Type>
301        <Id_String>mult2</Id_String>
302        <X>719</X>
303        <Y>154</Y>
304        <Z>0</Z>
305        <Width>32.9</Width>
306        <Height>33.6</Height>
307        <Label_Position>
308                <X>674</X>
309                <Y>159</Y>
310        </Label_Position>
311        <Settings>
312        </Settings>
313</Block>
314<Block>
315        <Type>SumSub</Type>
316        <Id_String>subt2</Id_String>
317        <X>598</X>
318        <Y>202</Y>
319        <Z>0</Z>
320        <Width>32.9</Width>
321        <Height>33.6</Height>
322        <Label_Position>
323                <X>549</X>
324                <Y>208</Y>
325        </Label_Position>
326        <Settings>
327                <Value>
328                        <Path>
329                                <Value>Select_operation</Value>
330                        </Path>
331                        <Unit></Unit>
332                        <Indices>
333                                <Value>1</Value>
334                        </Indices>
335                        <Value>"Subtraction"</Value>
336                        <Status>4</Status>
337                </Value>
338        </Settings>
339</Block>
340<Block>
341        <Type>Step</Type>
342        <Id_String>p1</Id_String>
343        <X>506</X>
344        <Y>237</Y>
345        <Z>0</Z>
346        <Width>42.7</Width>
347        <Height>40.6</Height>
348        <Label_Position>
349                <X>513</X>
350                <Y>276</Y>
351        </Label_Position>
352        <Settings>
353                <Value>
354                        <Path>
355                                <Value>Start_time</Value>
356                        </Path>
357                        <Unit>'s'</Unit>
358                        <Indices>
359                                <Value>1</Value>
360                        </Indices>
361                        <Value>1</Value>
362                        <Status>4</Status>
363                </Value>
364                <Value>
365                        <Path>
366                                <Value>Initial_Value</Value>
367                        </Path>
368                        <Unit></Unit>
369                        <Indices>
370                                <Value>1</Value>
371                        </Indices>
372                        <Value>14.7</Value>
373                        <Status>4</Status>
374                </Value>
375                <Value>
376                        <Path>
377                                <Value>Final_Value</Value>
378                        </Path>
379                        <Unit></Unit>
380                        <Indices>
381                                <Value>1</Value>
382                        </Indices>
383                        <Value>14.7</Value>
384                        <Status>4</Status>
385                </Value>
386        </Settings>
387</Block>
388<Block>
389        <Type>Math_Fcns</Type>
390        <Id_String>SQRT</Id_String>
391        <X>813</X>
392        <Y>195</Y>
393        <Z>0</Z>
394        <Width>42.7</Width>
395        <Height>40.6</Height>
396        <Label_Position>
397                <X>809</X>
398                <Y>171</Y>
399        </Label_Position>
400        <Settings>
401                <Value>
402                        <Path>
403                                <Value>Select_function</Value>
404                        </Path>
405                        <Unit></Unit>
406                        <Indices>
407                                <Value>1</Value>
408                        </Indices>
409                        <Value>"Nth-Root(x)"</Value>
410                        <Status>4</Status>
411                </Value>
412        </Settings>
413</Block>
414<Line>
415        <Line_Name>S001</Line_Name>
416        <X1>68.7</X1>
417        <Y1>72.3</Y1>
418        <X2>141</X2>
419        <Y2>75.95</Y2>
420        <Block_Source>mi</Block_Source>
421        <Port_Source>Out</Port_Source>
422        <Block_Target>Fan_Gain</Block_Target>
423        <Port_Target>In</Port_Target>
424</Line>
425<Line>
426        <Line_Name>S002</Line_Name>
427        <X1>181.6</X1>
428        <Y1>75.95</Y1>
429        <X2>313.45</X2>
430        <Y2>104</Y2>
431        <Block_Source>Fan_Gain</Block_Source>
432        <Port_Source>Out</Port_Source>
433        <Block_Target>subt1</Block_Target>
434        <Port_Target>In1</Port_Target>
435</Line>
436<Line>
437        <Line_Name>S003</Line_Name>
438        <X1>260.6</X1>
439        <Y1>270.95</Y1>
440        <X2>313.45</X2>
441        <Y2>137.6</Y2>
442        <Block_Source>Valve_Gain</Block_Source>
443        <Port_Source>Out</Port_Source>
444        <Block_Target>subt1</Block_Target>
445        <Port_Target>In2</Port_Target>
446</Line>
447<Line>
448        <Line_Name>S004</Line_Name>
449        <X1>65.7</X1>
450        <Y1>185.3</Y1>
451        <X2>136.45</X2>
452        <Y2>256</Y2>
453        <Block_Source>mo</Block_Source>
454        <Port_Source>Out</Port_Source>
455        <Block_Target>mult1</Block_Target>
456        <Port_Target>In1</Port_Target>
457</Line>
458<Line>
459        <Line_Name>S005</Line_Name>
460        <X1>152.9</X1>
461        <Y1>272.8</Y1>
462        <X2>220</X2>
463        <Y2>270.95</Y2>
464        <Block_Source>mult1</Block_Source>
465        <Port_Source>Out</Port_Source>
466        <Block_Target>Valve_Gain</Block_Target>
467        <Port_Target>In</Port_Target>
468</Line>
469<Line>
470        <Line_Name>S006</Line_Name>
471        <X1>329.9</X1>
472        <Y1>120.8</Y1>
473        <X2>389</X2>
474        <Y2>120.95</Y2>
475        <Block_Source>subt1</Block_Source>
476        <Port_Source>Out</Port_Source>
477        <Block_Target>RT_V</Block_Target>
478        <Port_Target>In</Port_Target>
479</Line>
480<Line>
481        <Line_Name>S007</Line_Name>
482        <X1>429.6</X1>
483        <Y1>120.95</Y1>
484        <X2>485</X2>
485        <Y2>122.3</Y2>
486        <Block_Source>RT_V</Block_Source>
487        <Port_Source>Out</Port_Source>
488        <Block_Target>integrator</Block_Target>
489        <Port_Target>In</Port_Target>
490</Line>
491<Line>
492        <Line_Name>S008</Line_Name>
493        <X1>527.7</X1>
494        <Y1>122.3</Y1>
495        <X2>587</X2>
496        <Y2>122.27</Y2>
497        <Block_Source>integrator</Block_Source>
498        <Port_Source>Out</Port_Source>
499        <Block_Target>p</Block_Target>
500        <Port_Target>In</Port_Target>
501</Line>
502<Line>
503        <Line_Name>S009</Line_Name>
504        <X1>627.565</X1>
505        <Y1>122.27</Y1>
506        <X2>729.45</X2>
507        <Y2>148</Y2>
508        <Block_Source>p</Block_Source>
509        <Port_Source>Out1</Port_Source>
510        <Block_Target>mult2</Block_Target>
511        <Port_Target>In1</Port_Target>
512</Line>
513<Line>
514        <Line_Name>S010</Line_Name>
515        <X1>607.923</X1>
516        <Y1>144.6</Y1>
517        <X2>608.45</X2>
518        <Y2>196</Y2>
519        <Block_Source>p</Block_Source>
520        <Port_Source>Out2</Port_Source>
521        <Block_Target>subt2</Block_Target>
522        <Port_Target>In1</Port_Target>
523</Line>
524<Line>
525        <Line_Name>S011</Line_Name>
526        <X1>542.7</X1>
527        <Y1>251.3</Y1>
528        <X2>608.45</X2>
529        <Y2>229.6</Y2>
530        <Block_Source>p1</Block_Source>
531        <Port_Source>Out</Port_Source>
532        <Block_Target>subt2</Block_Target>
533        <Port_Target>In2</Port_Target>
534</Line>
535<Line>
536        <Line_Name>S012</Line_Name>
537        <X1>624.9</X1>
538        <Y1>212.8</Y1>
539        <X2>729.45</X2>
540        <Y2>181.6</Y2>
541        <Block_Source>subt2</Block_Source>
542        <Port_Source>Out</Port_Source>
543        <Block_Target>mult2</Block_Target>
544        <Port_Target>In2</Port_Target>
545</Line>
546<Line>
547        <Line_Name>S013</Line_Name>
548        <X1>745.9</X1>
549        <Y1>164.8</Y1>
550        <X2>807</X2>
551        <Y2>209.3</Y2>
552        <Block_Source>mult2</Block_Source>
553        <Port_Source>Out</Port_Source>
554        <Block_Target>SQRT</Block_Target>
555        <Port_Target>In</Port_Target>
556</Line>
557<Line>
558        <Line_Name>S014</Line_Name>
559        <X1>849.7</X1>
560        <Y1>209.3</Y1>
561        <X2>136.45</X2>
562        <Y2>289.6</Y2>
563        <Block_Source>SQRT</Block_Source>
564        <Port_Source>Out</Port_Source>
565        <Block_Target>mult1</Block_Target>
566        <Port_Target>In2</Port_Target>
567</Line>
568</Diagram>
Note: See TracBrowser for help on using the repository browser.