Re: Overriding mpoption construct field

2022-05-09 Thread AKHILESH Kumar Barnwal
Thank you Prof. for help. On Tue, 10 May, 2022, 3:22 am Ray Daniel Zimmerman, wrote: > I’m not sure I fully understand the question. > > You can use the mpoption() function to create a MATPOWER options struct > that you can then pass to runpf() or other MATPOWER functions. > > You can also use

Re: Overriding mpoption construct field

2022-05-09 Thread Ray Daniel Zimmerman
I’m not sure I fully understand the question. You can use the mpoption() function to create a MATPOWER options struct that you can then pass to runpf() or other MATPOWER functions. You can also use mpoption()to modify an existing MATPOWER options struct with standard recognized options. You

Re: the unit of gencost coefficients

2022-05-09 Thread Ray Daniel Zimmerman
The units of the cost function defined by gencost are in $/hr. So for a quadratic cost like the one in your example, the units of the last 3 columns are: $/(hr - MW^2) $/MWh $/hr Ray On May 9, 2022, at 1:27 AM, 122020316 <122020...@qq.com> wrote: Hi Prof.

Overriding mpoption construct field

2022-05-09 Thread akhil
Hi, I want to construct and send a new variable like 'exp.sys_wide_vd_loads.ab'. where ab contains the value [0.72 2.96] or anything else defined by the user to 'mpoption' constructor that finally brings these values to the power flow algorithm (let us say it 'PQSUM' ). How can I do this with

the unit of gencost coefficients

2022-05-09 Thread 122020316
Hi Prof. Zimmerman,I want to ask the unit name (for example: $/(MWh)) of the coefficients in the last 3 columns of gencost matrix in case file. In case file,mpc.gencost = [2 0 0 3 0.02 2 0;2 0 0 3 0.0175 1.75 0;2 0 0 3 0.0625 1 0;2 0 0 3 0.00834 3.25 0;2 0 0