hi maybe this help to you for example
days = 10; hour = 24; demloadPD = importdata('demandload.xlsx');%load demandload.xlsx form and you should doing loop for i = 1:days for j =1:hour mpc.bus( :,3) = demloadPD.LFP( :,j); % any thing you need end end have nice time On Sat, Feb 9, 2019 at 1:18 AM Ray Zimmerman <r...@cornell.edu> wrote: > That’s exactly how I would handle it. > > Ray > > > > On Feb 7, 2019, at 11:38 AM, Ahmad Sadiq Abubakar < > ahmad.abuba...@futminna.edu.ng> wrote: > > > > Hi, > > How can I run a load flow using runpf with 24-h varying loads (P, Q)? > > > > The only way I have thought of is to have a for loop. > > Your comments, suggestions and guides will be appreciated. > > Sadiq A. A > > > >
demandload.xlsx
Description: MS-Excel 2007 spreadsheet