<div dir="ltr">
<p class="MsoNormal" style="line-height:11.75pt;margin:0cm 0cm 8pt;font-size:11pt;font-family:Calibri,sans-serif">Hello,</p>
<p class="MsoNormal" style="line-height:11.75pt;margin:0cm 0cm 8pt;font-size:11pt;font-family:Calibri,sans-serif"><b><span style="color:rgb(34,34,34)">I am modeling a 2 stages of air compressors with 2 compressed
air reservoirs (Type164). And I have two questions regarding:</span></b></p><p class="MsoNormal" style="line-height:11.75pt;margin:0cm 0cm 8pt;font-size:11pt;font-family:Calibri,sans-serif"><b><span style="color:rgb(34,34,34)"><br></span></b></p>
<p class="gmail-MsoListParagraph" style="line-height:11.75pt;margin:0cm 0cm 8pt 36pt;font-size:11pt;font-family:Calibri,sans-serif"><b><span style="color:rgb(34,34,34)"><span>1)<span style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:7pt;line-height:normal;font-family:"Times New Roman"">
</span></span></span></b><b><span style="color:rgb(34,34,34)">Initial
pressure of the Reservoir (Type164):<span></span></span></b></p>
<p class="MsoNormal" style="line-height:11.75pt;margin:0cm 0cm 8pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(34,34,34)">If we double click on type 164, we have
access to the parameters, inputs and outputs. In my project, I want to fix the
pressure of the reservoir (Pgas) to 1 bar. So I fixed PMAX=50bar (Para (2)) and
PLEV_INI=0.02 (Input (4)) in order to </span><span style="font-size:9.5pt;font-family:Consolas;color:black">P_INI =
PLEV_INI*PMAX*1E5 equals 1 bar. <span></span></span></p>
<p class="MsoNormal" style="line-height:11.75pt;margin:0cm 0cm 8pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(34,34,34)">When I run the project, and I plot
the result, I have at t=0 PGAS equals to zero (Pression.out). <span></span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;line-height:normal;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(34,34,34)">It’s a bit confusing to initialize the pressure because there is a way_1 t</span><font color="#000000">o fix P_ini (described above) and
another way_2 to set initial output values (in my case, PGAS is OUT(2)). To be
on safe side I put in the FORTRAN code <span>(</span></font><span style="font-size:9.5pt;font-family:Consolas"><font color="#000000">!set initial output value) OUT(2)=P_INI (</font><span style="color:black">And even with this, it does not work)</span></span><span style="color:rgb(34,34,34)">. So
what way to take in order to initialize the pressure? Way 1 or 2 or both?<span></span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;line-height:normal;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(34,34,34)"><span> </span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;line-height:normal;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(34,34,34)">If I modify the FORTRAN (in order
to set the initial output values), should I regenerate the Type164? And then
rebuild new library? Or no need (just save)? If yes can you tell me step by step
the process to rebuild the library, because I did it once not correctly (rebuild the library) and I
damaged all the other types.</span><span style="font-size:9.5pt;font-family:Consolas;color:black"><span></span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;line-height:normal;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9.5pt;font-family:Consolas;color:black"><span> </span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;line-height:normal;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:9.5pt;font-family:Consolas;color:black"><span> </span></span></p>
<p class="gmail-MsoListParagraph" style="line-height:11.75pt;margin:0cm 0cm 8pt 36pt;font-size:11pt;font-family:Calibri,sans-serif"><b><span style="color:rgb(34,34,34)"><span>2)<span style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:7pt;line-height:normal;font-family:"Times New Roman"">
</span></span></span></b><b><span style="color:rgb(34,34,34)">Volume
of the Reservoir (Type164):<span></span></span></b></p>
<p class="MsoNormal" style="line-height:11.75pt;margin:0cm 0cm 8pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(34,34,34)">By default the minimum volume of
the reservoir is 1 m<sup>3</sup>. In order to change the interval (min, max) of
the volume I did the following steps:<span></span></span></p>
<p class="MsoNormal" style="line-height:11.75pt;margin:0cm 0cm 8pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(34,34,34)">Right click on the type </span><span style="font-family:Wingdings;color:rgb(34,34,34)">à</span><span style="color:rgb(34,34,34)"> Proforma </span><span style="font-family:Wingdings;color:rgb(34,34,34)">à</span><span style="color:rgb(34,34,34)"> Variables </span><span style="font-family:Wingdings;color:rgb(34,34,34)">à</span><span style="color:rgb(34,34,34)"> change the min for parameter
3 (VOL). Then click OK and close the Proforma after saving the changes. By
this, the Type 164 is changed in the library also.<span></span></span></p>
<p class="MsoNormal" style="line-height:11.75pt;margin:0cm 0cm 8pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(34,34,34)">Problem: It does not work with the
modified reservoir. In fact I repeated the same project [compressor and a
reservoir (VOL=1 m<sup>3</sup>), where the system worked]. So I guess the steps
to change the VOL interval are not correct.<span></span></span></p>
<p class="MsoNormal" style="line-height:11.75pt;margin:0cm 0cm 8pt;font-size:11pt;font-family:Calibri,sans-serif"><br></p>
<p class="MsoNormal" style="line-height:11.75pt;margin:0cm 0cm 8pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(34,34,34)">Thank you for help</span></p>-- <br><div class="m_-125422055126686995gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><b style="text-indent:0px!important;color:rgb(51,51,51)"><i style="text-indent:0px!important"><font style="text-indent:0px!important"><br><p style="font-size:12.8px;margin-bottom:0.0001pt;color:rgb(34,34,34);font-style:normal;font-weight:normal;background-image:initial;background-color:rgb(253,253,253);background-position:initial;background-repeat:initial"><span lang="FR" style="font-size:12pt;color:black"><font face="times new roman, serif">Ghady DIB</font></span></p><p style="margin-bottom:0.0001pt;color:rgb(34,34,34);font-style:normal;font-weight:normal;background-image:initial;background-color:rgb(253,253,253);background-position:initial;background-repeat:initial"><span lang="FR" style="color:black"><font size="2"><font face="monospace, monospace">Doctorant</font><br></font></span></p><pre cols="72" style="white-space:pre-wrap;color:rgb(34,34,34);font-style:normal;font-weight:normal"><font size="2">Laboratoire CETHIL UMR 5008
Groupe Energétique des Systèmes Thermiques et Frigorifiques (ESTF)
Département Génie Energétique et Environnement
INSA Lyon
France</font></pre><p style="font-size:12.8px;margin-bottom:0.0001pt;color:rgb(34,34,34);font-style:normal;font-weight:normal;background-image:initial;background-color:rgb(253,253,253);background-position:initial;background-repeat:initial"><b style="font-size:12.8px;color:rgb(51,51,51);background-color:rgb(255,255,255)"><i></i></b></p><p style="font-size:12.8px;margin-bottom:0.0001pt;color:rgb(34,34,34);font-style:normal;font-weight:normal;background-image:initial;background-color:rgb(253,253,253);background-position:initial;background-repeat:initial"><b style="font-size:small;color:rgb(51,51,51);background-color:rgb(255,255,255)"><i></i></b></p><p style="margin-bottom:0.0001pt;color:rgb(34,34,34);font-style:normal;font-weight:normal;background-image:initial;background-color:rgb(253,253,253);background-position:initial;background-repeat:initial"><font size="2"><span lang="FR" style="font-family:'times new roman',serif;color:black"><b style="font-family:arial,sans-serif;color:rgb(51,51,51);background-color:rgb(255,255,255)"><i></i></b>Tel:</span><span style="font-family:'times new roman',serif;color:black"><span lang="FR" style="color:rgb(17,85,204)"><a href="tel:%2B%20%2833%29%206%2033%2052%2096%2074" style="color:rgb(17,85,204)" target="_blank">+ (33) 6 33 52 96 74</a></span></span></font></p></font></i></b><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%"></div><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%"></div></div></div></div></div></div>
</div>