资源简介
利用MATLAB开发的电力系统节点预测程序,包含对北美电力市场的电力数据进行的一系列数据挖掘工作,程序代码实用,注释详细,包含多种预测算法,极具学习价值!
代码片段和文件信息
%% Automate the Data Import Process
% This script imports data from the Zonal hourly spreadsheets provided by
% ISO New England (www.iso-ne.com). The folder containing these
% spreadsheets should be specified below. By default it is assumed to be a
% folder called “Data“ in the same folder as this script. The data that is
% read in is saved as a MAT-file in the same folder.
folder = ‘Data‘;
% Example: folder = ‘C:\Temp\Data‘;
% By default the sheet name is ISONE CA. However it can easily be changed
% to ME CT VT NH RI SEMASS WCMASS or NEMASSBOST to extract zonal data
sheetname = ‘ISONE CA‘;
% Import data for 2004
if strcmp(sheetname ‘ISONE CA‘)
NEData = dataset(‘XLSFile‘ sprintf(‘%s\\2004_smd_hourly.xls‘folderyr) ‘Sheet‘ ‘NEPOOL‘);
else
NEData = dataset(‘XLSFile‘ sprintf(‘%s\\2004_smd_hourly.xls‘folderyr) ‘Sheet‘ sheetname);
end
% Add a column ‘Year‘
NEData.Year = 2004 * ones(length(NEData)1);
% Import data for other years
for yr = 2005:2009
% Read in data into a dataset array
x = dataset(‘XLSFile‘ sprintf(‘%s\\%d_smd_hourly.xls‘folderyr) ‘Sheet‘ sheetname);
% Add a column ‘Year‘
x.Year = yr*ones(length(x)1);
% Concatenate the datasets together
NEData = [NEData; x];
end
% Calculate numeric date
NEData.NumDate = datenum(NEData.Date ‘mm/dd/yyyy‘) + (NEData.Hour-1)/24;
save([folder ‘\‘ genvarname(sheetname) ‘_Data.mat‘] ‘NEData‘);
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 28160 2010-03-29 11:40 Electricity Load & Price Forecasting\Data\Holidays.xls
文件 464 2010-11-11 15:13 Electricity Load & Price Forecasting\Data\Where to get data.txt
文件 1465 2010-11-11 15:12 Electricity Load & Price Forecasting\importData.m
文件 693503 2010-11-11 15:56 Electricity Load & Price Forecasting\Introduction to Load & Price Forecasting Case Study.pdf
文件 300125 2011-05-06 11:23 Electricity Load & Price Forecasting\Load\Data\DBLoadData.mat
文件 244979 2018-05-07 18:55 Electricity Load & Price Forecasting\Load\Data\testSet.mat
文件 437685 2010-09-10 10:24 Electricity Load & Price Forecasting\Load\Data\trainSet.mat
文件 1370 2011-05-06 11:22 Electricity Load & Price Forecasting\Load\fetchDBLoadData.m
文件 844 2010-06-09 08:00 Electricity Load & Price Forecasting\Load\fitPlot.m.lnk
文件 51399 2010-11-11 15:38 Electricity Load & Price Forecasting\Load\Forecaster.prj
文件 17706 2010-11-11 15:42 Electricity Load & Price Forecasting\Load\Forecaster.xlsx
文件 2582 2010-09-09 16:16 Electricity Load & Price Forecasting\Load\genPredictors.m
文件 14277 2010-09-07 14:38 Electricity Load & Price Forecasting\Load\html\CalibrationReport.html
文件 19468 2010-09-10 10:40 Electricity Load & Price Forecasting\Load\html\Loadsc
文件 3610 2010-09-10 10:40 Electricity Load & Price Forecasting\Load\html\Loadsc
文件 15322 2010-09-10 10:40 Electricity Load & Price Forecasting\Load\html\Loadsc
文件 8138 2010-09-10 10:40 Electricity Load & Price Forecasting\Load\html\Loadsc
文件 9688 2010-09-10 10:40 Electricity Load & Price Forecasting\Load\html\Loadsc
文件 7847 2010-09-10 10:40 Electricity Load & Price Forecasting\Load\html\Loadsc
文件 8663 2010-09-10 10:40 Electricity Load & Price Forecasting\Load\html\Loadsc
文件 14609 2010-09-10 10:40 Electricity Load & Price Forecasting\Load\html\Loadsc
文件 14465 2010-09-10 10:40 Electricity Load & Price Forecasting\Load\html\Loadsc
文件 14500 2010-09-10 10:40 Electricity Load & Price Forecasting\Load\html\Loadsc
文件 14642 2010-09-10 10:40 Electricity Load & Price Forecasting\Load\html\Loadsc
文件 14389 2010-09-10 10:40 Electricity Load & Price Forecasting\Load\html\Loadsc
文件 14421 2010-09-10 10:40 Electricity Load & Price Forecasting\Load\html\Loadsc
文件 14795 2010-09-10 10:40 Electricity Load & Price Forecasting\Load\html\Loadsc
文件 14998 2010-09-10 10:40 Electricity Load & Price Forecasting\Load\html\Loadsc
文件 14458 2010-09-10 10:40 Electricity Load & Price Forecasting\Load\html\Loadsc
文件 15139 2010-09-10 10:40 Electricity Load & Price Forecasting\Load\html\Loadsc
............此处省略121个文件信息
相关资源
- Pattern Recognition and Machine Learning(高清
- MATLAB 编程 第二版 Stephen J. Chapman 著
- 均值滤波和FFT频谱分析Matlab代码
- 《MATLAB扩展编程》代码
- HDB3码、AMI码的MATLAB实现
- 3点GPS定位MATLAB仿真
- MATLAB数字信号处理85个实用案例精讲入
- matlab从入门到精通pdf94795
- 欧拉放大论文及matlab代码
- 跳一跳辅助_matlab版本
- 全面详解LTE MATLAB建模、仿真与实现
- MIMO-OFDM无线通信技术及MATLAB实现_孙锴
- MATLAB Programming for Engineers 4th - Chapman
- matlab 各种谱分析对比
- 分数阶chen混沌matlab程序
- 基于粒子群算法的非合作博弈的matl
- MATLAB车流仿真 包括跟驰、延误
- matlab空间桁架计算程序
- 基于MATLAB的图像特征点匹配和筛选
- DMA-TVP-FAVAR
- GPS信号的码捕获matlab代码.7z
- 一维光子晶体MATLAB仿真代码吸收率折
- newmark法源程序
- 传统关联成像、计算鬼成像matlab
- pri传统分选算法
- 摆动滚子推杆盘形凸轮设计
- 医学图像重建作业matlab源码
- Matlab实现混沌系统的控制
- 检测疲劳驾驶
- Matlab锁相环仿真-Phase Locked Loop.rar
评论
共有 条评论