<div dir="ltr"><div>Hi Mohamad, <br></div><div><br></div><div>thank you very much for the information. I&#39;ll try to implement it. I just realized that my ESP-r is not very up to date so I don&#39;t seem to have the files of the cellular_PCM example. I would have to talk to the Admin to get the latest ESP-r version, but in the meantime, would it be possible to download the example file directly from the website? I couldn&#39;t find it. <br></div><div><br></div><div>

Also, is T_solid the temperature at which phase-change occurs from liquid to solid when looking at the enthalpy curve for cooling? or the temperature at which phase-change process ends when looking at the melting curve, i.e. the end point of the melting range? <br></div><div><br></div><div>thank you!</div><div><br></div><div>Greetings,</div><div>Juanita <br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Fr., 2. Aug. 2019 um 10:16 Uhr schrieb &lt;<a href="mailto:rida@rhrk.uni-kl.de">rida@rhrk.uni-kl.de</a>&gt;:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="en-DE"><div class="gmail-m_1387432211700412892WordSection1"><p class="MsoNormal"><span lang="EN-GB">Hi Juanita,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-GB">As Achim Clarified, in order to use different PCM model you need different inputs. for example type 55 needs 11 inputs value and should be arranged as below:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-GB">Tmelt, Tsolid,  Conductivity in solid, Conductivity in liquid, Specific heat capacity in solid, Specific heat capacity in liquid, a, b, c, d, e<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-GB">For this type you need the DSC data. In order to get the coefficients a, b, c, d, e, you have to fit in the latent part from your data to the following equation:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">Y=(a+cX+eX^2)/(1+bX+dX^2)                 <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">Y is latent heat and X is temperature latent heat goes from 0% to 100% between Tmelt and Tsolid.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-GB">It is simple to extend the .spm file in your model as Achim described.<u></u><u></u></span></p><ol style="margin-top:0cm" start="1" type="1"><li class="MsoNormal"><span lang="EN-GB">Change the type from 53 to 55<u></u><u></u></span></li><li class="MsoNormal"><span lang="EN-GB">Increase the number of data items to 11<u></u><u></u></span></li><li class="MsoNormal"><span lang="EN-GB">Include the 11 data as mentioned above under #data.<u></u><u></u></span></li></ol><p class="MsoNormal"><span lang="EN-GB">I would also recommend the exemplar cellular_PCM! It was my first direction when I recently used the PCM model.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-GB">Regards,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">Mohamad<u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> <a href="mailto:esp-r-bounces@lists.strath.ac.uk" target="_blank">esp-r-bounces@lists.strath.ac.uk</a> &lt;<a href="mailto:esp-r-bounces@lists.strath.ac.uk" target="_blank">esp-r-bounces@lists.strath.ac.uk</a>&gt; <b>On Behalf Of </b>Juanita Solano Guzmán<br><b>Sent:</b> 01 August 2019 16:17<br><b>To:</b> Achim Geissler &lt;<a href="mailto:achim.geissler@intergga.ch" target="_blank">achim.geissler@intergga.ch</a>&gt;<br><b>Cc:</b> ESP-r List &lt;<a href="mailto:esp-r@lists.strath.ac.uk" target="_blank">esp-r@lists.strath.ac.uk</a>&gt;<br><b>Subject:</b> [esp-r] Re: implementing different PCM models<u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">Hi Achim,<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">thank your for your reply. I think my .miscdb file is a copy of mscomp.db1. <u></u><u></u></p></div><div><p class="MsoNormal">You mean adding an entry by copying and pasting the code corresponding to the models I want into either mscomp.db1 or .db2? <u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Best regards,<u></u><u></u></p></div><div><p class="MsoNormal">Juanita <u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">Am Do., 1. Aug. 2019 um 15:54 Uhr schrieb Achim Geissler &lt;<a href="mailto:achim.geissler@intergga.ch" target="_blank">achim.geissler@intergga.ch</a>&gt;:<u></u><u></u></p></div><blockquote style="border-color:currentcolor currentcolor currentcolor rgb(204,204,204);border-style:none none none solid;border-width:medium medium medium 1pt;padding:0cm 0cm 0cm 6pt;margin-left:4.8pt;margin-right:0cm"><div><p class="MsoNormal">Hi Juanita,<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">your .miscdb file is a model specific db and a copy of mscomp.db2? Anyway, what you write sounds correct. The “official” data bases only have an example entry for type 53. You would need to add an entry for other types or simply extend the .spm file used in the model with the correct sequence of data necessary (see below for examples using 53, 55 and 56). Also, maybe take a look at the cellular_PCM exemplar.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Best<u></u><u></u></p></div><div><p class="MsoNormal">Achim <u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">===<u></u><u></u></p></div><div><div><p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:8.5pt;font-family:&quot;Menlo&quot;,serif;color:black">PCM_t53_fr       # label</span><span style="font-family:&quot;Menlo&quot;,serif"><u></u><u></u></span></p></div><div><p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:8.5pt;font-family:&quot;Menlo&quot;,serif;color:black"># Zone Surf Node Type Opq/Trn</span><span style="font-family:&quot;Menlo&quot;,serif"><u></u><u></u></span></p></div><div><p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:8.5pt;font-family:&quot;Menlo&quot;,serif;color:black">   1   5   4  53   1</span><span style="font-family:&quot;Menlo&quot;,serif"><u></u><u></u></span></p></div><div><p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:8.5pt;font-family:&quot;Menlo&quot;,serif;color:black"># No. of data items.</span><span style="font-family:&quot;Menlo&quot;,serif"><u></u><u></u></span></p></div><div><p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:8.5pt;font-family:&quot;Menlo&quot;,serif;color:black">   7</span><span style="font-family:&quot;Menlo&quot;,serif"><u></u><u></u></span></p></div><div><p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:8.5pt;font-family:&quot;Menlo&quot;,serif;color:black"># Data:</span><span style="font-family:&quot;Menlo&quot;,serif"><u></u><u></u></span></p></div><div><p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:8.5pt;font-family:&quot;Menlo&quot;,serif;color:black">  2.3000E+01  2.0000E+01  0.5000E+00  0.6000E+00  0.2500E+04  0.0000E+00  2.3000E+04</span><span style="font-family:&quot;Menlo&quot;,serif"><u></u><u></u></span></p></div><div><p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:8.5pt;font-family:&quot;Menlo&quot;,serif;color:black"># Node No:  2</span><span style="font-family:&quot;Menlo&quot;,serif"><u></u><u></u></span></p></div><div><p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:8.5pt;font-family:&quot;Menlo&quot;,serif;color:black">PCM_t55_bl       # label</span><span style="font-family:&quot;Menlo&quot;,serif"><u></u><u></u></span></p></div><div><p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:8.5pt;font-family:&quot;Menlo&quot;,serif;color:black"># Zone Surf Node Type Opq/Trn</span><span style="font-family:&quot;Menlo&quot;,serif"><u></u><u></u></span></p></div><div><p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:8.5pt;font-family:&quot;Menlo&quot;,serif;color:black">   1   9   4  55   1</span><span style="font-family:&quot;Menlo&quot;,serif"><u></u><u></u></span></p></div><div><p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:8.5pt;font-family:&quot;Menlo&quot;,serif;color:black"># No. of data items.</span><span style="font-family:&quot;Menlo&quot;,serif"><u></u><u></u></span></p></div><div><p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:8.5pt;font-family:&quot;Menlo&quot;,serif;color:black">  11</span><span style="font-family:&quot;Menlo&quot;,serif"><u></u><u></u></span></p></div><div><p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:8.5pt;font-family:&quot;Menlo&quot;,serif;color:black"># Data:</span><span style="font-family:&quot;Menlo&quot;,serif"><u></u><u></u></span></p></div><div><p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:8.5pt;font-family:&quot;Menlo&quot;,serif;color:black">  0.1800E+02  0.2810E+02  0.4000E+00  0.8000E+00  0.1000E+04  0.5000E+04  -9.467E+01  -7.029E-02  7.117E+00  1.238E-03</span><span style="font-family:&quot;Menlo&quot;,serif"><u></u><u></u></span></p></div><div><p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:8.5pt;font-family:&quot;Menlo&quot;,serif;color:black"> -1.032E-01</span><span style="font-family:&quot;Menlo&quot;,serif"><u></u><u></u></span></p></div><div><p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:8.5pt;font-family:&quot;Menlo&quot;,serif;color:black"># Node No:  3</span><span style="font-family:&quot;Menlo&quot;,serif"><u></u><u></u></span></p></div><div><p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:8.5pt;font-family:&quot;Menlo&quot;,serif;color:black">PCM_t56_br       # label</span><span style="font-family:&quot;Menlo&quot;,serif"><u></u><u></u></span></p></div><div><p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:8.5pt;font-family:&quot;Menlo&quot;,serif;color:black"># Zone Surf Node Type Opq/Trn</span><span style="font-family:&quot;Menlo&quot;,serif"><u></u><u></u></span></p></div><div><p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:8.5pt;font-family:&quot;Menlo&quot;,serif;color:black">   1   8   4  56   1</span><span style="font-family:&quot;Menlo&quot;,serif"><u></u><u></u></span></p></div><div><p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:8.5pt;font-family:&quot;Menlo&quot;,serif;color:black"># No. of data items.</span><span style="font-family:&quot;Menlo&quot;,serif"><u></u><u></u></span></p></div><div><p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:8.5pt;font-family:&quot;Menlo&quot;,serif;color:black">  21</span><span style="font-family:&quot;Menlo&quot;,serif"><u></u><u></u></span></p></div><div><p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:8.5pt;font-family:&quot;Menlo&quot;,serif;color:black"># Data:</span><span style="font-family:&quot;Menlo&quot;,serif"><u></u><u></u></span></p></div><div><p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:8.5pt;font-family:&quot;Menlo&quot;,serif;color:black">  0.1750E+02  0.2250E+02  0.1000E+01  0.2000E+00  0.2000E+00  0.1354E+04  0.1317E+04  0.2514E+05  1.0000E+00 -6.973E-01  </span><span style="font-family:&quot;Menlo&quot;,serif"><u></u><u></u></span></p></div><div><p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:8.5pt;font-family:&quot;Menlo&quot;,serif;color:black"> -9.0519E-02 8.4889E-02 2.0499E-03 -2.342E-03 -3.4758E-01 -9.9162E-01 -9.6004E-02 1.0735E-01 2.3089E-03 -2.8074E-03  </span><span style="font-family:&quot;Menlo&quot;,serif"><u></u><u></u></span></p></div><div><p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:8.5pt;font-family:&quot;Menlo&quot;,serif;color:black"> -1.2793E-02</span><span style="font-family:&quot;Menlo&quot;,serif"><u></u><u></u></span></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><br><br><u></u><u></u></p><blockquote style="margin-top:5pt;margin-bottom:5pt"><div><p class="MsoNormal">On 1 Aug 2019, at 15:24, Juanita Solano Guzmán &lt;<a href="mailto:juanita.solano94@gmail.com" target="_blank">juanita.solano94@gmail.com</a>&gt; wrote:<u></u><u></u></p></div><p class="MsoNormal"><u></u> <u></u></p><div><div><div><p class="MsoNormal">Hello to All, <u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">I have been looking at the different PCM models available for ESP-r and have used number 53, which is already available in the program. In order to integrate a new one (I&#39;m interested in testing 54, 56 and 57) would I have to copy one of the codes into the .miscdb data base? or how could I correctly implement it? In my .miscdb file I only see number 53. I suppose is incorrect to just enter values for &quot;a&quot; and &quot;b&quot; according to model 57, but with the model 53 still selected. <u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Thank you for your help in this and all my previous inquiries. It is very much appreciated.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Best regards,<u></u><u></u></p></div><div><p class="MsoNormal">Juanita <u></u><u></u></p></div></div><p class="MsoNormal">_______________________________________________<br>esp-r mailing list<br><a href="mailto:esp-r@lists.strath.ac.uk" target="_blank">esp-r@lists.strath.ac.uk</a><br><a href="http://lists.strath.ac.uk/mailman/listinfo/esp-r" target="_blank">http://lists.strath.ac.uk/mailman/listinfo/esp-r</a><u></u><u></u></p></div></blockquote></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal"><a href="mailto:achim.geissler@intergga.ch" target="_blank">achim.geissler@intergga.ch</a><u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal"><u></u> <u></u></p></div></div><p class="MsoNormal">_______________________________________________<br>esp-r mailing list<br><a href="mailto:esp-r@lists.strath.ac.uk" target="_blank">esp-r@lists.strath.ac.uk</a><br><a href="http://lists.strath.ac.uk/mailman/listinfo/esp-r" target="_blank">http://lists.strath.ac.uk/mailman/listinfo/esp-r</a><u></u><u></u></p></blockquote></div></div></div></blockquote></div>