Respected Zimmermen!
How can I resolve bellow error. As I have built a code from stochastic  DC OPF 
model ex 4, for multiple periods. where I used command:
  t_most_suc_new(0, 1, 1, ' location name').
This is for secure stochastic uc model ploting. But i edited this function 
according to my file. Still I am not confirm if we want to generate graph
we have to built complete function ? How can we learn about graph and plots in 
Matpower and Most.

Error:

Error using loadmd (line 399)
loadmd: scenarios dimension of profiles(1).values (3) must be 1 or nj_max = 1


Highly thankful for your suggestions.
Maliha
________________________________
From: [email protected] 
<[email protected]> on behalf of Ray Daniel Zimmerman 
<[email protected]>
Sent: Thursday, 8 July 2021 7:54 PM
To: MATPOWER-L <[email protected]>
Subject: Re: How to load Pd in a loadprofile ,when load buses are approximately 
30 .

Unfortunately, setting up these profiles is a little more complex than I would 
like.

First of all, setting rows to 0 will make the profile apply to every unit in 
the final gen matrix, including non-wind generators and even dispatchable 
loads. So that’s probably not what you want.

However, there is a subtlety in how rows is interpreted, depending on whether 
you are calling the getprofiles() function with an idx argument or not. If not, 
then rows refers to the row index in the final gen matrix, i.e. gen(rows, …). 
If so, then rows is an index into the idx vector provided to getprofiles(), so 
it applies to gen(idx(rows), …). This allows you to add wind generators using 
add_wind() and then set up your profile with rows that address them 
consecutively as 1, 2, 3 …

Hope this helps,

    Ray



On Jul 7, 2021, at 3:56 PM, MALIHA SHAH 
<[email protected]<mailto:[email protected]>> 
wrote:

thankyou for the suggestion.
Another question is how to use wind profile provided in example code for more 
than 1 generator. I changed the rows value from 1 to 0 in order to apply for 
all but the results indicate as the other generators are off( profile does not 
work for all generators). Secondly,  from the discussion list I got an answer 
explaining the row and values field of wind_profile function for 3 generators. 
But it did not work. You can check the photos attached, showing the results and 
the answer from discussion list which I tried in my code.

thanking you for your time.

Maliha Shah
________________________________
From: 
[email protected]<mailto:[email protected]>
 
<[email protected]<mailto:[email protected]>>
 on behalf of Ray Daniel Zimmerman <[email protected]<mailto:[email protected]>>
Sent: Thursday, 24 June 2021 11:20 PM
To: MATPOWER-L <[email protected]<mailto:[email protected]>>
Subject: Re: How to load Pd in a loadprofile ,when load buses are approximately 
30 .

The example in 
most/lib/t/ex_load_profile.m<https://matpower.org/docs/ref/matpower7.1/most/lib/t/ex_load_profile.html>
 will apply to all loads, whether fixed (PD/QD columns of bus) or dispatchable 
(negative gen). The profiles in MOST use the 
apply_changes()<https://matpower.org/docs/ref/matpower7.1/lib/apply_changes.html>
 function described in Section 9.3.5 of the User’s 
Manual<https://matpower.org/docs/MATPOWER-manual-7.1.pdf>. See Table 9-4 for 
the details of how to make your changes apply to only fixed, or only 
dispatchable, etc.

Hope this helps,

    Ray



On Jun 24, 2021, at 1:08 AM, MALIHA SHAH 
<[email protected]<mailto:[email protected]>> 
wrote:

Respected Ray,
How can I make a varying loadprofile, which contains 30 load buses 
approximately.  As in the example most , there was one load bus which was coded 
negative generation . How can the Pd given in case 30 included in profiles in 
order to run it smoothly like in the example.

Will be thankful.
Maliha


Get Outlook for Android<https://aka.ms/AAb9ysg>

<all 3 are zero.JPG><followed suggestion.JPG><profile values.JPG>

Reply via email to