[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: constant card: how can I do in iisibat?



Excuse me sir, but I would like to inform you that you have been using a
user list for your mail exchange with this person "Laurent" for the last few
days, which means that some 100 or more people are each time wasting some
seconds or minutes opening, reading and then trashing your mail. Thank you
for beeing more carefull whom you send your mails to.
Pierre

>Laurent,
>
>I am sorry, I did not understand that this was your problem.
>Once a variable is declared in a block of equations (on the "intermediate
>and outputs" side), you can use it in the deck without using explicitly
>IISiBat links.
>All you have to do is change the "units/type" of the parameter to "String"
>and type in the name of the variable you wish to use for a parameter (last
>choice of the drop-down menu).
>Please note that the equation block must be written to the deck file BEFORE
>the type in which you want to use it, otherwise you will get an
>"UNRECOGNIZED VARIABLE NAME OR BAD DATA CARD" error.
>You can check this in "Control Cards / Component order"
>
>Michaël
>  -----Original Message-----
>  From: owner-trnsys@relay.doit.wisc.edu
>[mailto:owner-trnsys@relay.doit.wisc.edu]On Behalf Of Laurent Serres
>  Sent: Monday, April 08, 2002 03:48
>  To: trnsys@relay.doit.wisc.edu
>  Subject: Re: constant card: how can I do in iisibat?
>
>
>  Michael,
>  OK to do that when you write the deck file. But is it possible to write
>the same  deck with iisibat ?
>  It' s easy for the input (the output of "equation" statement is the input
>of an other unit).
>  But for parameters? Can I obtain something like:
>
>  Parameters 3
>  1.0   MyPar   2.0
>
>  Regards
>  Laurent
>    ----- Original Message -----
>    From: Michael Kummert (SEL)
>    To: trnsys@relay.doit.wisc.edu
>    Sent: Friday, April 05, 2002 5:56 PM
>    Subject: RE: constant card: how can I do in iisibat?
>
>
>    Laurent,
>
>    Equations can be used as parameters. You can also use them as initial
>value for inputs or derivatives.
>    However, you should only use equations that give a constant value to do
>this, e.g:
>
>    Equations 1
>    MyPar=1.0
>
>    Unit 1 Type xxx
>
>    Parameters 3
>    1.0   MyPar   2.0
>
>    Inputs 2
>    1,1 1,2
>    0.0 MyPar
>
>    Derivatives 2
>    10.0 MyPar
>
>
>    Please note that If you use equations that vary with time or that
>include Types outputs as a parameter, the equation will be evaluated only
>once and you might get unexpected results.
>
>
>    Michael
>
>      -----Original Message-----
>      From: owner-trnsys@relay.doit.wisc.edu
>[mailto:owner-trnsys@relay.doit.wisc.edu]On Behalf Of Laurent Serres
>      Sent: Friday, April 05, 2002 01:55
>      To: trnsys@relay.doit.wisc.edu
>      Subject: Re: constant card: how can I do in iisibat?
>
>
>      Michael,
>
>      with "constant" statement, if I define a constant, I can use it in
>parameters of several types.
>      Can I do the same thing with "equation" statement?
>
>      Regards,
>
>      Laurent Serres.
>
>
>        ----- Original Message -----
>        From: Michael Kummert (SEL)
>        To: trnsys@relay.doit.wisc.edu
>        Sent: Thursday, April 04, 2002 5:48 PM
>        Subject: RE: constant card: how can I do in iisibat?
>
>
>        Laurent,
>
>        The "Equation" statement is more flexible than the "Constants"
>statement but gives the same result if you restrict the expression to the
>right of the equal sign to a constant.
>        So you can use the IISiBat "Assembly / Insert New Equation" command
>to introduce constant expressions in your deck files.
>
>        If you really want to use the "Constant" statement, you can add it
>to the "Simulation cards" edit box in IISiBat Control cards (the place which
>usually includes the "VERSION 15" line).
>
>        Regards,
>
>        Michael Kummert
>
>          -----Original Message-----
>          From: owner-trnsys@relay.doit.wisc.edu
>[mailto:owner-trnsys@relay.doit.wisc.edu]On Behalf Of Laurent Serres
>          Sent: Thursday, April 04, 2002 09:09
>          To: trnsys@relay.doit.wisc.edu
>          Subject: constant card: how can I do in iisibat?
>
>
>          Dear TRNSYS users,
>
>          I'm trying to obtain the same result with iisibat that I obtained
>with CONSTANTS card in TRNSYS. I don't find in the help.
>          How can I do?
>
>          Thanks a lot.
>          regards.
>
>          SERRES Laurent
>          IUT Génie Civil
>          3, Rue du Clos Courtel
>          BP 90422
>          35704 RENNES CEDEX 7
>          FRANCE
>          Tel: (33) 2 23 23 42 02
>
>          Fax: (33) 2 23 23 40 51
>
>          e-mail: laurent.serres@univ-rennes1.fr
>
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
><HTML xmlns:o = "urn:schemas-microsoft-com:office:office"><HEAD>
><META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
><META content="MSHTML 6.00.2715.400" name=GENERATOR>
><STYLE></STYLE>
></HEAD>
><BODY bgColor=#ffffff>
><DIV>
><DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
>size=2></FONT></DIV><SPAN class=515494613-09042002><FONT face=Arial 
>color=#0000ff size=2>Laurent,</FONT></SPAN></DIV>
><DIV><SPAN class=515494613-09042002><FONT face=Arial color=#0000ff 
>size=2></FONT></SPAN>&nbsp;</DIV>
><DIV><SPAN class=515494613-09042002><FONT face=Arial color=#0000ff size=2>I am 
>sorry, I did not understand that this was your problem.</FONT></SPAN></DIV>
><DIV><SPAN class=515494613-09042002><FONT face=Arial color=#0000ff
size=2>Once a 
>variable is declared in a block of equations (on the "intermediate and
outputs" 
>side), you can use it in the deck without using explicitly IISiBat links. 
></FONT></SPAN></DIV>
><DIV><SPAN class=515494613-09042002><FONT face=Arial color=#0000ff size=2>All 
>you have to do is change the "units/type" of the parameter to "String" and
type 
>in the name of the variable you wish to use for a parameter (last choice of
the 
>drop-down menu). </FONT></SPAN></DIV>
><DIV><SPAN class=515494613-09042002><FONT face=Arial color=#0000ff
size=2>Please 
>note that the equation block must be written to the deck file BEFORE the
type in 
>which you want to use it, otherwise you will get an "<FONT size=2>UNRECOGNIZED 
>VARIABLE NAME OR BAD DATA CARD" error</FONT>. </FONT></SPAN></DIV>
><DIV><SPAN class=515494613-09042002><FONT face=Arial color=#0000ff size=2>You 
>can check this in "Control Cards / Component order"</FONT></SPAN></DIV>
><DIV><SPAN class=515494613-09042002><FONT face=Arial color=#0000ff 
>size=2></FONT></SPAN>&nbsp;</DIV>
><DIV><SPAN class=515494613-09042002><FONT face=Arial color=#0000ff 
>size=2>Michaël</FONT></SPAN></DIV>
><BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
>  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
>  size=2>-----Original Message-----<BR><B>From:</B> 
>  owner-trnsys@relay.doit.wisc.edu 
>  [mailto:owner-trnsys@relay.doit.wisc.edu]<B>On Behalf Of </B>Laurent 
>  Serres<BR><B>Sent:</B> Monday, April 08, 2002 03:48<BR><B>To:</B> 
>  trnsys@relay.doit.wisc.edu<BR><B>Subject:</B> Re: constant card: how can
I do 
>  in iisibat?<BR><BR></FONT></DIV>
>  <DIV><FONT face=Arial size=2>Michael,</FONT></DIV>
>  <DIV><FONT face=Arial size=2>OK to do that when you write the deck file. But 
>  is it possible to write the same&nbsp; deck with iisibat ?</FONT></DIV>
>  <DIV><FONT face=Arial size=2>It' s easy for the input (the output of 
>  "equation" statement is the input of an other unit).</FONT></DIV>
>  <DIV><FONT face=Arial size=2>But for parameters? Can I obtain something 
>  like:</FONT></DIV>
>  <DIV>&nbsp;</DIV>
>  <DIV><FONT face=Arial size=2>
>  <DIV><SPAN class=878343815-05042002><FONT face="Courier New"
size=2>Parameters 
>  3</FONT></SPAN></DIV>
>  <DIV><SPAN class=878343815-05042002><FONT face="Courier New" 
>  size=2>1.0&nbsp;&nbsp; MyPar&nbsp;&nbsp; 2.0</FONT></SPAN></DIV>
>  <DIV><SPAN class=878343815-05042002><FONT face="Courier New" 
>  size=2></FONT></SPAN></FONT>&nbsp;</DIV></DIV>
>  <DIV><FONT face=Arial size=2>Regards </FONT></DIV>
>  <DIV><FONT face=Arial size=2>Laurent</FONT></DIV>
>  <BLOCKQUOTE dir=ltr 
>  style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px;
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
>    <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
>    <DIV 
>    style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color:
black"><B>From:</B> 
>    <A title=kummert@sel.me.wisc.edu 
>    href="mailto:kummert@sel.me.wisc.edu";>Michael Kummert (SEL)</A> </DIV>
>    <DIV style="FONT: 10pt arial"><B>To:</B> <A
title=trnsys@relay.doit.wisc.edu 
>    href="mailto:trnsys@relay.doit.wisc.edu";>trnsys@relay.doit.wisc.edu</A> 
>    </DIV>
>    <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, April 05, 2002 5:56 
>    PM</DIV>
>    <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: constant card: how can I 
>    do in iisibat?</DIV>
>    <DIV><BR></DIV>
>    <DIV><SPAN class=878343815-05042002><FONT face=Arial color=#0000ff 
>    size=2>Laurent,</FONT></SPAN></DIV>
>    <DIV><SPAN class=878343815-05042002><FONT face=Arial color=#0000ff 
>    size=2></FONT></SPAN>&nbsp;</DIV>
>    <DIV><SPAN class=878343815-05042002><FONT face=Arial color=#0000ff 
>    size=2>Equations&nbsp;can be used as parameters. You can also use them as 
>    initial value for inputs or derivatives.</FONT></SPAN></DIV>
>    <DIV><SPAN class=878343815-05042002><FONT face=Arial color=#0000ff 
>    size=2>However, you should&nbsp;only use equations that give a constant 
>    value to do this, e.g:</FONT></SPAN></DIV>
>    <DIV><SPAN class=878343815-05042002><FONT face=Arial color=#0000ff 
>    size=2></FONT></SPAN>&nbsp;</DIV>
>    <DIV><SPAN class=878343815-05042002><FONT face="Courier New" 
>    size=2>Equations 1</FONT></SPAN></DIV>
>    <DIV><SPAN class=878343815-05042002><FONT face="Courier New" 
>    size=2>MyPar=1.0</FONT></SPAN></DIV>
>    <DIV><SPAN class=878343815-05042002><FONT face="Courier New" 
>    size=2></FONT></SPAN>&nbsp;</DIV>
>    <DIV><SPAN class=878343815-05042002><FONT face="Courier New" size=2>Unit 1 
>    Type xxx</FONT></SPAN></DIV>
>    <DIV><SPAN class=878343815-05042002><FONT face="Courier New" 
>    size=2></FONT></SPAN>&nbsp;</DIV>
>    <DIV><SPAN class=878343815-05042002><FONT face="Courier New" 
>    size=2>Parameters 3</FONT></SPAN></DIV>
>    <DIV><SPAN class=878343815-05042002><FONT face="Courier New" 
>    size=2>1.0&nbsp;&nbsp; MyPar&nbsp;&nbsp; 2.0</FONT></SPAN></DIV>
>    <DIV><SPAN class=878343815-05042002><FONT face="Courier New" 
>    size=2></FONT></SPAN>&nbsp;</DIV>
>    <DIV><SPAN class=878343815-05042002><FONT face="Courier New" size=2>Inputs 
>    2</FONT></SPAN></DIV>
>    <DIV><SPAN class=878343815-05042002><FONT face="Courier New" 
>    size=2>1,1&nbsp;1,2</FONT></SPAN></DIV>
>    <DIV><SPAN class=878343815-05042002><FONT face="Courier New" size=2>0.0 
>    MyPar</FONT></SPAN></DIV>
>    <DIV><SPAN class=878343815-05042002><FONT face="Courier New" 
>    size=2></FONT></SPAN>&nbsp;</DIV>
>    <DIV><SPAN class=878343815-05042002><FONT face="Courier New" 
>    size=2>Derivatives 2</FONT></SPAN></DIV>
>    <DIV><SPAN class=878343815-05042002><FONT face="Courier New" size=2>10.0 
>    MyPar</FONT></SPAN></DIV>
>    <DIV><SPAN class=878343815-05042002><FONT face=Arial color=#0000ff 
>    size=2></FONT></SPAN>&nbsp;</DIV>
>    <DIV><SPAN class=878343815-05042002><FONT face=Arial color=#0000ff 
>    size=2></FONT></SPAN>&nbsp;</DIV>
>    <DIV><SPAN class=878343815-05042002><FONT face=Arial color=#0000ff 
>    size=2>Please note that If you use equations that vary with time or that 
>    include Types outputs as a parameter,&nbsp;the equation will be evaluated 
>    only once&nbsp;and you might get unexpected results.</FONT></SPAN></DIV>
>    <DIV><SPAN class=878343815-05042002></SPAN><SPAN 
>    class=878343815-05042002><FONT face=Arial color=#0000ff 
>    size=2></FONT></SPAN>&nbsp;</DIV>
>    <DIV><SPAN class=878343815-05042002><FONT face=Arial color=#0000ff 
>    size=2></FONT></SPAN>&nbsp;</DIV>
>    <DIV><SPAN class=878343815-05042002><FONT face=Arial color=#0000ff 
>    size=2>Michael</FONT></SPAN></DIV>
>    <DIV><SPAN class=878343815-05042002><FONT face=Arial color=#0000ff 
>    size=2></FONT></SPAN>&nbsp;</DIV>
>    <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
>      <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
>      size=2>-----Original Message-----<BR><B>From:</B> 
>      owner-trnsys@relay.doit.wisc.edu 
>      [mailto:owner-trnsys@relay.doit.wisc.edu]<B>On Behalf Of </B>Laurent 
>      Serres<BR><B>Sent:</B> Friday, April 05, 2002 01:55<BR><B>To:</B> 
>      trnsys@relay.doit.wisc.edu<BR><B>Subject:</B> Re: constant card: how
can I 
>      do in iisibat?<BR><BR></FONT></DIV>
>      <DIV><FONT face=Arial size=2>Michael,</FONT></DIV>
>      <DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
>      <DIV><FONT face=Arial size=2>with "constant" statement, if I define a 
>      constant, I can use it&nbsp;in parameters&nbsp;of several 
>      types.</FONT></DIV>
>      <DIV><FONT face=Arial size=2>Can I do the same thing with "equation" 
>      statement?</FONT></DIV>
>      <DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
>      <DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
>      <DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
>      <DIV><FONT face=Arial size=2>Laurent Serres.</FONT></DIV>
>      <DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
>      <DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
>      <BLOCKQUOTE dir=ltr 
>      style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px;
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
>        <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
>        <DIV 
>        style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color:
black"><B>From:</B> 
>        <A title=kummert@sel.me.wisc.edu 
>        href="mailto:kummert@sel.me.wisc.edu";>Michael Kummert (SEL)</A> </DIV>
>        <DIV style="FONT: 10pt arial"><B>To:</B> <A 
>        title=trnsys@relay.doit.wisc.edu 
>
href="mailto:trnsys@relay.doit.wisc.edu";>trnsys@relay.doit.wisc.edu</A> 
>        </DIV>
>        <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, April 04, 2002
5:48 
>        PM</DIV>
>        <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: constant card:
how can 
>        I do in iisibat?</DIV>
>        <DIV><BR></DIV>
>        <DIV><SPAN class=378073415-04042002><FONT face=Arial color=#0000ff 
>        size=2>Laurent,</FONT></SPAN></DIV>
>        <DIV><SPAN class=378073415-04042002><FONT face=Arial color=#0000ff 
>        size=2></FONT></SPAN>&nbsp;</DIV>
>        <DIV><SPAN class=378073415-04042002><FONT face=Arial color=#0000ff 
>        size=2>The "Equation" statement is more flexible than the "Constants" 
>        statement&nbsp;but gives the same result if you restrict the
expression 
>        to the right of the equal sign to a 
>        constant.&nbsp;&nbsp;</FONT></SPAN></DIV>
>        <DIV><SPAN class=378073415-04042002><FONT face=Arial color=#0000ff 
>        size=2><SPAN class=378073415-04042002><FONT face=Arial color=#0000ff 
>        size=2>So you can use the IISiBat "Assembly / Insert New 
>        Equation"&nbsp;command to introduce constant expressions in your deck 
>        files.</FONT></SPAN></FONT></SPAN></DIV>
>        <DIV><SPAN class=378073415-04042002><FONT face=Arial color=#0000ff 
>        size=2><SPAN class=378073415-04042002></SPAN></FONT></SPAN>&nbsp;</DIV>
>        <DIV><SPAN class=378073415-04042002><FONT face=Arial color=#0000ff 
>        size=2><SPAN class=378073415-04042002>If you really want to use the 
>        "Constant" statement, you can add it to the "Simulation cards" edit
box 
>        in&nbsp;IISiBat Control cards (the place which usually includes the 
>        "VERSION 15" line).</SPAN></FONT></SPAN></DIV>
>        <DIV><SPAN class=378073415-04042002><FONT face=Arial color=#0000ff 
>        size=2></FONT></SPAN>&nbsp;</DIV>
>        <DIV><SPAN class=378073415-04042002><FONT face=Arial color=#0000ff 
>        size=2>Regards,</FONT></SPAN></DIV>
>        <DIV><SPAN class=378073415-04042002><FONT face=Arial color=#0000ff 
>        size=2></FONT></SPAN>&nbsp;</DIV>
>        <DIV><SPAN class=378073415-04042002><FONT face=Arial color=#0000ff 
>        size=2>Michael Kummert</FONT></SPAN></DIV>
>        <DIV><SPAN class=378073415-04042002><FONT face=Arial color=#0000ff 
>        size=2></FONT></SPAN>&nbsp;</DIV>
>        <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
>          <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
>          size=2>-----Original Message-----<BR><B>From:</B> 
>          owner-trnsys@relay.doit.wisc.edu 
>          [mailto:owner-trnsys@relay.doit.wisc.edu]<B>On Behalf Of </B>Laurent 
>          Serres<BR><B>Sent:</B> Thursday, April 04, 2002 09:09<BR><B>To:</B> 
>          trnsys@relay.doit.wisc.edu<BR><B>Subject:</B> constant card: how
can I 
>          do in iisibat?<BR><BR></FONT></DIV>
>          <DIV><FONT face=Arial size=2>Dear TRNSYS users,</FONT></DIV>
>          <DIV>&nbsp;</DIV>
>          <DIV><FONT face=Arial size=2>I'm trying to obtain the same result
with 
>          iisibat that I obtained with CONSTANTS card in TRNSYS. I don't
find in 
>          the help.</FONT></DIV>
>          <DIV><FONT face=Arial size=2>How can I do?</FONT></DIV>
>          <DIV>&nbsp;</DIV>
>          <DIV><FONT face=Arial size=2>Thanks a lot.</FONT></DIV>
>          <DIV><FONT face=Arial size=2>regards.</FONT></DIV>
>          <DIV>&nbsp;</DIV>
>          <DIV>
>          <DIV class=Section1>
>          <P class=MsoNormal><B><SPAN 
>          style="FONT-SIZE: 14pt; mso-bidi-font-size: 10.0pt">SERRES 
>          Laurent</SPAN></B><SPAN style="mso-bidi-font-size: 10.0pt"><BR>IUT 
>          Génie Civil<BR>3, Rue du Clos <SPAN
class=SpellE>Courtel</SPAN><BR>BP 
>          90422<BR>35704 RENNES CEDEX 7<BR>FRANCE<BR><B>Tel: (33) 2 23 23 42 
>          02<o:p></o:p></B></SPAN></P>
>          <P class=MsoNormal><B><SPAN style="mso-bidi-font-size: 10.0pt">Fax: 
>          (33) 2 23 23 40 51<o:p></o:p></SPAN></B></P>
>          <P class=MsoNormal><SPAN lang=DE 
>          style="mso-bidi-font-size: 10.0pt; mso-ansi-language: DE">e-mail: 
>          </SPAN><SPAN style="mso-bidi-font-size: 10.0pt"><A 
>          href="mailto:laurent.serres@univ-rennes1.fr";><SPAN lang=DE 
>          style="mso-ansi-language:
DE">laurent.serres@univ-rennes1.fr</SPAN></A></SPAN><SPAN 
>          lang=DE 
>          style="mso-ansi-language:
DE"><o:p></o:p></SPAN></P></DIV></DIV></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE
></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>
>
*************************************************
Pierre Hollmuller
CUEPE (Centre universitaire d'etude des problemes de l'energie)
Universite de Geneve
Battelle batiment A
7 rte de Drize
CH - 1227 Carouge

tel: (+41) 22 / 705 9649
fax: (+41) 22 / 705 9639
e-mail: pierre.hollmuller@cuepe.unige.ch
*************************************************