HomeMy WebLinkAbout20230705IPC to Staff PR 4 Attachment - VODER.pdf%%% VODER uses unmodified historical data (i.e. no test years)
%%% DR does not get redispatched & future resources are not accounted for
%%% VODER ELCC calculated using a 3‐year rolling average
%%% Perfect capacity calculator for all years
% Clear variables
clear all
clc
format long
% Start timer to measure total simulation run time
tic
% Set the target LOLE for the simulation
target_LOLE = 0.1;
% Select year(s)
years = 2022;
% Base Case
% Toggle for accounting for losses in the capacity component
% Consider losses in the ELCC calculation ONLY
% It probably won't make a difference in the ELCC MW result (tin foil)
% D&D, please don't forget this loss dispute again
Loss_TG = 0;
% % Toggle for customer generator export classes
% Res_TG = 0;
% SC_TG = 0;
% LC_TG = 0;
% Irr_TG = 0;
% % Run the LOLE loop & save LOLPs and RCAT generator values
% LOLE_Loop
% LOLPs_1 = LOLPs;
% LOLEs_1 = LOLE;
% RCAT_Gen_1 = Perf_Cap;
% Toggle for customer generator export classes
Res_TG = 1;
SC_TG = 1;
LC_TG = 1;
Irr_TG = 1;
% Run the LOLE loop & save LOLPs and RCAT generator values
LOLE_Loop
LOLPs_2 = LOLPs;
LOLEs_2 = LOLE;
RCAT_Gen_2 = Perf_Cap;
ELCC1 = RCAT_Gen_1 ‐ RCAT_Gen_2
% End timer to measure total simulation run time
toc