See scale_load()
<http://www.pserc.cornell.edu/matpower/docs/ref/matpower6.0/scale_load.html>
for changes in load or apply_changes()
<http://www.pserc.cornell.edu/matpower/docs/ref/matpower6.0/apply_changes.html>
for a generic mechanism for applying changes to an existing case. You can also,
simply load the case into a struct using loadcase() and then modify parameters
directly. For example, to double the reactance of branch 3 …
define_constants;
mpc = loadcase('mycase');
mpc.branch(3, BR_X) = mpc.branch(3, BR_X) * 2;
Hope this helps,
Ray
> On May 13, 2017, at 11:43 AM, KawsarF <[email protected]> wrote:
>
> Dear Ray
> I want to increase 10% load and generation in a 80 bus, 70 generator network
> mpc case, can you please tell me what script I can use to do so. I want to
> manipulate the other line and load parameters in a different script as well.
> Please allow me a way to script to get the right answers.
>
> Best Regards
> Kawsar
>
> Sent from my iPhone
>
> On 14 May 2017, at 12:13 am, <[email protected] <mailto:[email protected]>>
> <[email protected] <mailto:[email protected]>> wrote:
>
>> Dear Ray
>> I want to increase 10% load and generation in a 80 bus, 70 generator network
>> mpc case, can you please tell me what script I can use to do so. I want to
>> manipulate the other line and load parameters in a different script as well.
>> Please allow me a way to script to get the right answers.
>>
>> Best Regards
>> Kawsar