<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Billy,<br>
      There seems to be some confusion about these variable names. I
    will try to clarify.<br>
    <br>
    First, As Jeff and Tim correctly point out, variables starting with
    the letters END, INC, EQU, and CON are not recommended because these
    three letter codes are also keywords that the TRNSYS input file
    processor recognizes; it may get confused as to whether it is
    processing an equation or a simulation keyword. The situations are
    considered to be warnings instead of errors because usually the
    input file processor can detect whether there are other letters
    following the three letter that would make for a legal variable
    name.<br>
    <br>
    Second, you are correct that the Studio automatically sets up the
    variable names for you and that it sometimes uses those same
    three-letters codes. However, you can (and probably should) change
    the automatic names manually in TRNEdit. The Studio is a jumping-off
    point for developing TRNSED applications. You will need to do a
    significant amount of modification to your *.trd file in TRNEdit
    anyway to make it look the way you want. The rules of syntax are in
    the 06-TRNEdit manual.<br>
    <br>
    Third, the cause of your error is the following pair of lines in
    your TRNSED input file:<br>
    <br>
    <font color="blue" face="Courier New, Courier, monospace">OFOSCILL=5<br>
       of oscillations permitted             |-|-|0|1|1|99.000|1000<br>
    </font><br>
    It should be something like:<br>
    <br>
    <font color="blue" face="Courier New, Courier, monospace">OFOSCILL=5<br>
      *|Number of oscillations permitted            
      |-|-|0|1|1|99.000|1000</font><br>
    <br>
    The TRNSYS input file processor is trying to parse your equations
    and because there is no asterisk at the beginning of the line, the
    TRNSYS processor does not recognize it as a comment and instead
    tries to read it as an equation.<br>
    <br>
    Best,<br>
     David<br>
    <br>
    <br>
    <br>
    On 3/28/2012 10:19, Timothy McDowell wrote:
    <blockquote
      cite="mid:1332947980.v2.mailanyonewebmail-195398@fuseweb2c"
      type="cite">Billy -<br>
      <br>
      In your lst file you have the following messages:<br>
      <br>
          Generated by Type     : Not applicable or not available<br>
          TRNSYS Message     11 : The TRNSYS processor has reported an
      illegal variable name in an EQUATIONS or CONSTANTS card. 
      Equations or constants must not begin with END, INC, EQU or CON as
      these are protected codes required when reading the TRNSYS input
      file.  The offending variable name is listed below.<br>
          Reported information  : CONTROLF<br>
       <br>
          TRNSYS Message     11 : The TRNSYS processor has reported an
      illegal variable name in an EQUATIONS or CONSTANTS card. 
      Equations or constants must not begin with END, INC, EQU or CON as
      these are protected codes required when reading the TRNSYS input
      file.  The offending variable name is listed below.<br>
          Re! ported information  : CONTROLS<br>
       <br>
          TRNSYS Message     11 : The TRNSYS processor has reported an
      illegal variable name in an EQUATIONS or CONSTANTS card. 
      Equations or constants must not begin with END, INC, EQU or CON as
      these are protected codes required when reading the TRNSYS input
      file.  The offending variable name is listed below.<br>
          Reported information  : CONTROLS1<br>
       <br>
          TRNSYS Message     11 : The TRNSYS processor has reported an
      illegal variable name in an EQUATIONS or CONSTANTS card. 
      Equations or constants must not begin with END, INC, EQU or CON as
      these are protected codes required when reading the TRNSYS input
      file.  The offending variable name is listed below.<br>
          Reported information  : CONTROLS2<br>
       <br>
          TRNSYS Message     11 : The TRNS! YS processor has reported an
      illegal variable name in an EQUATIONS or CONSTANTS card. 
      Equations or constants must not begin with END, INC, EQU or CON as
      these are protected codes required when reading the TRNSYS input
      file.  The offending variable name is listed below.<br>
          Reported information  : CONTROLS3<br>
      <br>
      These variable names must be changed or it will not run.<br>
      <br>
      Tim<br>
      <br>
      <br>
      <br>
      ---------------------------------- <br>
      Timothy McDowell <br>
      Executive Vice President <br>
      Thermal Energy System Specialists, LLC <br>
      22 N. Carroll St, Suite 370 <br>
      Madison, WI 53703 <br>
      Phone: 608-274-2577 <br>
      Fax: 608-278-1475<br>
      <br>
      <br>
      <br>
      <!--replyfwdwrap-->
      <div style="background-image:
url(http://webmail.fusemail.com/de/r_bg_img.gif);background-position:top;background-repeat:repeat-x;"><strong>-----
          Original Message -----</strong><br>
        <strong>From:</strong> "" <a class="moz-txt-link-rfc2396E" href="mailto:coolbilly1999@gmail.com"><coolbilly1999@gmail.com></a> <br>
        <strong>Sent:</strong> Wed, March 28, 2012 9:59<br>
        <strong>S! ubject:</strong> Re: [TRNSYS-users] Problem occurs
        when creating TRNED distributions<br>
        <br>
        <table cellspacing="5" width="100%">
          <tbody>
            <tr>
              <td>
                <div class="PrivateMsgDiv"><!-- begin sanitized html -->
                  <div class="bodyclass">
                    <div dir="ltr">
                      <div style="FONT-FAMILY: 'Calibri'; COLOR:
                        #000000; FONT-SIZE: 12pt">
                        <div>Hi Jeff and David,</div>
                        <div> </div>
                        <div><font face="Times New Roman">Thanks for the
                            advice. But the variable name is from the
                            components’ parameter, I don’t think I can
                            change it. Unfortunately, I still can't
                            locate the fatal error since there is no
                            equation named OF. And I found it acts very
                            weird, because sometime it can run the
                            calculation in TRNED and no error comes up,
                            and sometime this error comes up, especially
                            after I linked the required data files under
                            the same directory.It's kinda random, I have
                            no clue how to solve this problem. So I turn
                            to you for more helps. Please check the
                            attached .trd file and let me know if you
                            need ! more data file. Thanks very much.</font></div>
                        <div> </div>
                        <div><font face="Times New Roman">Best regards,</font></div>
                        <div><font face="Times New Roman">Billy</font></div>
                        <div style="FONT-STYLE: normal; DISPLAY: inline;
                          FONT-FAMILY: 'Calibri'; COLOR: #000000;
                          FONT-SIZE: small; FONT-WEIGHT: normal;
                          TEXT-DECORATION: none">
                          <div style="FONT: 10pt tahoma">
                            <div> </div>
                            <div style="BACKGROUND: #f5f5f5">
                              <div style="font-color: black"><b>From:</b>
                                <a moz-do-not-send="true"
                                  title="thornton@tess-inc.com"
                                  href="mailto:thornton@tess-inc.com"
                                  target="_new">Jeff Thornton</a></div>
                              <div><b>Sent:</b> Monday, March 26, 2012
                                6:53 PM</div>
                              <div><b>To:</b> <a moz-do-not-send="true"
                                  title="coolbilly1999@gmail.com"
                                  href="mailto:coolbilly1999@gmail.com"
                                  target="_new">Billy Chen</a> ; <a
                                  moz-do-not-send="true"
                                  title="trnsys-users@cae.wisc.edu"
                                  href="mailto:trnsys-users@cae.wisc.edu"
                                  target="_new">trnsys-users@cae.wisc.edu</a>
                                ; <a moz-do-not-send="true"
                                  title="d.bradley@tess-inc.com"
                                  href="mailto:d.bradley@tess-inc.com"
                                  target="_new">d.bradley@tess-inc.com</a></div>
                              <div><b>Subject:</b> Re: [TRNSYS-users]
                                Problem occurs when creating TRNED dis!
                                tributions</div>
                            </div>
                          </div>
                          <div> </div>
                        </div>
                        <div style="FONT-STYLE: normal; DISPLAY: inline;
                          FONT-FAMILY: 'Calibri'; COLOR: #000000;
                          FONT-SIZE: small; FONT-WEIGHT: normal;
                          TEXT-DECORATION: none">Billy,<br>
                          <br>
                          You used an illegal variable name.  Equation
                          names cannot start with CON (nor EQU, SIM,
                          etc.).  The TRNSYS processor looks at the
                          first three letters of any line for key words
                          and CON is the the beginning of CONstants.  So
                          your variable named CONTROL is thereby
                          illegal.  <br>
                          <br>
                          On another note, always look for the first
                          error in the list file and not the last error
                          when debugging...<br>
                          <br>
                          Jeff<br>
                          <br>
                          <br>
                          Jeff Thornton <br>
                          President - TESS, LLC <br>
                          <br>
                          22 North Carroll Street - Suite 370<br>
                          Madison WI 53703 USA <br>
                          <br>
                          Phone: 608-274-2577 <br>
                          Fax: 608-278-1475 <br>
                          E-mail: <a class="moz-txt-link-abbreviated" href="mailto:thornton@tess-inc.com">thornton@tess-inc.com</a> <br>
                          Web: <a class="moz-txt-link-abbreviated" href="http://www.tess-inc.com">www.tess-inc.com</a><br>
                          <br>
                          <br>
                          <br>
                          <div style="BACKGROUND-IMAGE:
                            url(http://webmail.fuse!
                            mail.com/de/r_bg_img.gif);
                            BACKGROUND-REPEAT: repeat-x; BACKGROUND-POS
                            ITION: 50% top"><strong>----- Original
                              Message -----</strong><br>
                            <strong>From:</strong> "Billy Chen"
                            <a class="moz-txt-link-rfc2396E" href="mailto:coolbilly1999@gmail.com"><coolbilly1999@gmail.com></a> <br>
                            <strong>Sent:</strong> Mon, March 26, 2012
                            17:39<br>
                            <strong>Subject:</strong> [TRNSYS-users]
                            Problem occurs when creating TRNED
                            distributions<br>
                            <br>
                            <table style="COLOR: #000000"
                              cellspacing="5" width="100%">
                              <tbody>
                                <tr>
                                  <td>
                                    <div class="PrivateMsgDiv">
                                      <div>Hi TRNSYS users,</div>
                                      <div> </div>
                                      <div>I met a problem when I tried
                                        to create a demo using TRNED. I
                                        cannot create the distributable
                                        and the error shown as below:</div>
                                      <div> </div>
                                      <div>*** Fatal Error at time  
                                        :         0.000000<br>
                                            Generated by Unit     : Not
                                        applicable or not available<br>
                                            Generated by Type     : Not
                                        applicable or not available<br!>   
                                          TRNSYS Message     13 : The
                                          TRNSYS Processor has reported
                                          an error while trying to
                                          process EQUATIONS. The
                                          reported error was that an
                                          equal sign (=) did not follow
                                          the variable name. One common
                                          cause of this error is to have
                                          fewer equations that that
                                          specified in the EQUATIONS
                                          card. Please check the input
                                          file and re-run the simulation<br>
                                              Reported information  : OF</br!></div>
                                      <div> </div>
                                      <div>I tried to locate the error
                                        but failed. I wonder if anyone
                                        has such problem before and
                                        please kindly give me some
                                        advice. Please check the
                                        attached LST file and let me
                                        know if more detailed
                                        information is need.</div>
                                      <div> </div>
                                      <div>Thanks very much in advance.</div>
                                      <div> </div>
                                      <div>Regards,</div>
                                      <div> </div>
                                      <div>Billy</div>
                                      <hr noshade="yes" size="1">
                                      <pre>_______________________________________________
TRNSYS-users mailing list
<a moz-do-not-send="true" href="#" target="_new">TRNSYS-users@cae.wisc.edu</a>
<a moz-do-not-send="true" href="https://mailman.cae.wisc.edu/listinfo/trnsys-users" target="_new">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a>
</pre>
                                    </div>
                                  </td>
                                </tr>
                              </tbody>
                            </table>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                  <!-- end sanitized html -->
                  <hr noshade="noshade" size="1">
                  <pre>_______________________________________________
TRNSYS-users mailing list
<a moz-do-not-send="true" href="javascript:bodyCreateMail('TRNSYS-users%40cae.wisc.edu')">TRNSYS-users@cae.wisc.edu</a>
<a moz-do-not-send="true" href="https://mailman.cae.wisc.edu/listinfo/trnsys-users" target="_blank">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a>
</pre>
                </div>
              </td>
            </tr>
          </tbody>
        </table>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@cae.wisc.edu">TRNSYS-users@cae.wisc.edu</a>
<a class="moz-txt-link-freetext" href="https://mailman.cae.wisc.edu/listinfo/trnsys-users">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
22 North Carroll Street - suite 370
Madison, WI  53703 USA

P:+1.608.274.2577
F:+1.608.278.1475
<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>