<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="gmail_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>