Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.67 KB

xmlFiles.rst

File metadata and controls

43 lines (31 loc) · 1.67 KB

XML File Formats

project-xml scenarios-xml query-xml rewrites-xml landProtection-xml parameters.xml <mcs/parameters> results.xml <mcs/results> resPolicy-xml

Various gcamtool sub-commands take input from XML files that are distinct from those read by the GCAM model itself. These include:

  • project-xml describes all the workflow steps required to run a pygcam project.
  • scenarios-xml file provides instructions for modifying GCAM configuration files to generate desired scenarios. It can be used as an alternative to defining a custom Python module, though the latter provides greater customizability.
  • query-xml file describes XML queries to run against the XML database generated by GCAM, including aggregation "rewrites" that are added on-the-fly.
  • rewriteSets.xml <rewrites-xml> file describes named sets of "rewrite" statements that can be referenced by queries in query-xml.
  • landProtection-xml file describes which types of unmanaged land should "protected", (i.e., removed from economic consideration in the model), and at what percentages in each region.
  • parameters.xml <mcs/parameters> defines Monte Carlo parameters and distributions.
  • results.xml <mcs/results> defines Monte Carlo results to be saved in the SQL database.
  • resPolicy-xml supports the definition of Renewable Energy Standard (RES) policies.

Most of these files allow a custom meta-language I call conditional-xml, which allows portions of the XML file to be selected based on the values of configuration variables.