Loading...
The URL can be used to link to this page
Your browser does not support the video tag.
Home
My WebLink
About
20230705IPC to Staff PR 4 Attachment - Gen_Cap_LnR.pdf
% Programmed by Andres Valdepena Delgado 2021 % Email ‐ avaldepenadelgado@idahopower.com % Input Description: % Monthly Capacity values and EFOR for dispatchable generation % Output Description: % Returns a vector with the EFORs for the dispatchable generation and a % monthly vector with the capacity for each generator opts = delimitedTextImportOptions("NumVariables", 14); opts.DataLines = [2, Inf]; opts.Delimiter = ","; opts.VariableNames = ["Unit", "EFORd", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; opts.VariableTypes = ["string", "double", "double", "double", "double", "double", "double", "double", "double", "double", "double", "double", "double", "double"]; opts.ExtraColumnsRule = "ignore"; opts.EmptyLineRule = "read"; opts = setvaropts(opts, "Unit", "WhitespaceRule", "preserve"); opts = setvaropts(opts, "Unit", "EmptyFieldRule", "auto"); EFOR = readtable([cd '\IPC_EFORd.csv'], opts); clear opts Outages = EFOR.EFORd; EFOR{end,3:end} = RCAT_Gen; Capacities_Jan = EFOR.Jan; Capacities_Feb = EFOR.Feb; Capacities_Mar = EFOR.Mar; Capacities_Apr = EFOR.Apr; Capacities_May = EFOR.May; Capacities_Jun = EFOR.Jun; Capacities_Jul = EFOR.Jul; Capacities_Aug = EFOR.Aug; Capacities_Sep = EFOR.Sep; Capacities_Oct = EFOR.Oct; Capacities_Nov = EFOR.Nov; Capacities_Dec = EFOR.Dec; Capacities = [Capacities_Jan Capacities_Feb Capacities_Mar Capacities_Apr Capacities_May Capacities_Jun Capacities_Jul Capacities_Aug Capacities_Sep Capacities_Oct Capacities_Nov Capacities_Dec];