The other fields of the windprofile struct specify exactly how the values are
used.
windprofile = struct( ...
'type', 'mpcData', ...
'table', CT_TGEN, ... % modify the gen matrix
'rows', 1, ...
'col', PMAX, ... % modify the PMAX column
'chgtype', CT_REL, ... % scale the existing value
'values', [] );
So, these ares simple scale factors for the PMAX column of the gen matrix. That
is, the PMAX values found in the base case are scaled by the values provided in
corresponding period and scenario.
Ray
On Sep 6, 2021, at 12:20 PM, MALIHA SHAH
<[email protected]<mailto:[email protected]>>
wrote:
Respected Ray,
can you explain the profile values in example code "ex_wind_profile", How are
they defined?
The valves are defined as given below. I think 0.72 is 75 % output of wind
generators but what does 1.18 indicate?
but the results are contradicting with this idea therefore let me know the
concept behind it.
windprofile.values (:, :, 1) = [
0.72 0.80 0.88;
0.49 0.65 0.81;
0.36 0.60 0.84;
0.50 0.82 1.14;
0.60 1.00 1.40;
0.22 0.70 1.18;
0.00 0.50 1.00;
0.33 0.85 1.37;
0.46 1.00 1.54;
0.54 1.10 1.66;
0.48 1.06 1.64;
0.35 0.95 1.55;
________________________________
From:
[email protected]<mailto:[email protected]>
<[email protected]<mailto:[email protected]>>
on behalf of Ray Daniel Zimmerman <[email protected]<mailto:[email protected]>>
Sent: Thursday, 15 July 2021 1:37 AM
To: MATPOWER-L <[email protected]<mailto:[email protected]>>
Subject: Re: How to load Pd in a loadprofile ,when load buses are approximately
30 .
According to the error message, it seems that the dimensions of your
profile.values is not consistent with the dimensions of your transition
probability matrices. The 2nd dimension of profiles is 3 (i.e for 3 scenarios),
but the transition probability matrices appear to be defined for a single
scenario.
As far as plotting, there are a few plotting functions that are general and
documented (e.g. plot_uc(), plot_gen(), plot_storage()), but the functions used
in the test files for plotting are specific to those cases. You would probably
need to modify them to work for your own cases.
Ray
On Jul 14, 2021, at 7:29 AM, MALIHA SHAH
<[email protected]<mailto:[email protected]>>
wrote:
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]<mailto:[email protected]>
<[email protected]<mailto:[email protected]>>
on behalf of Ray Daniel Zimmerman <[email protected]<mailto:[email protected]>>
Sent: Thursday, 8 July 2021 7:54 PM
To: MATPOWER-L <[email protected]<mailto:[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>