Approach for Neural network
17 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I wanted to create a Neural network that can be replica of runpf() in MATPOWER but only active and reactive power using the Neural Network fitting toolbox. is this the right approach. Later I want to use Neural network for different projects
mpc2=loadcase('case39');
load_min = 0;
load_max = mpc2.bus(:,3);
LP=zeros(39,5000);
LQ=zeros(39,5000);
V=zeros(39,5000);
%c=1;
j=1;
for i=1:5000
load= rand .* (load_max - load_min) + load_min; % Generating Random value for load
mpc2.bus(:,3)=load;
PF = runpf(mpc2);
if (PF.success)
LP(:,j)=PF.bus(:,3);
LQ(:,j)=PF.bus(:,4);
L = [LP; LQ];
V(:,j)=PF.bus(:,8);
j =j+1;
end
end
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Function Approximation and Clustering finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!