<div dir="ltr">Hello again,<div><br></div><div>My problem is: that I defined a P_initial at the reservoir, and when I plot the PGAS in function of time, it start with zero and not with P_initial.</div><div>  <br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 6, 2017 at 4:18 PM, Ghady Dib <span dir="ltr"><<a href="mailto:deebghady@gmail.com" target="_blank">deebghady@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:12pt;font-family:"Trebuchet MS",sans-serif">Dear all,</span><span lang="EN-US" style="font-size:9.5pt;font-family:Arial,sans-serif"><span></span></span></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:12pt;font-family:"Trebuchet MS",sans-serif"> </span><span lang="EN-US" style="font-size:9.5pt;font-family:Arial,sans-serif"><span></span></span></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:12pt;font-family:"Trebuchet MS",sans-serif">I am using
the “Compressed Gas Storage, Type 164, linked with a liquid piston compressor
(a model that I created with FORTRAN).<span></span></span></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:12pt;font-family:"Trebuchet MS",sans-serif"><span> </span></span></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:12pt;font-family:"Trebuchet MS",sans-serif">The
simulation consists of compressing air and store it in the reservoir. The outputs
of the ‘’Type 164’’ are: Volume of gas in the reservoir, Pressure of the gas in
the reservoir, Pressure level and the Vdot_dump.<span></span></span></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:12pt;font-family:"Trebuchet MS",sans-serif"><span> </span></span></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:12pt;font-family:"Trebuchet MS",sans-serif">Initially
the ‘’Type 164’’ perform initial time-step manipulations where the number of
moles initially in the reservoir are calculated after finding the initial
pressure <span></span></span></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:12pt;font-family:"Trebuchet MS",sans-serif">(P_INI =
PLEV_INI (Level of pressure * PMAX * 1E5). And then the PGAS is calculated by calculating the number of moles IN - moles OUT which they are function of VDOT_IN (output of my compressor model)<span></span></span></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:12pt;font-family:"Trebuchet MS",sans-serif"><span> </span></span></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:12pt;font-family:"Trebuchet MS",sans-serif">I want to
begin (at first time step) to compress the air from an inlet pressure (that I
fix, for ex: 10 bars) to an exit pressure (also that I fix) that is equal to
that initial pressure of the reservoir; For that purpose I linked the PGAS
(output of the Type 164) to the exit pressure of my compressor (that is an input
for my model).<span></span></span></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:12pt;font-family:"Trebuchet MS",sans-serif"><span> </span></span></p><p class="MsoNormal" style="margin-bottom:0.0001pt;font-size:12.8px;line-height:normal">





















</p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:12pt;font-family:"Trebuchet MS",sans-serif">It is not
working; (I thought that trnsys will know that at initial time the PGAS =
P_INI and then I have an input for my compressor initially at time0); apparently there is something wrong (Maybe PGAS initially is not taking P_INI into consideration and then  at this stage PGAS can not be calculated because VDOT_IN is not given).</span></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:12pt;font-family:"Trebuchet MS",sans-serif"><br></span></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:12pt;font-family:"Trebuchet MS",sans-serif">I need your help.     <span></span></span></p><div><br></div><div><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US" style="font-size:12pt;font-family:"Trebuchet MS",sans-serif">Thank you
in advance.</span><span style="font-size:9.5pt;font-family:Arial,sans-serif"><span></span></span></p></div><div><br></div>-- <div class="m_5089505671693175268gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><b style="color:rgb(51,51,51);text-indent:0px"><i style="text-indent:0px"><font style="text-indent:0px"><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;font-family:"times new roman",serif;color:black"> </span></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"><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">PhD student</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></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>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><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"><font size="3" style="font-size:medium"><span style="font-size:13px;font-style:normal;font-weight:normal"><font><b><i><span style="font-style:normal;font-weight:normal"><b style="text-indent:0px!important"><i style="text-indent:0px!important"><font style="text-indent:0px!important" size="3"><br><br><br></font></i></b></span></i></b></font></span></font><p style="font-size:12.8px;margin-bottom:0.0001pt;color:rgb(34,34,34);font-style:normal;font-weight:normal"><span lang="FR" style="font-size:12pt;font-family:"times new roman",serif"> </span></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"><span lang="FR" style="font-size:12pt;font-family:"times new roman",serif;color:black"> </span></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"><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>
</div>