• 540 views | 5 messages Discussion: LEAP
    Topic: Scenario inheritance in expressions rather than through scenario tree structure Subscribe | Previous | Next
  • David Jedland 2/6/2018

    Hi!

    I'm trying to experiment with expressions, I want to use inheritance between scenarios in some sectors.

    For example- say I have 3 Scenarios.
    1. Reference
    2. Strong politics
    3. Climate positive

    My goal is to make scenario 2. inherit scenario 1. experssions and scenario 3. inherit scenario 2. expressions.

    Crude example; Let's say I want to model energy use for electrical applications for a single household in different scenarios.
    1. Reference [5 000 kWh]
    2. Strong politics [(Scenario 1)x0,75]
    3. Climate positive [(Scenario 2) - 1000]

    So when I change the assumption in Scenario 1. (or Scenario 2.) - all scenarios dependent on those will also change.

    I hope it wasn't too confusing. I take any advice I can get, much obliged!

    Best regards,
    David Jedland

  • Emily Ghosh 2/6/2018
      Best Response

    1 Like

    Hi David,

    There are a couple of ways of specifying scenario inheritance through the Manage Scenarios dialog box. The first way is to create a child scenario based on the main scenario (or parent scenario) that you are interesting in inheriting expressions from. To create this new scenario, first click on the parent scenario, and then click the green add button on the top. In the attached screenshot, the Reference scenario is a child scenario of Current Accounts, and Strong Politics and Climate Positive scenarios are child scenarios of Reference.

    The second way is to specify which sibling scenarios you want a scenario to inherit expressions from. To do this, select the scenario you are working on, click on the "Inheritance" tab on the right, and then click on the green plus button to add the additional scenario to inherit expressions from. If you look at the Inheritance tab in the attached screenshot, you will see that the Climate Positive scenario is based on the Reference scenario, and that it is also inheriting from the Strong Politics scenario. You will also see this in the expression search order listed at the bottom of the Inheritance tab.

    For more information about scenario inheritance, refer to the following help pages:

    Hope this helps!
    Emily


    Scenario Inheritance Example.PNG
  • David Jedland 2/7/2018
      Best Response

    Thank you very much for your answer Emily, very good info!

    I was however trying to do the inheritance between scenarios directly under analysis. But I guess this is not possible?

    Example below. When I change referensscenario, the expression in Stark nationell politik below wouldn't actually change its expression explicitly, rather just inherit the changes implicitly.

    Basically, I want to be able to make Changes in "Referensscenario" without changing "Stark nationell politik" - even though "Stark nationell politik" is defacto inheriting the expression from "Referensscenario".


    Again, much obliged for all inputs!

    Best regards,
    David Jedland

  • Emily Ghosh 2/7/2018
      Best Response

    1 Like

    Hi David,

    Thanks for the clarification! I believe the ScenarioValue function might be what you are looking for. This function allows you to reference the value from another scenario in an expression. For example, the expression in the "Stark nationell politik" scenario might look like either of these:

    ScenarioValue(Referensscenario) * 0.75
    ScenarioValue(Demand\Households\Electrical Applications:Final Energy Intensity, Referensccenario) * 0.75

    Hope this helps!
    Emily

  • David Jedland 2/9/2018
      Best Response

    Once again, thank you very much!
    This is exctly what I was looking for.

    Have a nice weekend!
    Regards,
    David