• 220 views | 3 messages Discussion: LEAP
    Topic: Unable to get property sourceLinks of undefined or null referenceSubscribe | Previous | Next
  • Pintoko Aji 10/26/2023

    I encountered an error with an attached picture when attempting to generate or display a Sankey diagram. Could this error be related to changes I made to the primary/secondary resource rules or adjustments to unmet requirement rules using MeetWithUpstreamModules? I was trying to address the issue of certain fuels consistently being marked as imports when I intended to represent them as refinery outputs.
    Screenshot 2023-10-27 012505.jpg
  • Charlie Heaps 11/1/2023
      Best Response

    I haven't see that bug before, but it sounds like the LEAP data driving the Sankey diagram is somehow invalid (FYI, the error is actually coming from the D3JS Javascript code that plots the Sankey). Could you send me your data set as a .leap file and I can try and take a look? Please send to leap@sei.org. Thanks and sorry for the inconvenience.
  • Pintoko Aji 11/12/2023
      Best Response

    I apologize for the delayed response. Actually, my model has already resolved this issue, but I forgot how to troubleshoot those errors. I am sending the backup version of my .leap file from when the error occurred. It might be interesting for the LEAP development team to study why the issue occurred. Thank you for your response. I have sent it to the LEAP email requested by Charles Heaps. Thanks.