Referencing Data and Constants in Expressions
Summary
The document provides technical instructions for creating models in LEAP that combine exogenous and endogenous variables. It details the naming syntax for referencing branches and variables, the process for specifying scaling factors and units, and the use of tag filters to limit summed branches. Additionally, it covers the referencing of fuel characteristics, molecular weight constants, and data from the TED database.
Key insights
- LEAP allows users to create models using both exogenous data (specified directly in the Analysis View) and endogenous variables (calculated internally by the software), such as total emissions or total costs.
- The general syntax for referencing a branch or variable is 'Path\Branch:Variable[Scale Unit]'. When referencing a variable at a higher-level branch, LEAP returns the sum of values for all descendant branches where that variable occurs.
- Users can edit the scale and units within square brackets to convert values, provided the new unit belongs to the same class as the original. Supported scaling factors include %, Hundred, Thousand, Million, Billion, Trillion, and specifically for users in India, Lakh and Crore.
- Data variable references can be limited using a 'Tag=' filter to sum only specific branches, such as identifying households using clean cooking fuels by tagging relevant technologies.
- Expressions can incorporate fuel variables (chemical and physical characteristics like carbon content), user-defined or default molecular weight constants for emission factors, and TED database items using the TED() function.
Cite the original document
- APA
- Stockholm Environment Institute (n.d.). Referencing Data and Constants in Expressions. https://leap.sei.org/Help24/Expressions/Referencing_Other_Data_Variables_in_Expressions.htm
- Chicago
- Stockholm Environment Institute. Referencing Data and Constants in Expressions. n.d. https://leap.sei.org/Help24/Expressions/Referencing_Other_Data_Variables_in_Expressions.htm.
- Wikipedia
- {{cite report |author=Stockholm Environment Institute |title=Referencing Data and Constants in Expressions |url=https://leap.sei.org/Help24/Expressions/Referencing_Other_Data_Variables_in_Expressions.htm |access-date=17 August 2026 |via=Climate Insights Directory}}
- BibTeX
- @techreport{stockholmenvironmentinstitutendreferencing, author = {{Stockholm Environment Institute}}, title = {{Referencing Data and Constants in Expressions}}, institution = {Stockholm Environment Institute}, url = {https://leap.sei.org/Help24/Expressions/Referencing_Other_Data_Variables_in_Expressions.htm}, urldate = {2026-08-17}, note = {Indexed by Climate Insights Directory} }
Full text
Collected · Record updated