<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:"Yu Gothic";
        panose-1:2 11 4 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@Yu Gothic";
        panose-1:2 11 4 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">I have dabbled before, but have never seen this process layed out so clearly, thanks Aaron!***<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">To be fair, I think this degree of local interface customization is going to be a considerable stretch/challenge for the average skilled end-user of eQuest/doe2… but the
<b><i><u>option</u></i></b> for advanced end-users to tweak/modify their platform can be considered a substantial advantage for those valuing control and time-efficiency in their analysis workflows.  <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">When I personally buy a vehicle, I do consider relative mechanical ease of maintenance / repairs as a determining factor.  Even if I reserve the option to take it into the shop later, knowing I have that option is important to me when deciding
 where to invest my resources.  Come to think of it… that’s probably going to be a hurdle for me shifting to an electric car someday =/…<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">In any case – great thread so far!  If any academics or developers are tuning in… This might be difficult to poll, but I’d personally be interested to see a tiered ranking illustrating the degree to which different platforms make it easy/difficult/impossible
 to customize the input/output interfaces provided, for those who are or would aspire to become “power users” pushing the envelope of what the platform can accomplish.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">To Aaron’s closing/leading thoughts around developing the ability to add keywords “on the fly” to individual projects – That’s a pretty exciting notion!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">As an alternative  implementation, the OpenStudio Measures feature-set may be a model to consider.  This could allow for an “a la carte” opportunity to add/remove community-vetted
<b><u>and documented</u></b> custom keywords to your local eQuest installation on a project-by-project basis.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">A similar case would be the “Plugins” featureset of Notepad++. 
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><b><img width="846" height="621" style="width:8.8125in;height:6.4687in" id="Picture_x0020_3" src="cid:image002.png@01D5E584.0796E130"></b><b><o:p></o:p></b></p>
<p class="MsoNormal">A natural extension for such an interface would be to allow the community library to include community vetted
<b><u>and documented</u></b> custom equipment curves, default expressions (which may require adding #PA’s)…
<b><o:p></o:p></b></p>
<p class="MsoNormal"><b><o:p> </o:p></b></p>
<p class="MsoNormal">To get ahead of a certain potential headache, the local “state” of which interface customizations are utilized should be saved with every project… either in the INP/PD2 or in a new file that’s generated/saved when this feature is in use
 (like the PRD for parametrics).  With this recording in place, anytime a project is opened/initialized, a check can be made to ensure the local interface has the same set of features toggled ON, else to throw a caution/warning before saving/simulating. 
<b>I’m hopeful a future build/version of eQuest will consider project-based tracking and checking of doe2.2 vs doe2.3 selection, in this fashion.<o:p></o:p></b></p>
<p class="MsoNormal"><b><o:p> </o:p></b></p>
<p class="MsoNormal">~Nick<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;color:#3A7A46"><img width="624" height="8" style="width:6.5in;height:.0833in" id="Picture_x0020_1" src="cid:image006.jpg@01D5E585.32D8AE90"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-family:"Arial",sans-serif;color:#3A7A46">Nick Caton, P.E., BEMP</span></b><span style="color:#3A7A46"><o:p></o:p></span></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="724" style="width:543.0pt;border-collapse:collapse">
<tbody>
<tr>
<td width="230" valign="top" style="width:172.3pt;padding:0in 0in 0in 0in">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#626469">  Senior Energy Engineer<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:4.5pt"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#626469">  Energy and Sustainability Services</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#1F497D"><br>
</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#626469">  Energy Performance Contracting
</span><span style="font-size:9.0pt;color:#1F497D"><o:p></o:p></span></p>
</td>
<td width="16" valign="top" style="width:11.8pt;padding:0in 0in 0in 0in">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#57B069">D  </span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#1F497D"><br>
</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#57B069">M  </span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#1F497D"><br>
</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#57B069">E  </span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#1F497D"><br>
</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#57B069">  </span><span style="font-size:9.0pt;color:#1F497D">
<o:p></o:p></span></p>
</td>
<td width="275" valign="top" style="width:206.5pt;padding:0in 0in 0in 0in">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#626469">913 . 564 . 6361<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#626469">785 . 410 . 3317<o:p></o:p></span></p>
<p class="MsoNormal"><u><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#626469"><a href="mailto:nicholas.caton@se.com"><span style="font-family:"Calibri",sans-serif;color:#626469">nicholas.caton@se.com</span></a></span></u><span style="font-size:9.0pt;color:#1F497D"><o:p></o:p></span></p>
</td>
<td width="203" valign="top" style="width:152.4pt;padding:0in 0in 0in 0in">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#626469">15200 Santa Fe Trail Drive<br>
Suite 204<br>
Lenexa, KS 66219<br>
<br>
</span><span style="font-size:9.0pt;color:#1F497D"><o:p></o:p></span></p>
</td>
</tr>
<tr style="height:4.0pt">
<td width="724" colspan="4" valign="top" style="width:543.0pt;padding:0in 0in 0in 0in;height:4.0pt">
<p class="MsoNormal" style="mso-line-height-alt:4.0pt"><span style="color:#3A7A46"><img border="0" width="722" height="49" style="width:7.5208in;height:.5104in" id="Picture_x0020_2" src="cid:image003.png@01D5E350.8AAE3860"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Equest-users <equest-users-bounces@lists.onebuilding.org>
<b>On Behalf Of </b>Aaron Powers via Equest-users<br>
<b>Sent:</b> Friday, February 14, 2020 2:51 PM<br>
<b>To:</b> equest-users@lists.onebuilding.org<br>
<b>Subject:</b> [Equest-users] Custom Keywords and BDLKEY file<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">Piggybacking a little off of Bill's post from earlier this week on keyword expressions, I wanted to get people thinking about the possibilities/pros and cons if one is able to add custom keywords and expressions (i.e. in addition to the
 one's packaged with the standard eQuest release).  In my opinion, this is a huge advantage to eQuest/DOE2 in that the interface can be tweaked for individual preferences without changing the underlying calculations.  As an example (and for anyone brave enough
 to try it out, I've attached a modified BDLKEY.BIN and BDLDFT.DAT file which go in your DOE23 folder as well as a modified BDLDialogs file which goes in the ScreensDOE23 folder), this modified BDLKEY file includes an additional numeric keyword for windows
 called WWR(window to wall ratio).  Now assuming that you have no more than one window defined per exterior wall, the BDLDFT file can be edited to include the following expressions:
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">SET-DEFAULT FOR WINDOW<br>
  HEIGHT {SQRT(#L("WWR"))*#P("HEIGHT")}<br>
  WIDTH {SQRT(#L("WWR"))*#P("WIDTH")}<br>
  X {0.5*(#P("WIDTH") -#L("WIDTH" ))}<br>
  Y {0.5*(#P("HEIGHT") -#L("HEIGHT" ))}<br>
..<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Now the size and position of individual windows are controlled by a single parameter, which is bound to each particular window (assuming you allow the 4 parameters above to default).<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><img border="0" width="496" height="347" style="width:5.1666in;height:3.6145in" id="_x0000_i1026" src="cid:image007.png@01D5E585.32D8AE90" alt="image.png"><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">The major downside is that this is no longer complies with the standard release, and one could end up with a nearly infinite number of eQuest flavors depending on modifications to the keyword file.  Sharing files and QCing years after the
 fact could become a nightmare.  A possible solution to this problem would be the ability to add keywords on the fly, the way that global parameters are, which are associated with individual .inp files and not with the program itself.<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><br>
______________________________________________________________________<br>
This email has been scanned by the Symantec Email Security.cloud service.<br>
______________________________________________________________________<o:p></o:p></p>
</div>
</div>
</body>
</html>