Re: Question on running MATPOWER runoff in LabVIEW mathscript

2023-11-02 Thread Ray Daniel Zimmerman
er 2023 at 2:18 AM To: MATPOWER-L mailto:matpowe...@list.cornell.edu>> Subject: Re: Question on running MATPOWER runoff in LabVIEW mathscript I'm afraid I do not have experience with LabVIEW's MathScript, but if it can be made to run a MATLAB script, then you can certainly make it call MATPOWER's

Re: Question on running MATPOWER runoff in LabVIEW mathscript

2023-11-01 Thread Kevin Yong
suggestion. Best regards, Kevin From: bounce-127852508-95296...@list.cornell.edu on behalf of Ray Daniel Zimmerman Date: Saturday, 28 October 2023 at 2:18 AM To: MATPOWER-L Subject: Re: Question on running MATPOWER runoff in LabVIEW mathscript I'm afraid I do not have experience

Re: Question on running MATPOWER runoff in LabVIEW mathscript

2023-10-27 Thread Ray Daniel Zimmerman
I'm afraid I do not have experience with LabVIEW's MathScript, but if it can be made to run a MATLAB script, then you can certainly make it call MATPOWER's runpf(). You may have to write your own wrapper script to handle the inputs from LabVIEW and set up the call to runpf() and then package

Question on running MATPOWER runoff in LabVIEW mathscript

2023-10-26 Thread Kevin Yong
Hello Everyone, I was wondering if it is possible to run MATPOWER power flow m file in LabVIEW math script. A bit of background of my work. I am currently constructing a digital twin of a microgrid in LabVIEW and would like to power flow in LabVIEW. I have configured a case file specifically

Re: Question regarding Matpower's continuation power flow

2022-11-01 Thread Abhyankar, Shrirang G
on Google if you need additional details on event detection and location. Hope this helps. Shri From: bounce-126939018-83436...@list.cornell.edu on behalf of Carlos A. Castro Date: Monday, October 31, 2022 at 4:01 PM To: MATPOWER-L@cornell.edu Subject: Question regarding Matpower's

Question regarding Matpower's continuation power flow

2022-10-31 Thread Carlos A. Castro
Dear friends I have been running the continuation power flow for several networks. In the case of "case2869pegase", I counted 92 rollbacks. However, "events" is a struct with dimension [1x98]. I was expecting that the dimension of "events" was [1x92], that is, the same as the number of

Re: Question about OPF problem

2022-10-06 Thread Ray Daniel Zimmerman
This is good question. It turns out that, in general, increasing the voltage tends to reduce losses, which in turn reduces total generation and generation cost. So minimizing generation cost also tends to dispatch reactive power so as to push voltages upward. Fiddling with the OPF starting

Question about OPF problem

2022-10-02 Thread Mohsen Jorjani
Dear all, Hi. I have a question about the OPF problem modelled in the MAFPOWER package. I know that if we just define the generator active power cost curve data in the gencost matrix and leave the generator reactive power cost curve data related fields empty, the objective function of the OPF

Re: Question about fmincopf_solver in MATPOWER

2022-09-29 Thread Ray Daniel Zimmerman
The fmincopf_solver() function is not a top-level user function. It is called indirectly by runopf() when you have the opf.ac.solver option set to 'FMINCON'. >> mpopt = mpoption('opf.ac.solver', 'FMINCON'); >> results = runopf(mpc, mpopt); Best, Ray On Sep 28, 2022, at 8:18 AM, naime

Question about fmincopf_solver in MATPOWER

2022-09-28 Thread naime ahmadi
Hello, How can I use *fmincopf_solver in *MATPOWER* for *IEEE 30 bus system? case_test = '30'; mpc = loadcase(['case',case_test]); I do not understand how to get 'om' * [results, success, raw] = fmincopf_solver(om, mpopt) * Thank you in advance, Naime

Re: Active and reactive power losses - Question

2022-07-18 Thread Ray Daniel Zimmerman
Hi Fábio, Your Qloss includes both the series reactive losses returned by get_losses() in the imaginary part of the loss return value as well as the line charging capacitance returned in the chg (or fchg and tchg) return value. See help get_losses() for details about the line charging part.

Active and reactive power losses - Question

2022-07-16 Thread Fábio Donisete Silva
Hi MATPOWER users, I'm comparing the results from the function get_losses() and the equations Ploss = Pkm+Pmk and Qloss = Qkm+Qmk. A difference in the reactive power losses is intriguing me. Taking the IEEE 14 Bus Test System, these are the results I obtained for branch 1-2: - get_losses():

Re: Question about case9

2022-07-08 Thread Ahmad Bariq Al Fahri
Okay, thanks again for the answer. On Thu, Jul 7, 2022, 10:08 PM Carlos E Murillo-Sanchez < ce.murillosanc...@gmail.com> wrote: > Ahmad Bariq Al Fahri wrote: > > Thank you Carlos for the information. > As in Case 9, all bus voltage is specified to be 345 kV. If the > transformer defaults ratio

Re: Question about case9

2022-07-07 Thread Carlos E Murillo-Sanchez
Ahmad Bariq Al Fahri wrote: Thank you Carlos for the information.  As in Case 9, all bus voltage is specified to be 345 kV. If the transformer defaults ratio is 1:1, does it mean that the generator is connected in 345 kV

Re: Question about case9

2022-07-06 Thread Ahmad Bariq Al Fahri
Thank you Carlos for the information. As in Case 9, all bus voltage is specified to be 345 kV. If the transformer defaults ratio is 1:1, does it mean that the generator is connected in 345 kV as well? Thank you. Best regards, Ahmad On Thu, 7 Jul 2022 at 08:55, Carlos E Murillo-Sanchez <

Re: Question about case9

2022-07-06 Thread Carlos E Murillo-Sanchez
Ahmad Bariq Al Fahri wrote: I would like to ask about case9.m (9 bus, 3 generators case) system configuration. As I know that the parameters of 'TAP' (column 9) in the branch data are set to zero, does it mean that the system does

Question about case9

2022-07-06 Thread Ahmad Bariq Al Fahri
Dear Dr Ray, I would like to ask about case9.m (9 bus, 3 generators case) system configuration. As I know that the parameters of 'TAP' (column 9) in the branch data are set to zero, does it mean that the system does not consider transformer modelling? Is the generator directly connected to the

Re: Question on Branch Flows

2022-01-13 Thread Ahmad Bariq Al Fahri
nt Power Magnitudes (which appears as Section 5.4 in Revision 7)? > > On Thu, Jan 13, 2022 at 11:18 PM Ahmad Bariq Al Fahri < > bariqalfa...@gmail.com> wrote: > >> Dear all, >> >> I am trying to understand the mathematical model of branch flows in >> Techn

Re: Question on Branch Flows

2022-01-13 Thread Ahmad Bariq Al Fahri
Jan 13, 2022 at 11:18 PM Ahmad Bariq Al Fahri < > bariqalfa...@gmail.com> wrote: > >> Dear all, >> >> I am trying to understand the mathematical model of branch flows in >> Technical Notes (TN2) pdf file, but I have a question why do the branch >> flows

Re: Question on Branch Flows

2022-01-13 Thread Ray Daniel Zimmerman
I am trying to understand the mathematical model of branch flows in Technical Notes (TN2) pdf file, but I have a question why do the branch flows are expressed in squared form? Is it different if it is expressed without the squared form (only become: Sf - Smax). A detailed explanation would help me a

Re: Question on Branch Flows

2022-01-13 Thread Christian Cahig
g to understand the mathematical model of branch flows in > Technical Notes (TN2) pdf file, but I have a question why do the branch > flows are expressed in squared form? Is it different if it is expressed > without the squared form (only become: *Sf* - *Smax*). A detailed > explanation would help

Question on Branch Flows

2022-01-13 Thread Ahmad Bariq Al Fahri
Dear all, I am trying to understand the mathematical model of branch flows in Technical Notes (TN2) pdf file, but I have a question why do the branch flows are expressed in squared form? Is it different if it is expressed without the squared form (only become: *Sf* - *Smax*). A detailed

Re: Question about Matpower Modification

2021-12-14 Thread Ahmad Bariq Al Fahri
Thank you so much Dr. Ray. I really appreciate your help. On Tue, 14 Dec 2021 at 22:22, Ray Daniel Zimmerman wrote: > Yes, I should have mentioned MPNG as > an option for your problem. > > If none of the solvers are able to converge, you may very well have a >

Re: Question about Matpower Modification

2021-12-14 Thread Ray Daniel Zimmerman
Yes, I should have mentioned MPNG as an option for your problem. If none of the solvers are able to converge, you may very well have a problem with feasibility of your problem. If so, you might try relaxing some constraints until you achieve convergence, they

Re: Question about Matpower Modification

2021-12-13 Thread Ahmad Bariq Al Fahri
Thank you Sir for the response. I tried to add new variables as well as linear and nonlinear constraints. Modifications were made by increasing the matrix dimension and putting the additional equality and inequality as well as its derivatives (g, h, dg, dh, d2G, d2H). But, I did not get the

Re: Question about Matpower Modification

2021-12-13 Thread Ray Daniel Zimmerman
In order to help, we’ll need more information. Such as, what is the form of the additions you are making to the MATPOWER formulation? New variables? Linear and/or nonlinear constraints? New costs? And how are you trying to do the modifications? But first, let me strongly suggest using the

Question about Matpower Modification

2021-12-10 Thread Ahmad Bariq Al Fahri
Dear respected developer, I am Ahmad, currently doing research on Optimal Power and Gas Flow (OPGF). I tried to merge the electrical power system with the gas system to obtain the optimal power and gas flow. But, I face some problems when I concatenated the equality and inequality matrix (g, h,

Re: question about ORPD

2021-11-02 Thread Ray Daniel Zimmerman
Run an OPF with the active power constrained to their set points (PMIN=PMAX=desired PG) on all but the slack bus. This will minimize the slack bus generator cost, which minimizes the slack bus generation, i.e. minimizes system losses, all by optimizing the reactive power generation and voltage

question about ORPD

2021-11-01 Thread 2254878263
Hi all How to use Matpower to model reactive power planning? Thank you very much.

question about OPF

2021-11-01 Thread 2254878263
Hi all How to use Matpower to model reactive power planning? Thank you very much.

Re: question about OPF

2021-10-25 Thread Ray Daniel Zimmerman
MATPOWER does not currently implement a multi-period AC OPF, but if DC OPF is adequate, this is handled by MOST. See Example 5 in Section 7.2.1 in the MOST User’s Manual and

question about OPF

2021-10-24 Thread 2254878263
Hi all Does Matpower have any method to calculate the optimal power flow within 24 hours, with a period of 1 hour, considering the influence of generator slope climbing and landslide. Thank you very much.

?????? question about smartmarket

2021-10-21 Thread 2254878263
Thank you very much for your reply! ---- ??: "MATPOWER discussion forum"

Re: question about smartmarket

2021-10-20 Thread Ray Daniel Zimmerman
mailto:jh...@qq.com>> wrote: Do you know how to change the bids of Fixed load? -- 原始邮件 -- 发件人: "MATPOWER discussion forum" mailto:jh...@qq.com>>; 发送时间: 2021年10月20日(星期三) 下午4:27 收件人: "MATPOWER discussion forum"mailto:matpowe...@list.corne

question about smartmarket

2021-10-20 Thread 2254878263
Hi all I am learning to use smartmarket of Matpower 7.1 to calculate electricity price. I want to write in the bids of fixed loads in theMatpower 7.1.Plaese help me. Thank you very much.

?????? question about smartmarket

2021-10-20 Thread 2254878263
Do you know how to change the bids of Fixed load? ---- ??: "MATPOWER discussion forum"

?????? question about smartmarket

2021-10-20 Thread 2254878263
Thank you very much for your reply! ---- ??: "MATPOWER discussion forum"

Re: question about smartmarket

2021-10-19 Thread Ray Daniel Zimmerman
keeps reminding you that you can't send more than 1m files -- 原始邮件 -- 发件人: "MATPOWER discussion forum" mailto:engr.mwaqar6...@gmail.com>>; 发送时间: 2021年10月19日(星期二) 中午11:20 收件人: "MATPOWER discussion forum"mailto:matpowe...@list.cornell.edu>&g

?????? question about smartmarket

2021-10-19 Thread 2254878263
Sorry, the email keeps reminding you that you can't send more than 1m files ---- ??: "MATPOWER discussion forum"

?????? question about smartmarket

2021-10-19 Thread 2254878263
---- ??: "MATPOWER discussion forum"

Re: question about smartmarket

2021-10-18 Thread Engr M WAQAR
Hi. Can you send me the unzip folder of matpower7.1 so that i can myself check the report error. I will surely ask in the discussion forum then, what to do next. Thank You. On Mon, 18 Oct 2021 at 13:43, 2254878263 wrote: > Hi all > I am learning to use smartmarket of Matpower 7.1 to calculate

question about smartmarket

2021-10-18 Thread 2254878263
Hi all I am learning to use smartmarket of Matpower 7.1 to calculate electricity price. I want to change the number of schedulable loads in the manual routine, but the program keeps reporting errors. So ask how to change load bits.Plaese help me. Thank you very much.

Re: Line losses question

2021-07-05 Thread Ray Daniel Zimmerman
The branch model in the current version of MATPOWER does not include shunt conductance, only shunt capacitance. I’m afraid with the current models, you would have to enter any shunt conductances directly at the “from” and “to” buses (column GS in the bus matrix) and then add in those losses

Line losses question

2021-07-02 Thread Abdelrahman Aldik
Dears Does the line losses matpower function include the active power losses in shunt conductance that may result from the transformer representation using the PI model? If not, how to include it to calculate the total active power loss of the line? I'm asking that since I was reading the

Re: Continuous power flow question

2021-06-01 Thread Abhyankar, Shrirang G
From: on behalf of Simone Fratton Reply-To: MATPOWER discussion forum Date: Tuesday, June 1, 2021 at 4:08 AM To: "matpowe...@list.cornell.edu" Subject: Continuous power flow question Check twice before you click! This email originated from outside PNNL. Hi, I would like to ask where I c

Continuous power flow question

2021-06-01 Thread Simone Fratton
Hi, I would like to ask where I can find specific indications on the use of "continuous power flow" in Matpower? Maybe a video, an example Specifically I have a case (an electrical grid) for which Newton-Rapshon does not converge even if a solution exists and I thought of the "continuous

Re:A question in calculating power flow

2021-05-20 Thread yangyang
The voltage magnitude of the slack bus and PV buses is controlled by the VG column in gen field, namely, column 6 of mpc.gen. Changing column VM in mpc.bus does not change them. Best Regards, Yang Yang --Original-- From:

Re: A question in calculating power flow

2021-05-20 Thread Ilias Sarantakos
Hi Yan, Please try mpc.gen(6) = 1.03. Kind regards, Ilias *Dr Ilias Sarantakos* Research Associate School of Engineering Newcastle University Στις Πέμ, 20 Μαΐ 2021 στις 8:42 π.μ., ο/η 颜子恒 <220205...@seu.edu.cn> έγραψε: > Dears, > >Recently I have been confused by the voltage magnitude

A question in calculating power flow

2021-05-20 Thread 颜子恒
Dears, Recently I have been confused by the voltage magnitude setting in a case model. Suppose in a distribution system like 'case33bw.m', like the way I did in revising the power demand I was trying to increase the voltage magnitude of node 1(Reference node) by implementing

Re: Bus, Loads and Generators question

2020-11-23 Thread sizoduma
so i am leaning toward that.Sorry i didn’t mean to ask you to show me how to use matpower to solve my problem, i thought my question was way more trivial. I am just struggling a bit with the User’s Manual.Hope my question is not too specific:Is there a way to assign a maximum demand for a load

Re: Bus, Loads and Generators question

2020-10-20 Thread Ray Daniel Zimmerman
el Zimmerman<mailto:r...@cornell.edu> Inviato: lunedì 19 ottobre 2020 16:17 A: MATPOWER-L<mailto:matpowe...@list.cornell.edu> Oggetto: Re: Bus, Loads and Generators question You should not have to modify opf.violation if the problem is feasible. One thing you might try is to turn

R: Bus, Loads and Generators question

2020-10-20 Thread Davide Maglione
for your patience and support, Davide Da: Ray Daniel Zimmerman Inviato: lunedì 19 ottobre 2020 16:17 A: MATPOWER-L Oggetto: Re: Bus, Loads and Generators question You should not have to modify opf.violation if the problem is feasible. One thing you might try is to turn on OPF soft limits (see

Re: Bus, Loads and Generators question

2020-10-19 Thread Ray Daniel Zimmerman
a: Ray Daniel Zimmerman<mailto:r...@cornell.edu> Inviato: martedì 13 ottobre 2020 16:06 A: MATPOWER-L<mailto:matpowe...@list.cornell.edu> Oggetto: Re: Bus, Loads and Generators question Yes, the P absorbed by the dispatchable load appears as a negative generation, so the cost is evaluate

R: Bus, Loads and Generators question

2020-10-15 Thread Davide Maglione
A: MATPOWER-L Oggetto: Re: Bus, Loads and Generators question Yes, the P absorbed by the dispatchable load appears as a negative generation, so the cost is evaluated using a negative quantity. I’m not sure what you mean by optimize Va, V, and P absorbed by the loads, but not other Pg and Qg. I

Re: Bus, Loads and Generators question

2020-10-13 Thread Ray Daniel Zimmerman
;mailto:matpowe...@list.cornell.edu> Oggetto: Re: Bus, Loads and Generators question The P absorbed by the dispatchable load is already an optimization variable, included in Pg, since dispatchable loads are modeled as negative generators. So you may not even need to add a variable. Furthermore, you

R: Bus, Loads and Generators question

2020-10-12 Thread Davide Maglione
question The P absorbed by the dispatchable load is already an optimization variable, included in Pg, since dispatchable loads are modeled as negative generators. So you may not even need to add a variable. Furthermore, you can already impose costs on those variables via the gencost matrix

Re: Bus, Loads and Generators question

2020-10-09 Thread Ray Daniel Zimmerman
us, Loads and Generators question H [https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif]<https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=emailclient> Mail priva di virus. www.avast.com<https://w

R: Bus, Loads and Generators question

2020-10-08 Thread Davide Maglione
Oggetto: Re: Bus, Loads and Generators question H -- Questa e-mail è stata controllata per individuare virus con Avast antivirus. https://www.avast.com/antivirus

Re: Bus, Loads and Generators question

2020-10-08 Thread Ray Daniel Zimmerman
Da: Ray Daniel Zimmerman<mailto:r...@cornell.edu> Inviato: sabato 19 settembre 2020 17:39 A: MATPOWER-L<mailto:matpowe...@list.cornell.edu> Oggetto: Re: Bus, Loads and Generators question That sounds like a dispatchable load … see Section 6.4.2 in the User’s Manual. Ray

R: Bus, Loads and Generators question

2020-10-08 Thread Davide Maglione
model. I hope someone can help me. Best regards, Davide Maglione Da: Ray Daniel Zimmerman Inviato: sabato 19 settembre 2020 17:39 A: MATPOWER-L Oggetto: Re: Bus, Loads and Generators question That sounds like a dispatchable load … see Section 6.4.2 in the User’s Manual.    Ray On Sep 18

Re: Bus, Loads and Generators question

2020-09-21 Thread sizoduma
to ask you to show me how to use matpower to solve my problem, i thought my question was way more trivial. I am just struggling a bit with the User’s Manual.Hope my question is not too specific:Is there a way to assign a maximum demand for a load (in order to simulate the size of the storage

Re: Bus, Loads and Generators question

2020-09-21 Thread Ray Daniel Zimmerman
’t mean to ask you to show me how to use matpower to solve my problem, i thought my question was way more trivial. I am just struggling a bit with the User’s Manual. Hope my question is not too specific: Is there a way to assign a maximum demand for a load (in order to simulate the s

Re: Bus, Loads and Generators question

2020-09-21 Thread sizoduma
my problem, i thought my question was way more trivial. I am just struggling a bit with the User’s Manual. Hope my question is not too specific: Is there a way to assign a maximum demand for a load (in order to simulate the size of the storage), and then, after creating my cost function

Re: Bus, Loads and Generators question

2020-09-19 Thread Ray Daniel Zimmerman
ate. I have read few articles that uses OPF extensible structure to optimize storage size so i am leaning toward that. Sorry i didn’t mean to ask you to show me how to use matpower to solve my problem, i thought my question was way more trivial. I am just struggling a bit with the User’s Manual. H

R: Bus, Loads and Generators question

2020-09-18 Thread Davide Maglione
to solve my problem, i thought my question was way more trivial. I am just struggling a bit with the User’s Manual. Hope my question is not too specific: Is there a way to assign a maximum demand for a load (in order to simulate the size of the storage), and then, after creating my cost function

Re: Bus, Loads and Generators question

2020-09-10 Thread jnv484
from the generators? Thank you for your help, Best Regards, Davide Maglione Da: Ray Daniel Zimmerman Inviato: venerdì 24 luglio 2020 16:10 A: MATPOWER-L Oggetto: Re: Bus, Loads and Generators question It sounds like your P and Q are branch flow values, not nodal loads, so no they should

Re: Bus, Loads and Generators question

2020-09-10 Thread Ray Daniel Zimmerman
2020 16:10 A: MATPOWER-L<mailto:matpowe...@list.cornell.edu> Oggetto: Re: Bus, Loads and Generators question It sounds like your P and Q are branch flow values, not nodal loads, so no they should not be used as loads in the bus matrix. Ray On Jul 23, 2020, at 12:42 PM, Davide Maglione mail

R: Bus, Loads and Generators question

2020-09-10 Thread Davide Maglione
of energy as an additional power from the generators? Thank you for your help, Best Regards, Davide Maglione Da: Ray Daniel Zimmerman Inviato: venerdì 24 luglio 2020 16:10 A: MATPOWER-L Oggetto: Re: Bus, Loads and Generators question It sounds like your P and Q are branch flow values

Re: Bus, Loads and Generators question

2020-07-24 Thread Ray Daniel Zimmerman
merman<mailto:r...@cornell.edu> Inviato: venerdì 17 luglio 2020 22:40 A: MATPOWER-L<mailto:matpowe...@list.cornell.edu> Oggetto: Re: Bus, Loads and Generators question It isn’t completely clear what data you have to create your case, but you definitely need both load and generation for the

R: Bus, Loads and Generators question

2020-07-23 Thread Davide Maglione
again for your time, Davide Maglione Da: Ray Daniel Zimmerman Inviato: venerdì 17 luglio 2020 22:40 A: MATPOWER-L Oggetto: Re: Bus, Loads and Generators question It isn’t completely clear what data you have to create your case, but you definitely need both load and generation for the system

Re: Bus, Loads and Generators question

2020-07-18 Thread sebaa haddi
Dear Pr Ray.Z,Dear Prefessor , beleave me, I was impressed by your aditional features to unit commtement problem which  become a very interesting field I see, and when adding other depending demensions as storage case, contengency cases,  variables sources of power generation and thier

Re: Bus, Loads and Generators question

2020-07-17 Thread Ray Daniel Zimmerman
It isn’t completely clear what data you have to create your case, but you definitely need both load and generation for the system to make any sense. Total generation is equal to total load plus losses, so you need both. And dispatchable load refers to loads whose quantities are not fixed, but

Re: Bus, Loads and Generators question

2020-07-16 Thread sebaa haddi
a known load with Pd_max and Pd min levels Le jeudi 16 juillet 2020 à 17:06:34 UTC+2, Davide Maglione a écrit :   Hello,   For my thesys work i am trying to recreate a trasmission network with high penetration of wind power. I have some doubts on how to consider my buses,

Re: Question regarding adding cost function

2020-03-18 Thread Ray Daniel Zimmerman
bounce-124467581-85971...@list.cornell.edu<mailto:bounce-124467581-85971...@list.cornell.edu> mailto:bounce-124467581-85971...@list.cornell.edu>> on behalf of Ray Daniel Zimmerman mailto:r...@cornell.edu>> Sent: Tuesday, March 17, 2020 9:55 AM To: MATPOWER-L mailto:matpowe...@

Re: Question regarding adding cost function

2020-03-17 Thread Ali Mohammadi
2641017445763=3lxyL4rrWZXUqrZFdsajpO4A1YXnhlUpLyYyCBE%2Fjmw%3D=0> From: bounce-124467581-85971...@list.cornell.edu on behalf of Ray Daniel Zimmerman Sent: Tuesday, March 17, 2020 9:55 AM To: MATPOWER-L Subject: Re: Question regarding adding cost function I don’t think your

Re: Question regarding adding cost function

2020-03-17 Thread Ray Daniel Zimmerman
124463678-85971...@list.cornell.edu> mailto:bounce-124463678-85971...@list.cornell.edu>> on behalf of Ray Daniel Zimmerman mailto:r...@cornell.edu>> Sent: Monday, March 16, 2020 10:45 AM To: MATPOWER-L mailto:matpowe...@list.cornell.edu>> Subject: Re: Question regarding addi

Re: Question regarding adding cost function

2020-03-16 Thread Ali Mohammadi
M To: MATPOWER-L Subject: Re: Question regarding adding cost function The opf_model object (om) is created by opf_setup() which is called automatically when you execute runopf(). In order to modify it directly using om.add_quad_cost(), you will need to define a callback function as describ

Re: Question regarding adding cost function

2020-03-16 Thread Ray Daniel Zimmerman
The opf_model object (om) is created by opf_setup() which is called automatically when you execute runopf(). In order to modify it directly using om.add_quad_cost(), you will need to define a callback function as described in Chapter 7 of the manual. For a simple addition like this, it may be

Question regarding adding cost function

2020-03-12 Thread Ali Mohammadi
Hi, I want to add a cost function in my objective function. I wrote the code as follows but I got error please correct me, If my code is wrong (this is just the code example). case_name='9'; mpc=loadcase(['case',case_name]); om=opt_model(mpc); % test = loadcase('t_case30_userfcns') %

Re: Question about CPF

2019-07-02 Thread Abhyankar, Shrirang G
See below. Thanks, Shri From: on behalf of W Ruoyu Reply-To: MATPOWER discussion forum Date: Monday, July 1, 2019 at 5:35 PM To: MATPOWER discussion forum Subject: Re: Question about CPF Hi, Thanks for the reply ! That really helps. But I still have a little questions. To output

Re: Question about CPF

2019-07-01 Thread W Ruoyu
Hi, Thanks for the reply ! That really helps. But I still have a little questions. To output the maximum active power at the Nose Point for each bus, I think I should use results.bus( : , PD) rather than results.gen( : , PG), is that correct? Cause when I use results.gen( : , PG) for buses that

Re: Question about CPF

2019-07-01 Thread Ray Zimmerman
Hi Cynthia, See responses to your questions below … Ray > On Jun 30, 2019, at 5:06 PM, W Ruoyu wrote: > > > Could you please tell me the meaning of Vm = results.bus(:,8)? Why would it > output the voltage magnitude at the nose point for all the buses? This is simply to demonstrate how

Question about CPF

2019-06-30 Thread W Ruoyu
Hi, So sorry to bother you with these basic questions, but I’m really struggling to output the maximum real power and critical voltage at the nose point of the PV curve. I have searched and find this example: define_constants; mpopt = mpoption('out.all',0,'verbose',2); mpopt =

Re: Question about power flow for a system with faulted bus

2019-06-05 Thread Abhyankar, Shrirang G
forum Subject: Re: Question about power flow for a system with faulted bus Thanks Shri for your reply and the nice trick you mentioned; I never thought about it. How about using continuation power flow instead of a regular power flow? Is it possible to use it for this kind of problem? As you know

Re: Question about power flow for a system with faulted bus

2019-06-01 Thread Ismael K Abdulrahman
u>> Date: Saturday, June 1, 2019 at 1:17 AM To: "matpower-l@cornell.edu<mailto:matpower-l@cornell.edu>" mailto:matpower-l@cornell.edu>> Subject: Question about power flow for a system with faulted bus Dear Matpower community, I am a Ph.D. student working in

Re: Question about power flow for a system with faulted bus

2019-06-01 Thread Abhyankar, Shrirang G
Reply-To: MATPOWER discussion forum Date: Saturday, June 1, 2019 at 1:17 AM To: "matpower-l@cornell.edu" Subject: Question about power flow for a system with faulted bus Dear Matpower community, I am a Ph.D. student working in power system dynamic analysis. I use Matpower for

Question about power flow for a system with faulted bus

2019-06-01 Thread Ismael K Abdulrahman
Dear Matpower community, I am a Ph.D. student working in power system dynamic analysis. I use Matpower for computing the initial values of the system variables. I want to find the initial values of the algebraic variables (voltage magnitude, voltage angle, generator current phasors...) at

Re: Question regarding min up/down constraints in MOST

2019-05-14 Thread Ray Zimmerman
the min up/down times are 1 should result in an equivalent optimization problem. As to the question of why a different solution is found, that is to be expected for problems with multiple optimal solutions and depends on the path the solver takes to find the solution. I find that often very

R: Question regarding min up/down constraints in MOST

2019-05-08 Thread Antonio L'Abbate
Inviato: martedì 7 maggio 2019 12:21 A: MATPOWER-L@cornell.edu Oggetto: Question regarding min up/down constraints in MOST Dear Matpower community, I am working with a relatively large model ( approximately 1000 conventional generators and 4000 wind generators) and am solving a multi-period

Question regarding min up/down constraints in MOST

2019-05-07 Thread Hewes, Dominic
that the constraints are not required. My question is: If a generator has a minup/mindown limit set to 1 (i.e. no limit), does it meaningfully change the problem in MOST if I simply skip the minup/mindown constraints for this generator (i.e. do not add the constraints defined in lines 1538 to 1591 in most.m

Re: Question regarding incorporating contingency in DC OPF

2019-03-11 Thread Ray Zimmerman
I don’t have the case file you are using so I can’t duplicate your results, but the creation of an island does not necessarily change the cost, unless it forces a shift to more expensive generation. Have you looked at the dispatch before and after taking out that line? If the objective function

Question regarding incorporating contingency in DC OPF

2019-02-28 Thread tochi nwachuku
Hello, I am having some issues with Matpower results structure while calling a DC OPF. I disconnect one branch at a time (for loop) and solve for a couple of variables. I note that disconnection of branch (7-8) creates an island. This should change the Minimal cost. My algorithm gives the wrong

Re: Question regarding incorporating contingency in 'OPF' model

2019-02-21 Thread Jubeyer Rahman
generators (assuming a generator goes offline). Regards, Jubeyer On Thu, Feb 21, 2019 at 9:02 PM Sergio Raul Rivera Rodriguez < srrive...@unal.edu.co> wrote: > Hi Jubeyer, > > I did not understand the question, or questions. > > do you mean SCOPF?, I mean several conti

Re: Question regarding incorporating contingency in 'OPF' model

2019-02-21 Thread Sergio Raul Rivera Rodriguez
Hi Jubeyer, I did not understand the question, or questions. do you mean SCOPF?, I mean several contingencies? regards _ Sergio Rivera, E.E, PhD, IEEE Senior Member Fulbright Scholar University of Florida Associate Professor Universidad Nacional de Colombia

Re: Question regarding incorporating contingency in 'OPF' model

2019-02-21 Thread Jubeyer Rahman
15 feb. 2019 a las 11:04, Jubeyer Rahman () > escribió: > >> Hi, >> >> >> I am trying to figure out, how matpower deals with contingencies in >> 'Optimal Power Flow' process. For example, if I want to see the OPF result >> after a contingency take place, should I manua

Re: Question regarding incorporating contingency in 'OPF' model

2019-02-19 Thread Ray Zimmerman
> contingency take place, should I manually make the status of that branch > status from '1 to zero' or is there any automatic way to do that? Same > question goes for generators, should I just change the status of it or is > there any other way of doing it? > > Regards, > Jubeyer

Re: Question regarding incorporating contingency in 'OPF' model

2019-02-18 Thread Sergio Raul Rivera Rodriguez
I am trying to figure out, how matpower deals with contingencies in > 'Optimal Power Flow' process. For example, if I want to see the OPF result > after a contingency take place, should I manually make the status of that > branch status from '1 to zero' or is there any automatic way to do

Question regarding incorporating contingency in 'OPF' model

2019-02-15 Thread Jubeyer Rahman
that? Same question goes for generators, should I just change the status of it or is there any other way of doing it? Regards, Jubeyer

RE: Question about extended OPF optimality

2019-02-09 Thread Mariusz Drabecki
Thank you Ray. That is exactly the answer I was looking for. Best, Mariusz From: bounce-123315505-81515...@list.cornell.edu On Behalf Of Ray Zimmerman Sent: Friday, February 08, 2019 10:46 PM To: MATPOWER discussion forum Subject: Re: Question about extended OPF optimality

Question about extended OPF optimality

2019-02-07 Thread Mariusz Drabecki
Dear All, I would like to ask you if OPF solved by MIPS solver is proven to be globally optimal? I am especially interested by the case when we substitute the standard active cost by linear costs on reactive power generation and on voltage levels. I was trying to prove it myself yet

  1   2   3   4   5   >