02.06.2014 Views

symbolic dynamic models for highly varying power system loads

symbolic dynamic models for highly varying power system loads

symbolic dynamic models for highly varying power system loads

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

78<br />

if isempty(mini_d)==1 %If no word begins with the %lastdigit start<br />

from the beginning.<br />

mini_d=d;<br />

mini_fr=fr;<br />

end<br />

mini_d; % words beginning with the last digit.<br />

mini_fr;<br />

% fractional occurances of the all words %beginning with<br />

the last digit.<br />

sumf=sum(mini_fr(:,1));<br />

mod_fr=mini_fr/sumf;<br />

wd=mini_d;<br />

wf=mod_fr;<br />

k=k+1;<br />

end<br />

seedword;<br />

fwl;<br />

result1=nonzeros(seedword(1,:));<br />

result2=nonzeros(seedword(2:kstop,2:nw)');<br />

result=[result1',result2']' % Forecasted signal in the <strong>for</strong>m % of a<br />

column matrix.<br />

A.4 Forecasting a signal using Model 2, case 1 (Load Modeling)<br />

Input to this program is historically recorded current data of<br />

electric arc furnace. Future value of current is predicted using model<br />

2, without updating the historical data set. The code is used <strong>for</strong> load<br />

modeling applications. 5000 data of EAF current are stored in a data<br />

file out of which 3000 data are used as a historical data set and 2000<br />

data are predicted and compared with the rest of the data.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!