Thanks Brian-<br><br>aaahhh...I guess DOE2 doesn't read strings without using the 'SymIndex' keyword and for some reason eQuest only reads the "LIGHTING-SCHEDUL" keyword not "LIGHTING-SCHEDULE".<br>
<br>Thanks again for your help.<br><br>Steve<br><br><div class="gmail_quote">On Fri, May 23, 2008 at 2:21 PM, Brian Fountain <<a href="mailto:bfountain@greensim.com">bfountain@greensim.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
try this:<br>
<br>
  PEOPLE-SCHEDULE  =<br>
{if (#PA("Schedules") == "Title24")<br>
                       then #SI("T24 DAYTIME OCC","SPACE","PEOPLE-SCHEDULE")<br>
                       else #SI("Rink Occ Sch","SPACE","PEOPLE-SCHEDULE")<br>
                      endif}<br>
<br>
Steve Mignogna wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">
All-<br>
<br>
I'm looking to use "if statements" within DOE2.  For example, I'm trying to input a specific LPD based on the type of lighting schedule that is specified.  Ideally, I would like to couple multiple if statements together but I can't even get this one to work:<br>

<br>
{if(#L("LIGHTING-SCHEDULE")=Classroom InstLt Sch)<br>
then 1.2<br>
else 0<br>
endif}<br>
<br>
Any ideas on how this could work?<br>
<br>
Thanks,<br>
<br>
-- <br>
Steve Mignogna<br>
Atelier Ten<br></div></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Bldg-sim mailing list<br>
<a href="http://lists.onebuilding.org/listinfo.cgi/bldg-sim-onebuilding.org" target="_blank">http://lists.onebuilding.org/listinfo.cgi/bldg-sim-onebuilding.org</a><br>
To unsubscribe from this mailing list send  a blank message to <a href="mailto:BLDG-SIM-UNSUBSCRIBE@ONEBUILDING.ORG" target="_blank">BLDG-SIM-UNSUBSCRIBE@ONEBUILDING.ORG</a><br>
  ------------------------------------------------------------------------<br>
<br>
No virus found in this incoming message.<br>
Checked by AVG. Version: 7.5.524 / Virus Database: 269.24.0/1462 - Release Date: 5/23/2008 7:20 AM<br>
  <br>
</blockquote>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Steve Mignogna<br>Atelier Ten