• 117 views | 2 messages Discussion: LEAP
    Topic: Different base year between LEAP and WEAPSubscribe | Previous | Next
  • Fabio Dominguez 3/4/2019

    I have a WEAP model with a base year of 2010 and 2011-2050 for simulation years and a LEAP model with 2017 as base (latest data) year and 2018-2050 for simulation years. Can I link WEAP to LEAP in this condition? If not, can you advice me what do users tend to do when WEAP data is not updated and want to link it with updated data from LEAD?

    I thank you in advance for your help

  • Taylor Binnington 3/13/2019
      Best Response

    Hi Fabio -

    Both LEAP and WEAP must share the same years in their scenarios. One way to get around this is to enter "historical" data into a LEAP scenario, but start the scenario from the same year as the WEAP scenarios. There are a few ways to do this - here are some functions you might find useful:
    1. Interp, using the optional growth rate argument as the last parameter,
    2. The conditional If, like this:
      If(year < 2017, value if true, value if false)
    This way, you can use a different expression or data during the first few years of the scenario (i.e. 2011 - 2017, while you have historical data).

    Hope this helps,

    Taylor