Creating Policy Files
Policy files in ENERGY 2100 are written as Julia script files text files saved with a .jl extension. They modify values of input or policy variables. A policy can be defined by one or more policy files. Multiple policies can be combined by executing their policy files together to define a scenario.
|
What are Policy files? • Written as a Julia script files. • Stored in \Policy folder. • Modify values of input variables. • May execute multiple policy files together to define a scenario. • Are executed through ENERGY 2100 using batch files. |
Modify Existing Policy Files
The easiest method of creating a new policy file is to modify the values within an already existing policy file. Values can be specified by direct input, an equation, or a set of equations. Equations allow the values to be specified as a fraction of an existing model variable, including a percent change from a base case or reference case. Setting values of a policy variable in relation an existing model variable greatly facilitates and improves the accuracy of the representation of complex policies.
To simulate the impact of single policy in the forecast, a policy file is developed that makes changes to all the relevant model variables. An appropriate base line or reference scenario is identified and a new model run is executed with the new policy added on top of the forecast that it is being compared to. The impact of the policy is the difference in the model results between the two cases. A portfolio of policies can be individually tested then added together to develop entire forecast scenarios.
Create New Policy File/Get Template from SSI
To translate a policy into model variables and equations requires an understanding of the model structure and may require assistance. ENERGY 2100 has been designed to be flexible and to facilitate the addition of new polices; however, often times a policy is new and unique and requires revisions to the model (for example, adding a new policy variable into model equations that simulate the energy consumers’ or suppliers’ decision making process). Revising the model variables or structure generally requires assistance from Systematic Solutions, Inc. (SSI). Examples where SSI revised model code to incorporate a new policy include: 1) creating the ability to allow for differences between various cap-and-trade proposals; and 2) restructuring the electric generation module as part of simulating the Alberta Clean Air Strategic Alliance (CASA) program to retire units when the cost of emission reduction retrofits are expected to exceed revenues
The sections that follow identify the primary ENERGY 2100 model variables to modify as well as the model methodology used to simulate a set of common demand-sector, electricity supply sector, and emissions-related policies.