<div dir="ltr">Thank you very much guys,<div><br></div><div>I have found  the resources you recommended on the web. I went through them quickly and they look very helpful. Also your instructions about the keywords are great, now I know where to start.</div><div><br></div><div>Really appreciate it.</div><div><br></div><div>Saif,</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 1, 2016 at 3:59 PM, Joe Huang via Equest-users <span dir="ltr"><<a href="mailto:equest-users@lists.onebuilding.org" target="_blank">equest-users@lists.onebuilding.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <p>Chris,</p>
    <p>My intention was not to recommend using macros instead of
      expressions in eQUEST/DOE-2.2, but suggesting that if macros and
      expressions share the same syntax, then the DOE-2.1E manual would
      be a good place for documentation of the (common) syntax. <br>
    </p>
    <p>I've used DOE-2 macros extensively ever since they were developed
      in the early 1980's, and in fact I can't imagine how to manage
      parametric simulations without them. One thing I've noticed
      repeatedly has been that people who are unfamiliar with macros,
      especially those unfamiliar with DOE-2, tend to underestimate what
      macros can do.  For example, I remember a meeting at DOE in the
      early 2000's where someone from another National Lab dismissed
      macros as simply doing "sequential substitution".  However, macros
      (and presumably expressions as well) can import data from external
      files, do arithmetic operations including trigonometry and
      exponentials, as well as Boolean operations.  <br>
    </p>
    <p>In fact, I got so worked up talking about this (kudos to Monty
      Python's killer rabbit scene in "Search for the Holy Grail" 
<a href="https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=monty%20pythom%20holy%20grail%20rabbit%20scene" target="_blank">https://www.google.com/webhp?<wbr>sourceid=chrome-instant&ion=1&<wbr>espv=2&ie=UTF-8#q=monty%<wbr>20pythom%20holy%20grail%<wbr>20rabbit%20scene</a>
      :-) ) that I decided to cut out the section on macros from the
      2.1E Supplement and have attached it with this post.</p><span class="">
    <p>Joe<br>
    </p>
    <pre cols="90">Joe Huang
White Box Technologies, Inc.
346 Rheem Blvd., Suite 205A
Moraga CA 94556
<a href="mailto:yjhuang@whiteboxtechnologies.com" target="_blank">yjhuang@whiteboxtechnologies.<wbr>com</a>
<a href="http://weather.whiteboxtechnologies.com" target="_blank">http://weather.<wbr>whiteboxtechnologies.com</a> for simulation-ready weather data
(o) <a href="tel:%28925%29388-0265" value="+19253880265" target="_blank">(925)388-0265</a>
(c) <a href="tel:%28510%29928-2683" value="+15109282683" target="_blank">(510)928-2683</a>
"building energy simulations at your fingertips"
</pre>
    </span><div><div class="h5"><div>On 9/1/2016 5:32 AM, Chris Jones wrote:<br>
    </div>
    <blockquote type="cite">
      
      
      
      <div>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">eQUEST
            does use DOE-2 macros with the same syntax as DOE2.1e if you
            edit the .inp file directly. The frustrating thing is that
            eQUEST evaluates the macros when you reopen the project and
            strips out the macro definitions leaving the resultant
            value. So it is useless if you hope to use macros for
            parametric runs in the eQUEST interface – at least in the
            tests I have carried out. You can use parametric expressions
            but the statements become much longer and, in my opinion,
            harder to use but that’s likely because I am so used to the
            macro language.<u></u><u></u></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
        <div>
          <p class="MsoNormal"><b><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#1f497d"><u></u> <u></u></span></b></p>
          <p class="MsoNormal"><b><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#1f497d">Christopher
                Jones, P. Eng.<u></u><u></u></span></b></p>
          <p class="MsoNormal"><b><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#1f497d">Rowan
                Williams Davies & Irwin Inc.</span></b><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#1f497d"><br>
              <i>Consulting Engineers & Scientists</i><br>
              901 King Street West, Suite 400, Toronto, Ontario, M5V 3H5<br>
              <b>T:</b> <a href="tel:%28519%29%20823-1311%20ext%202052" value="+15198231311" target="_blank">(519) 823-1311 ext 2052</a> <u></u><u></u></span></p>
          <p class="MsoNormal"><b><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#1f497d">M:</span></b><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#1f497d">
              <a href="tel:%28416%29%20697-0056" value="+14166970056" target="_blank">(416) 697-0056</a>
              <u></u><u></u></span></p>
        </div>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
        <div>
          <div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">
                Equest-users
                [<a href="mailto:equest-users-bounces@lists.onebuilding.org" target="_blank">mailto:equest-users-bounces@<wbr>lists.onebuilding.org</a>]
                <b>On Behalf Of </b>Joe Huang via Equest-users<br>
                <b>Sent:</b> Wednesday, August 31, 2016 10:33 PM<br>
                <b>To:</b> <a href="mailto:equest-users@lists.onebuilding.org" target="_blank">equest-users@lists.<wbr>onebuilding.org</a><br>
                <b>Subject:</b> Re: [Equest-users] DOE 2 Expressions<u></u><u></u></span></p>
          </div>
        </div>
        <p class="MsoNormal"><u></u> <u></u></p>
        <p>People on the eQUEST/DOE-2.2 Development Team can correct me
          if I'm wrong, but IF DOE-2 expressions use the same syntax as
          DOE-2 macros, those are well-explained in the DOE-2
          Supplement, Version 2.1E, by Winkelmann et al. 1993,
          LBL-34947, Lawrence Berkeley National Laboratory, Berkeley CA
          pp. 1.42-1.77 .  You should be able to find a PDF version of
          this document on the Web, since it's included in the DOE-2.1E
          release, but if not, let me know and I'll see whether I could
          put my PDF version online somewhere.<u></u><u></u></p>
        <p>Joe<u></u><u></u></p>
        <pre>Joe Huang<u></u><u></u></pre>
        <pre>White Box Technologies, Inc.<u></u><u></u></pre>
        <pre>346 Rheem Blvd., Suite 205A<u></u><u></u></pre>
        <pre>Moraga CA 94556<u></u><u></u></pre>
        <pre><a href="mailto:yjhuang@whiteboxtechnologies.com" target="_blank">yjhuang@whiteboxtechnologies.<wbr>com</a><u></u><u></u></pre>
        <pre><a href="http://weather.whiteboxtechnologies.com" target="_blank">http://weather.<wbr>whiteboxtechnologies.com</a> for simulation-ready weather data<u></u><u></u></pre>
        <pre>(o) <a href="tel:%28925%29388-0265" value="+19253880265" target="_blank">(925)388-0265</a><u></u><u></u></pre>
        <pre>(c) <a href="tel:%28510%29928-2683" value="+15109282683" target="_blank">(510)928-2683</a><u></u><u></u></pre>
        <pre>"building energy simulations at your fingertips"<u></u><u></u></pre>
        <div>
          <p class="MsoNormal">On 2016/8/31 15:42, Saif A via
            Equest-users wrote:<u></u><u></u></p>
        </div>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <div>
            <p class="MsoNormal">Hi guys, <u></u><u></u></p>
            <div>
              <p class="MsoNormal"><u></u> <u></u></p>
            </div>
            <div>
              <p class="MsoNormal">is there any materials (Books,
                websites, examples) to learn DOE 2 expressions beside
                the "Overview of DOE-2.2".  <u></u><u></u></p>
            </div>
            <div>
              <p class="MsoNormal"><u></u> <u></u></p>
            </div>
            <div>
              <p class="MsoNormal">Thank you,<u></u><u></u></p>
            </div>
            <div>
              <p class="MsoNormal"><u></u> <u></u></p>
            </div>
            <div>
              <p class="MsoNormal">Saif<u></u><u></u></p>
            </div>
          </div>
          <p class="MsoNormal"><br>
            <br>
            <br>
            <u></u><u></u></p>
          <pre>______________________________<wbr>_________________<u></u><u></u></pre>
          <pre>Equest-users mailing list<u></u><u></u></pre>
          <pre><a href="http://lists.onebuilding.org/listinfo.cgi/equest-users-onebuilding.org" target="_blank">http://lists.onebuilding.org/<wbr>listinfo.cgi/equest-users-<wbr>onebuilding.org</a><u></u><u></u></pre>
          <pre>To unsubscribe from this mailing list send  a blank message to <a href="mailto:EQUEST-USERS-UNSUBSCRIBE@ONEBUILDING.ORG" target="_blank">EQUEST-USERS-UNSUBSCRIBE@<wbr>ONEBUILDING.ORG</a><u></u><u></u></pre>
        </blockquote>
        <p class="MsoNormal"><u></u> <u></u></p>
      </div>
      <div style="font-size:7pt">
        <hr>
        RWDI - One of Canada's 50 Best Managed Companies - This
        communication is intended for the sole use of the party to whom
        it was addressed and may contain information that is privileged
        and/or confidential. Any other distribution, copying or
        disclosure is strictly prohibited. If you received this email in
        error, please notify us immediately by replying to this email
        and delete the message without retaining any hard or electronic
        copies of same. Outgoing emails are scanned for viruses, but no
        warranty is made to their absence in this email or attachments.
        If you require any information supplied by RWDI in a different
        format to facilitate accessibility, contact the sender of the
        email, email <a href="mailto:solutions@rwdi.com" target="_blank">solutions@rwdi.com</a> or call <a href="tel:%2B1.519.823.1311" value="+15198231311" target="_blank">+1.519.823.1311</a>.
        <hr>
      </div>
    </blockquote>
    <br>
  </div></div></div>

<br>______________________________<wbr>_________________<br>
Equest-users mailing list<br>
<a href="http://lists.onebuilding.org/listinfo.cgi/equest-users-onebuilding.org" rel="noreferrer" target="_blank">http://lists.onebuilding.org/<wbr>listinfo.cgi/equest-users-<wbr>onebuilding.org</a><br>
To unsubscribe from this mailing list send  a blank message to <a href="mailto:EQUEST-USERS-UNSUBSCRIBE@ONEBUILDING.ORG">EQUEST-USERS-UNSUBSCRIBE@<wbr>ONEBUILDING.ORG</a><br>
<br></blockquote></div><br></div>