Please to not reply in an existing thread with a completely unrelated question.
Start a new thread.
If you are not modeling any particular inter-temporal constraints, simply write
a loop to run your cases. Something like …
T = 24;
mpc0 = loadcase(‘<mycase>’); % load base case
for t = 1:24
mpc = mpc0; % set case for time t to base case
% modify the base case for period t using scale_load() or apply_changes()
or whatever
mpc = scale_load(<load scale factor for period t>, mpc);
result = runopf(mpc);
% save result of interest to some variables or files
end
Hope this helps,
Ray
> On Apr 15, 2018, at 8:02 AM, Khawla Munawwer <[email protected]>
> wrote:
>
>
> How do you run a 30 Bus Standard Test Feeder for 24 hours. Using 15-‐‑minute
> or 1-‐‑hour intervals, the model
> needs to run every time step (i.e., 96 or 24) and calculating optimal set
> points for the
> scheduled generation and dispatchable loads.
> Can someone give me an Idea about it?
>
> Regards
>
> On Fri, Apr 13, 2018 at 10:09 AM, Saeed Ahmed <[email protected]
> <mailto:[email protected]>> wrote:
> The best i can do is to share a code with you... This code estimates the
> power flow using AC estimation criteria...
> You have to modify it according to your needs for DC state estimation ...
> When you have any progress let me know... you have to try and don't give up...
>
>
>
> Regards
> Saeed Ahmed
>
>
> On 13 April 2018 at 11:44, naime ahmadi <[email protected]
> <mailto:[email protected]>> wrote:
> Thank you.
> I want to calculate DC jacobuian matrix in matpower.
> When I compare DC jacobuian matrix with Bbus, it is totally different.
> How can I calculate DC jacobuian matrix ?
>
> On Tue, Apr 10, 2018 at 11:41 PM, Ray Zimmerman <[email protected]
> <mailto:[email protected]>> wrote:
> If you are looking for the sensitivities of power injections w.r.t. changes
> in voltage angle, that would be the Bbus matrix from equation (3.32) in the
> User’s Manual
> <http://www.pserc.cornell.edu/matpower/docs/MATPOWER-manual-6.0.pdf> which is
> returned from makeBdc()
> <http://www.pserc.cornell.edu/matpower/docs/ref/matpower6.0/makeBdc.html>.
>
> Ray
>
>
>> On Apr 10, 2018, at 5:04 AM, naime ahmadi <[email protected]
>> <mailto:[email protected]>> wrote:
>>
>> Thank you.
>> Actually I read that chapter. My problem is getting DC Jacobian matrix from
>> matpower.
>> Does j11 be the DC Jacobian matrix?
>> mpc=loadcase('case14');
>> [j11,j12,j21,j22,J, Ybus, Yf, Yt] = makeJac(mpc);
>>
>>
>>
>>
>> On Mon, Apr 9, 2018 at 7:26 PM, Saeed Ahmed <[email protected]
>> <mailto:[email protected]>> wrote:
>> Hi Ahmadi...
>>
>> First you need to understand the DC or linear State Estimation . You can
>> find Chap 2 of Ali Abur's Book.
>> After that you can use the built-in functions in MATPOWER for the
>> formulation of H vector and this all becomes simple once you have solid
>> understanding of theory...
>>
>> Regards
>> Saeed Ahmed
>>
>>
>> On 9 April 2018 at 15:46, naime ahmadi <[email protected]
>> <mailto:[email protected]>> wrote:
>> Hi,
>> How can I use matpower to calculate DC state estimation?
>> Kind Regards,
>> Naime
>>
>>
>
>
>
>