<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>the FMU is 32-bit and does not work with the 64-bit version of
      Trnsys18. A 32-bit version of Trnsys is available. You can contact
      your distributor if you want to explore that option.</p>
    <p>kind regards,</p>
    <p> David</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 2/2/2023 12:44 PM, Amirreza Heidari
      via TRNSYS-users wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAMtrc5SeMB7e=K1hRKJMj+QKQfZxSKG+8a2-BMzehS_Z31viaw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div class="gmail_default" style="color:rgb(11,83,148)"><font
            face="times new roman, serif"><span style="font-size:large">Hello,</span><br
              clear="all">
          </font></div>
        <div class="gmail_default" style="color:rgb(11,83,148)"><span
            style="font-size:large"><font face="times new roman, serif">Thanks
              for your reply. I installed Python32bit on my 64bit system
              and tried to install pyfmi library but I got several
              errors that could not be solved at the end. By the way, my
              TRNSYS version is 18, does the FMU tool work with the 18
              version? If not, would you please let me know if there is
              any alternative way to speed up the co-simulation between
              Python and TRNSYS?</font></span></div>
        <div class="gmail_default" style="color:rgb(11,83,148)"><span
            style="font-size:large"><font face="times new roman, serif">Thank
              you</font></span></div>
        <div>
          <div dir="ltr" class="gmail_signature"
            data-smartmail="gmail_signature">
            <div dir="ltr">
              <div>
                <div dir="ltr">
                  <div>
                    <div dir="ltr">
                      <div>
                        <div dir="ltr">
                          <div>
                            <div dir="ltr">
                              <div>
                                <div dir="ltr">
                                  <div>
                                    <div dir="ltr">
                                      <div dir="ltr">
                                        <div>
                                          <div style="text-align:right">
                                            <div style="text-align:left"><br>
                                            </div>
                                            <div style="text-align:left"><b><font
                                                  color="#0000ff"><font
                                                    size="1">           
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
                                                              </font></font></b><br>
                                            </div>
                                            <br>
                                          </div>
                                          <font color="#0000ff"><font
                                              size="1"><br>
                                            </font></font></div>
                                        <div><font color="#0000ff"><font
                                              size="1"><br>
                                            </font></font>
                                          <div>
                                            <div><font color="#0000ff"><font
                                                  size="1"><br>
                                                </font></font></div>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <br>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Thu, Feb 2, 2023 at 9:47 AM
          Widl Edmund via TRNSYS-users <<a
            href="mailto:trnsys-users@lists.onebuilding.org"
            moz-do-not-send="true" class="moz-txt-link-freetext">trnsys-users@lists.onebuilding.org</a>>
          wrote:<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 class="msg847451618903493332">
            <div style="overflow-wrap: break-word;" lang="EN-US">
              <div class="m_847451618903493332WordSection1">
                <p class="MsoNormal">Hi,</p>
                <p class="MsoNormal"> </p>
                <p class="MsoNormal">The generated FMU should work on
                  Windows 10 without problems.
                </p>
                <p class="MsoNormal"> </p>
                <p class="MsoNormal">Most likely the issue is the
                  compatibility of the generated FMU with the Python
                  version you are using. Because TRNSYS 17 is a 32-bit
                  application, the FMU’s binary is also a 32-bit. For
                  this reason, you will also have to use a 32-bit
                  version of Python, otherwise the FMU import will not
                  work.</p>
                <p class="MsoNormal"> </p>
                <p class="MsoNormal">I am not sure if there is a pyfmi
                  version available for 32-bit Python. An alternative
                  would be to use an older release of Python (version
                  3.6) and package fmipp (version 1.4, see [1]) for
                  importing and handling the FMU.</p>
                <p class="MsoNormal"> </p>
                <p class="MsoNormal">Best regards,</p>
                <p class="MsoNormal">Edmund</p>
                <p class="MsoNormal"> </p>
                <p class="MsoNormal">[1] <a
                    href="https://pypi.org/project/fmipp/1.4/"
                    target="_blank" moz-do-not-send="true"
                    class="moz-txt-link-freetext">https://pypi.org/project/fmipp/1.4/</a></p>
                <p class="MsoNormal"> </p>
                <div
style="border-right:none;border-bottom:none;border-left:none;border-top:1pt
                  solid rgb(225,225,225);padding:3pt 0cm 0cm">
                  <p class="MsoNormal"><b>From:</b> TRNSYS-users <<a
href="mailto:trnsys-users-bounces@lists.onebuilding.org" target="_blank"
                      moz-do-not-send="true"
                      class="moz-txt-link-freetext">trnsys-users-bounces@lists.onebuilding.org</a>>
                    <b>On Behalf Of </b>Amirreza Heidari via
                    TRNSYS-users<br>
                    <b>Sent:</b> Mittwoch, 1. Februar 2023 19:33<br>
                    <b>To:</b> TRNSYS users mailing list at
                    OneBuilding.org <<a
                      href="mailto:TRNSYS-users@lists.onebuilding.org"
                      target="_blank" moz-do-not-send="true"
                      class="moz-txt-link-freetext">TRNSYS-users@lists.onebuilding.org</a>><br>
                    <b>Cc:</b> Amirreza Heidari <<a
                      href="mailto:amirrezaheidarysbu@gmail.com"
                      target="_blank" moz-do-not-send="true"
                      class="moz-txt-link-freetext">amirrezaheidarysbu@gmail.com</a>><br>
                    <b>Subject:</b> [TRNSYS-users] TRNSYS FMU issue</p>
                </div>
                <p class="MsoNormal"> </p>
                <div>
                  <div>
                    <p class="MsoNormal"><span
                        style="font-size:13.5pt;font-family:Georgia,serif;color:rgb(11,83,148)">Hello,</span><span
style="font-family:Georgia,serif;color:rgb(11,83,148)"></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span
                        style="font-family:Georgia,serif;color:rgb(11,83,148)"> </span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span
                        style="font-size:13.5pt;font-family:Georgia,serif;color:rgb(11,83,148)">I
                        have exported an FMU file from my TRNSYS model
                        to be used in Python with pyfmi library. When I
                        want to import it in the Python code I get the
                        error "<i>The FMU could not be loaded. Error
                          loading the binary". </i>In the documentation
                        of FMU generator it is written that it is
                        compatible with windows 7. Does this error mean
                        that this tool does not work with windows 10? Is
                        there any other alternative to make FMU from
                        TRNSYS model? </span><span
                        style="font-family:Georgia,serif;color:rgb(11,83,148)"></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span
                        style="font-family:Georgia,serif;color:rgb(11,83,148)"> </span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span
                        style="font-size:13.5pt;font-family:Georgia,serif;color:rgb(11,83,148)">Alternatively,
                        is three any other method to speedup the TRNSYS
                        co-simulation from Python? At the moment I am
                        using subprocess to overwrite .back file, which
                        is extremely slow. </span><span
                        style="font-family:Georgia,serif;color:rgb(11,83,148)"></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span
                        style="font-family:Georgia,serif;color:rgb(11,83,148)"> </span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span
                        style="font-size:13.5pt;font-family:Georgia,serif;color:rgb(11,83,148)">Regards</span><span
style="font-family:Georgia,serif;color:rgb(11,83,148)"></span></p>
                  </div>
                  <div>
                    <div>
                      <div>
                        <div>
                          <div>
                            <div>
                              <div>
                                <div>
                                  <div>
                                    <div>
                                      <div>
                                        <div>
                                          <div>
                                            <div>
                                              <div>
                                                <div>
                                                  <div>
                                                    <p class="MsoNormal"> </p>
                                                  </div>
                                                  <div>
                                                    <div>
                                                      <div>
                                                        <p
                                                          class="MsoNormal"> </p>
                                                      </div>
                                                    </div>
                                                  </div>
                                                </div>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
            _______________________________________________<br>
            TRNSYS-users mailing list<br>
            <a href="mailto:TRNSYS-users@lists.onebuilding.org"
              target="_blank" moz-do-not-send="true"
              class="moz-txt-link-freetext">TRNSYS-users@lists.onebuilding.org</a><br>
            <a
href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org"
              rel="noreferrer" target="_blank" moz-do-not-send="true"
              class="moz-txt-link-freetext">http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</a><br>
          </div>
        </blockquote>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@lists.onebuilding.org">TRNSYS-users@lists.onebuilding.org</a>
<a class="moz-txt-link-freetext" href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org">http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
***************************
David BRADLEY
Principal
Thermal Energy System Specialists, LLC
3 North Pinckney Street - suite 202
Madison, WI  53703 USA

P:+1.608.274.2577
<a class="moz-txt-link-abbreviated" href="mailto:d.bradley@tess-inc.com">d.bradley@tess-inc.com</a>

<a class="moz-txt-link-freetext" href="http://www.tess-inc.com">http://www.tess-inc.com</a>
<a class="moz-txt-link-freetext" href="http://www.trnsys.com">http://www.trnsys.com</a></pre>
  </body>
</html>