resPolicy.xml =================== The ``resPolicy.xml`` file defines a renewable energy standard policy for the electricity sector. (Support for other sectors is coming.) XML elements ------------ The elements that comprise the ``resPolicy.xml`` file are described below. ^^^^^^^^^^^^^^^^^^^^^^^^^^ This is the outermost element, which takes no attributes and contains one or more ```` elements. It may also contain ```` elements. ^^^^^^^^^^^^^^^^^^^^^^^^^^ Defines a single portfolio standard, for a given set of regions. This element takes no attributes and contains one or more ```` elements, and zero or more ```` elements. ^^^^^^^^^^^^^ The ```` element defines a single renewable energy certificate, or REC, that is generated by electricity producers that are incentivized by the policy, and consumed by technologies deemed regulated by the policy. The ```` element takes a single required attribute, ``name``, which is the name of the traded REC. +-------------+------------+-----------+----------+ | Attribute | Required | Default | Values | +=============+============+===========+==========+ | name | yes | (none) | text | +-------------+------------+-----------+----------+ A ```` element must include exactly one of each of the following sub-elements: ````, ````, and ````, and may contain any number of ```` elements. ^^^^^^^^^^^^^ The ```` element takes no attributes and must contain one or more ```` elements, and any number of ```` elements. ^^^^^^^^^^^^^ The ```` element defines the required fraction of total output that must be covered by RECs, by year. That is, for a 20% RPS in 2020, each regulated electricity provider would have a target of ````. +-------------+------------+-----------+----------+ | Attribute | Required | Default | Values | +=============+============+===========+==========+ | year | yes | (none) | text | +-------------+------------+-----------+----------+ | fraction | yes | (none) | float | +-------------+------------+-----------+----------+ and ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The ```` defines technologies deemed to produce RECs, i.e., the renewable technologies incentivized by the policy. The ```` element defines those technologies which must acquire credits at the level described in the ````. The ```` and ```` take no attributes, and must each contain one or more ```` elements, can have and any number of ```` elements. ^^^^^^^ The ```` element identifies a single technology or set of technologies. It takes 3 attributes: The (required) ``sector`` attribute identifies a sector containing some number of technologies. This can be an exact match for a technology (in the global-technology-database) or a regular expression matching multiple sectors. The other two attributes, ``subsector`` and ``technology`` are optional; if not specified all technologies matching the sector and subsector (if ``subsector`` is provided) or sector (if ``subsector`` is absent) are matched. As with ``sector``, ``subsector`` and ``technology`` can be exact matches or regular expressions. +-------------+------------+-----------+----------+ | Attribute | Required | Default | Values | +=============+============+===========+==========+ | sector | yes | (none) | text | +-------------+------------+-----------+----------+ | subsector | no | (none) | text | +-------------+------------+-----------+----------+ | technology | no | (none) | text | +-------------+------------+-----------+----------+ Example ^^^^^^^^ .. code-block:: xml