• 99 views | 2 messages Discussion: LEAP
    Topic: Add Transport Technology branch using APISubscribe | Previous | Next
  • Yoga Bagus Wicaksono 4/5/2017

    Hi All,

    I have just started to use API. I already manage to add technology branch using

    SET TraTech = AddTechnology("RON88",BRANCHES("Demand\Transportation\Public\SUV").ID,"Percent","Saturation","Diesel","Tonnes of Oil Equivalent")
    However, the technology branch that I would like to add is Transport Technology (Stock Turnover Method).
    What is the script to add Transport Technology type of branch?
    Is there any documentation that could guide me to use API option in LEAP?

    Best Regards,
    Yoga

  • Emily Ghosh 4/18/2017
      Best Response

    Sorry for the delay in responding. Unfortunately, you cannot add Transport Technology (Stock Turnover) branches using the LEAP API.

    Another way of speeding up data entry is to modify expressions/values in Excel. To do this, you first have to 1) add all of the branches to the tree with the branch name, branch type and fuel specified, 2) export the branches to Excel using LEAP's exporting capabilities, 3) edit the branch variables in Excel, and then 4) import the data back into LEAP. For more info on importing and exporting data, refer to the following help pages:

    Hopefully this helps! Please let us know if you have any further questions.

    Thanks,
    Emily