• 231 views | 3 messages Discussion: LEAP
    Topic: question about the method ResultValue(Year,[Unit]) Subscribe | Previous | Next
  • Ying Wang 7/28/2011

    1998 Views

    Hello,

    I have some questions,I would really appreciate your feedback.
    1,what is result variable?can you give me some examples?
    2,when I use the method,but I get the following error message:
    LEAP Automation Error
    Results are not available for data variables
    How can I solve it?

    Thank you in advance.

    Ying Wang


  • Fran Lallana 8/1/2011
      Best Response

    1952 Views


    Hello Ying,

    I have used this method without any inconvenient... but the syntax I used was a little different:

    Leap.ResultValue("Demand:Energy demand final units", 2010, "GJ")

    So... I think even if it's not clear in LEAP help, you have to specify the branch and the result that you are pointing (or expecting).

    Hope it heps,
    Francisco.
  • Ying Wang 8/7/2011
      Best Response

    1942 Views

    Thanks!