Re: MOST preventive security

2023-05-12 Thread Carlos E Murillo-Sanchez
Dear Igor, please see comments below. Igor Verbruggen wrote: Dear all,   I am attempting to use MOST to formulate a DC security constrained OPF, with preventive and corrective

Re: Calculate shunt capacitance

2022-11-15 Thread Carlos E Murillo-Sanchez
naime ahmadi wrote: Hello, I want to calculate shunt capacitance (c) in the attached figure. In the branch data of MATPOWER we have b. Is it correct to use this formulation to calculate c c=b/(2*pi*f)

Re: Ybus

2022-10-10 Thread Carlos E Murillo-Sanchez
Slight correction: Sf = V( mpc.branch(:, F_BUS) ) .* conj(Yf * V); St = V( mpc.branch(:, T_BUS) ) .* conj(Yf * V); carlos. Ray Daniel Zimmerman wrote: In matrix form, you can do the corresponding calculations

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 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

Re: How to change the power injection

2022-05-02 Thread Carlos E Murillo-Sanchez
naime ahmadi wrote: Hello, How can I change the power injection to flow measurement? For example, in the IEEE 14-bus system, bus 2 is connected to buses 1,

Re: Building Bus Impedance Matrix for IEEE 33-Bus Radial System - Matpower

2022-02-09 Thread Carlos E Murillo-Sanchez
Harun Hökelek wrote: Dear all, I’m trying to obtain bus impedance matrix of IEEE 33-Bus test system by inversing admittance matrix. However inv(makeYbus(case-data)) gives badly scaled or singular warning. Is there any way to get the bus impedance matrix of this system? Sincerely, Harun Dear

Re: DC Jacobian calculation

2021-11-24 Thread Carlos E Murillo-Sanchez
naime ahmadi wrote: Dear Professor Ray, I have a 3 bus system and want to calculate the DC Jacobian. I attached the result that I want. My problem is that I do not know which function in MATPOWER does exactly this calculation. I also attached the 3 bus system in MATPOWER format. Look at the

Re: Issue with flattening piecewise linear cost function in OPF

2021-07-22 Thread Carlos E Murillo-Sanchez
Müller, Tobias wrote: Hello everyone,   I have problems when I have a piecewise linear cost function on some generators which increases slower after a break point as the power

Re: nodal prices become zero, when using flexible generators

2021-04-29 Thread Carlos E Murillo-Sanchez
Matthias: You are specifying piece-wise linear costs with corner points at (100, 1000) and (110,1000).  That's a single flat linear segment, which of course will have a marginal cost of zero.  In general, if these flexible generators are not against a

Re: Constructing IEEE second benchmark for subsynchronous resonance using matpower

2021-03-24 Thread Carlos E Murillo-Sanchez
yangyang wrote: Thank you Carlos, I have also found it; the tap should be the ratio of per unit voltages instead of nominal voltages. But after changing the tap to 1, the power flow shows that all buses are 1 pu 0 degree, and it still

Re: Constructing IEEE second benchmark for subsynchronous resonance using matpower

2021-03-24 Thread Carlos E Murillo-Sanchez
yangyang wrote: Hi Carlos, I think there is a bus labeled 1 in the bus field, next to the "mpc.bus" in the file, and it is a slack bus. If there was not a slack bus, runpf() will report an error. So this may not be the problem of my case...

Re: Constructing IEEE second benchmark for subsynchronous resonance using matpower

2021-03-24 Thread Carlos E Murillo-Sanchez
yangyang wrote: Dear all, I am trying to construct the power flow of IEEE 2nd benchmark for SSR study; and my implementation is as attached. The capacity compensation is 55% and the other data can be found in the

Re: loss as objective function

2021-03-01 Thread Carlos E Murillo-Sanchez
Hi all; Actually, what  you need to do is to set equal linear costs for all generators.  If all linear cost coefficients are 1.0, for example, then you get to minimize the sum of all generation, which is a proxy for minimizing losses. carlos.

Re: circulating current (MVAR loss)

2020-12-16 Thread Carlos E Murillo-Sanchez
Russ Patterson wrote: Hi - I am still trying to hand calculate the flow into branch 2 from bus 1 to bus 2.  I can’t get my results to match MATPOWER.   I get Q into the banks

Re: pf.nr.max_it

2020-12-10 Thread Carlos E Murillo-Sanchez
Russ Patterson wrote: Hi friends,   Per Table 4-2 in the manual, I want to increase the number of iterations to solve my power flow.  So, I added a line to my .m file as you see below. 

Re: infinite bus, 1 branch/1 gen

2020-12-09 Thread Carlos E Murillo-Sanchez
Russ Patterson wrote: Hi Carlos,   Thank you.  That makes sense.  Based on that, I would expect to be able to set the bus voltage, Vm, and it stick, but it doesn’t.  If I set

Re: infinite bus, 1 branch/1 gen

2020-12-09 Thread Carlos E Murillo-Sanchez
Russ Patterson wrote: Hi Uriel,   Is there documentation (apologies if I missed it) that explain how the power flow handles input data?  For example,  from the case you

Re: Storage Dependencies

2020-06-23 Thread Carlos E Murillo-Sanchez
Rene Kruessmann wrote: Hello everyone, I have a question regarding how storages can get connected at different positions within the grid. I want to add 2 storages, one at the top of the grid and the other one at the bottom, that are connected with each other to reduce the costs of redispatch.

Re: Commitment status and actual generation in zero cost units in MOST

2020-05-05 Thread Carlos E Murillo-Sanchez
Carlos Ferrandon Cervantes wrote: Hello everyone: I’ve been working quite a while with a UC problem in MOST, using the IEEE RTS. I realised that when I compare the mdo.UC.CommitSched results with mdo.results.ExpectedDispatch

Re: Extensible OPF

2020-01-03 Thread Carlos E Murillo-Sanchez
Dear Yang: If I understand correctly what you have in mind, then it seems to me that you have two choices:  1) approximate the exponential in a limited range with a higher order polynomial (which MATPOWER can easily handle), or 2) write matlab code to implement user-defined cost functions

Re: Violation of Voltage Magnitude Constraints

2019-12-12 Thread Carlos E Murillo-Sanchez
#FOO CEJUN, JOEL# wrote: I am a student working on an OPF model for a 15 bus power system. I discovered an issue whereby the converged voltage magnitude output values do not keep within the

Re: How to estimate transformer ratio

2019-12-12 Thread Carlos E Murillo-Sanchez
Pfeifer, Lars Philipp wrote: Hello everybody, I have a question about the usage of the transformer in the branch matrix. I have been reading the manual a few times and also took many looks in the example cases. But I still don’t really understand how I have to fill in the matrix for the

Announcing MATPOWER-Natural Gas 0.99a

2019-10-18 Thread Carlos E Murillo-Sanchez
. Please use it, break it, and tell us about any issues that you find. Sincerely, Carlos E. Murillo-Sanchez, Universidad Nacional de Colombia - Manizales Sergio García Marín,  Universidad Nacional de Colombia - Manizales Wilson González Vanegas, Universidad Tecnológica de Pereira

Re: About the branch violation

2019-09-24 Thread Carlos E Murillo-Sanchez
To expand a little bit on Ray's response:  In power systems, we tend to have labels for very specific kinds of problems; one such label is "power flow" or "load flow".  This refers to a problem in which given some input parameters (values of loads,

Re: [MOST] Speed up repeated optimization of dispatch

2019-07-13 Thread Carlos E Murillo-Sanchez
Reinhold Bertram wrote: Dear all, is it possible to speed up the repeated solving of a deterministic multi-period dispatch problem with MOST when only the loadprofile changes? At the moment SetupTime is about 2 seconds for each iteration. Is it possible to skip/shorten this time? Best

Re: Least squares OPF

2019-06-24 Thread Carlos E Murillo-Sanchez
Actually, since the quadratic costs that Mariusz wants are diagonal, it is possible to use the normal polynomial cost mechanism in mpc.gencost (including the cost on the reactive generations; see the footnote in the manual at page 152).

Re: How to solve pf with one bus faulted?

2019-06-03 Thread Carlos E Murillo-Sanchez
Ismael K Abdulrahman wrote: Dear Matpower community, I have a system with one load bus faulted to ground (v=0). The system with normal operation works fine. The system with the fault, however, cannot be solved owing to low voltage problem. I tried to deal the faulted load bus as a generator

Re: Query regarding incorporating equations or modifying equations while running AC PF

2019-02-26 Thread Carlos E Murillo-Sanchez
Jubeyer Rahman wrote: Hi, I have several questions regarding the AC power flow in matpower. a. I would like to know whether the AC Power Flow command ('runpf') ,when called, does it have any constraint to constrain the transformer power rating violation which is related to the real and

Re: warning- after make new network

2019-02-11 Thread Carlos E Murillo-Sanchez
amir ali Hosseini wrote: Dear Sir, i trying make a new network. 37 bus but ! after runpf  .i have warning! can you help me ? thanks a lot. my warning is : Warning: Matrix is singular to working precision. > In newtonpf (line 89)   In runpf (line 204) find attachment . new network with 37 node.

Re: power flow problem

2019-02-11 Thread Carlos E Murillo-Sanchez
wrote: No, I don't On Sun, Feb 10, 2019, 1:24 AM Carlos E Murillo-Sanchez <ce.murillosanc...@gmail.com wrote: Do you include reactive generation in the decision variab

Re: power flow problem

2019-02-09 Thread Carlos E Murillo-Sanchez
2019 at 15:42, Carlos E Murillo-Sanchez <ce.murillosanc...@gmail.com> wrote: Rather, it seems that your optimization method should take into account any constraint violation and fix the

Re: power flow problem

2019-02-09 Thread Carlos E Murillo-Sanchez
Rather, it seems that your optimization method should take into account any constraint violation and fix the issue by itself.  In some methods, such as GA, one way to do this is by using penalty functions on constraint violations. carlos.

Re: Are there any crossing in power system

2018-12-05 Thread Carlos E Murillo-Sanchez
naime ahmadi wrote: Hi, I have question about branch data in case 57 bus system in matpower. When I look at diagram of IEEE 57 bus system, I can see it have some crossing in the network between lines. Are there any crossing in power system? Thanks, Naime Hi Naime:  Short answer is yes. 

Re: solving SCDCOPF with rescheduling in MOST

2018-12-04 Thread Carlos E Murillo-Sanchez
onsidering the ramping up/down limits of the generation? Kind regards, Carlos Ferrandon El mar., 4 dic. 2018 a las 16:30, Carlos E Murillo-Sanchez (<ce.murillosanc...@gmail.com>)

Re: solving SCDCOPF with rescheduling in MOST

2018-12-04 Thread Carlos E Murillo-Sanchez
Carlos:  MOST models post-contingency states explicitly, and these states influence the possible base case states directly so that the base cases are secure in light of the specific contingencies considered. carlos. Carlos Ferrandon Cervantes

Re: derivative of real current w.r.t voltage

2018-12-04 Thread Carlos E Murillo-Sanchez
Shiva Moshtagh wrote: Hello Can I use rectangular coordinates in matpower ? for example I know that there are real and imaginary parts of  power injections and power flows as well as bus voltages, but for branch current there is not rectangular coordinate. Suppose that I want to add

Re: HVDC and SVC

2018-11-14 Thread Carlos E Murillo-Sanchez
To clarify a little further on Ray's advice: An SVC can be approximated by a generator under voltage control that can sink QMIN or source QMAX MVArs, but this would be accurate for an SVC with a slope of infinity (i.e., constant voltage).  If you

Re: Configuration of OPF

2018-09-04 Thread Carlos E Murillo-Sanchez
The equations are generally available in the OPF literature.  For specific GAMS modeling, you may want to look at https://www.gams.com/latest/psoptlib_ml/libhtml/index.html carlos. Jane Cheung wrote: Dear all,

Re: magnitude and the phase angle of the current in the branches

2018-03-31 Thread Carlos E Murillo-Sanchez
nt. Thanks. On Sat, Mar 31, 2018 at 12:41 PM, Carlos E Murillo-Sanchez <ce.murillosanc...@gmail.com> wrote: Assuming that the system data is in structure 'mpc', and that the buses are numbered consecutively

Re: magnitude and the phase angle of the current in the branches

2018-03-31 Thread Carlos E Murillo-Sanchez
. Mostafa Mohammadpourfard wrote: Thank you, Carlos. May I ask you to write the code here? I am not a power system student. Thanks On Sat, Mar 31, 2018 at 9:41 AM, Carlos E Murillo-Sanchez <ce.murillos

Re: magnitude and the phase angle of the current in the branches

2018-03-31 Thread Carlos E Murillo-Sanchez
You have the bus voltages; now you just need to multiply the system's nodal admittance matrix by the complex voltage vector to get the complex currents vector. See the makeYbus function in MATTPOWER. Carlos. Arkan Arkan wrote: Thank you, Ilias. But, unfortunately, there is not any direct

Re: Power Flow in Matpower

2018-03-21 Thread Carlos E Murillo-Sanchez
The Ybus matrix computed from the data in your file has NaN's and Inf's because branch # 69 from bus 16 to bus 17 has zero series impedance.  You must collapse buses 16 and 17 into a single bus before applying any algorithm to the system because the electrical

Re: Power Flow in Matpower

2018-03-20 Thread Carlos E Murillo-Sanchez
Let's see,  Mohammed:  I tried the data in MATPOWER format that you posted originally, and applied the case_info(0) function to it, yielding the following results: >> case_info(mpc) Checking connectivity ... 3 connected groups, 1 isolated bus Elapsed

Re: how to add constraints by direct specification

2017-12-26 Thread Carlos E Murillo-Sanchez
In the actual optimization problem, everything is in per unit. Therefore, you probably want to specify the right hand side of your inequality as 70/mpc.baseMVA . Carlos. Teiji Ponishi wrote: Dear all, I am trying to add the following simple constraints by direct specification. 0 <=

Re: Implementing Transmission Switching in MATPOWER

2017-11-12 Thread Carlos E Murillo-Sanchez
Matt: I have proof-of-concept code that implements line switching with disjunctive constraints. Email me separately. Carlos. Matt Roveto wrote: Hello, I hope you are all well. I am trying to implement a transmission switching DCOPF model to MATPOWER for use in a research project according

Re: PF and OPF did not converge

2017-10-04 Thread Carlos E Murillo-Sanchez
bus ? Thanks On 4 Oct 2017, at 18:12, Carlos E Murillo-Sanchez <ce.murillosanc...@gmail.com> wrote: Dear Chara

Re: PF and OPF did not converge

2017-10-04 Thread Carlos E Murillo-Sanchez
Dear Charalambos: To begin with, you have a load of 894.31 MW (computed with sum(mpc.bus(:,PD))  and a total generation capacity of 30 (computed with sum(mpc.gen(:, PMAX)) .  Your slack generator has PMAX specified as zero.  And it seems to me that many

Re: Hydropower in MATPOWER MOST

2017-09-29 Thread Carlos E Murillo-Sanchez
Stephen: For hydro plants with reservoir, the way I have done this is by assigning a daily (or weekly, depending on the length of the planning horizon) amount of energy as the initial storage state, to be used throughout the horizon optimally. As for the cost, it could even be zero; the

Re: How to form the connection or bus incidence matrix ?

2017-08-01 Thread Carlos E Murillo-Sanchez
Saeed: you need to add the sdp_pf sub-folder to MATLAB's execution path. carlos. Saeed Ahmed wrote: Hi Community,  For Making the he connection or bus incidence  matrix  i use

Re: Asymmetrical transmission line limits

2017-05-10 Thread Carlos E Murillo-Sanchez
You can get an approximation to this on the active power flow using the angular difference limits in specified in the branch table.  Columns ANGMAX and ANGMIN tell the opf solver to implement ANGMIN  <=  \theta_f - \theta_t  <=  ANGMAX Carlos.

Re: DCOPF with non-convex obj. function

2017-02-27 Thread Carlos E Murillo-Sanchez
Oh, and by the way, do try IPOPT if you still have not done so. Carlos Carlos E Murillo-Sanchez wrote: Enrico: I would certainly experiment with the values of the reactive component of loads.  In fact, an extreme

Re: DCOPF with non-convex obj. function

2017-02-27 Thread Carlos E Murillo-Sanchez
st regards,       Enrico 2017-02-25 22:01 GMT+01:00 Carlos E Murillo-Sanchez <ce.murillosanc...@gmail.com>: Perhaps you can try to run an AC OPF with branches that are represented only by the series re

Re: DCOPF with non-convex obj. function

2017-02-25 Thread Carlos E Murillo-Sanchez
Perhaps you can try to run an AC OPF with branches that are represented only by the series reactance (no line charging capacitance nor resistance); one of the AC solvers might be able to solve the resulting problem. Carlos. Enrico Vaccariello wrote: Dear all MATPOWER developers and users,

Re: Error running PF

2017-02-24 Thread Carlos E Murillo-Sanchez
Brenda: That is exactly what the slack generator is expected to do in a traditional load flow. I suggest that you look up any classic textbook (Bergen, Wood & Wollenberg, etc.) and learn about the load flow problem and its standard assumptions. carlos. BRENDA ROJAS DELGADO wrote: Hi,

Re: generate a new case file

2017-01-31 Thread Carlos E Murillo-Sanchez
With the loading pattern in your network, it is simply not possible to attain the voltage levels that you want without using some sort of voltage compensation at one or more locations.  Even setting the voltage setpoint of the source at 1.1 p.u., the resulting

Re: capacitive transformer branches in casefiles?

2017-01-17 Thread Carlos E Murillo-Sanchez
Hi; Looking at the diagram of the 118 bus system, it seems that the branches in question are a combination of  a transformer and a line.  Evidently, the pi model in the case data is an approximation of this combined setup.  But that is how the

Re: Ybus-matrix

2016-08-08 Thread Carlos E Murillo-Sanchez
...@list.cornell.edu [mailto:bounce-120671035-76197...@list.cornell.edu] On Behalf Of Carlos E Murillo-Sanchez Sent: Friday, August 05, 2016 11:10 AM To: MATPOWER discussion forum <matpowe...@list.cornell.edu>;

Re: opf

2016-08-08 Thread Carlos E Murillo-Sanchez
The LMP are shadow prices (Lagrange multipliers) on the active nodal balance. Even if there is no load at a bus, its balance equation must still be fulfilled and it carries with it a multiplier in the lagrangian function. Mounika Vanjarapu wrote: I have a doubt regarding the LMPs in an

Re: Ybus-matrix

2016-08-05 Thread Carlos E Murillo-Sanchez
When you simplified away the PQ buses, you lost the ability to specify loads in them.  So, theoretically, you could perform a load flow in which you can only have loads at the 54 generator buses.  You cannot use runpf, though,  as runpf starts by building the

Re: MOST example

2016-06-03 Thread Carlos E Murillo-Sanchez
, but we hope that it will be useful for most people and most problems. carlos. Carlos E Murillo-Sanchez wrote: Because modeling as a dispatchable (up to Pmax) generator allows the optimization to curtail the wind intake for security

Re: MOST example

2016-06-03 Thread Carlos E Murillo-Sanchez
  From: bounce-120538094-71172...@list.cornell.edu [mailto:bounce-120538094-71172...@list.cornell.edu] On Behalf Of Carlos E Murillo-Sanchez Sent: Friday, June 03, 2016 11:29 AM To: MATPOWER discussion

Re: MOST example

2016-06-03 Thread Carlos E Murillo-Sanchez
For each time period, there can be several wind scenarios. The idea is to capture the variability of wind, given a forecast, using those plausible wind realizations.  In each scenario, the Pmax value of the wind generator varies to indicate the availability of

Re: penalty

2016-05-12 Thread Carlos E Murillo-Sanchez
Dear Mounika: We need to understand the nature of your question. It seems as if you might be trying to force a two-stage decision problem onto the framework of a single-stage one. Hence Ray's answer. Please ellucidate. carlos. Mounika Vanjarapu wrote: sir can we pose penalties for

Re: Running bpmpd

2015-03-25 Thread Carlos E Murillo-Sanchez
the 32 bit version with the command : matlab -maci If you are running on windows, you might have the 32 bit version somewhere in the Program Files-x86 folder. Carlos. Malcolm Barnacle wrote: Dear Carlos E. Murillo-Sanchez, I am trying to use the bpmpd solver for a dcopf problem. I have

Re: Convergence Issue for Distribution Network Power Flow Analysis

2015-02-23 Thread Carlos E Murillo-Sanchez
Hi; You have used the TAP column of the branch table to indicate two transformers with a 55:1 ratio, and then you used the LV impedances, I think, still in PU with a base voltage of 22KV; they are pretty large.  The TAP column should be used to specify

Re: AW: Solved case does not converge in zero iterations

2015-01-28 Thread Carlos E Murillo-Sanchez
Dear Dominic: The PF solver takes the generator voltage setpoint from the gen(:, VG), thus changing the voltage values set by the OPF at generator buses.  Try resultsOPF=runopf(mpc) %calculate opf

Re: Forcing PG,QG to zero in the slack bus

2014-11-29 Thread Carlos E Murillo-Sanchez
1-28 20:34 GMT+01:00 Carlos E Murillo-Sanchez ce.murillosanc...@gmail.com: If there is only one point of connection from the MV network to the HV one, why can't you model this particular bus as a reference bus with a generator that ca

Re: OPF convergence issue: resolving voltage constraint violations by optimizing generator dispatch

2014-08-28 Thread Carlos E Murillo-Sanchez
Isabel: Try creating a small band of acceptable voltage limits at the generator bus say   VMIN =  Vcenter - epsilon = V = Vcenter + epsilon = VMAX,   then start slowly moving Vcenter from the initial optimization problem's solution towards the

Re: Load Voltages

2013-11-07 Thread Carlos E Murillo-Sanchez
[ref pv, pq] = bustypes(bus, gen) ( or [ref pv, pq] = bustypes(results.bus, results.gen) ) and then results.bus(pq, VM) carlos. Kusi, Samuel A wrote: Is there any way in MatPower to call out just the load voltages? results.bus(:, VM) calls all buss voltages. Is there any code that can

Re: matrix singular to working precision - error in AC powerflow

2013-08-13 Thread Carlos E Murillo-Sanchez
It seems to me that you have an instance of a data file which is aimed at detailed modeling of all of the system's elements. This kind of data is useful for graphical representation, but it poses a major problem: it assigns different bus numbers to elements that

Re: conductor resistance and power rating (MVA)

2013-07-11 Thread Carlos E Murillo-Sanchez
Dear Jiashen: The model used in Matpower is the standard pi one-line equivalent of a three phase transmission line, with quantities in per-unit. This is constructed from a base voltage equal to sqrt(3) times the phase voltage and a base power equal to three times the per-phase power. With

Re: Can MATPOWER do Security constrained OPF computation?

2013-07-08 Thread Carlos E Murillo-Sanchez
One possible way, using system replication to build an augmented system with coupling constraints among the different islands, is what we originally employed a few years ago for this: http://www.sciencedirect.com/science/article/pii/S0167923613001152 linhomeperson wrote: Dear MATPOWER users,

Re: Ideally coupled bus bars

2013-06-07 Thread Carlos E Murillo-Sanchez
Mr. Acker: The mathematical problem that is solved behind the scenes is simply singular in light of such modeling detail. Any robust solver would actually look for such occurences in the data and collapse the busbars into a single one, and then, as a post-solution-processing strategy, split

Re: Branch limit and bus voltage violation

2013-05-08 Thread Carlos E Murillo-Sanchez
As well as adding coordination costs in separation and coordination optimization schemes :-) . Ray Zimmerman wrote: The basekV column of the bus matrix has no effect on the solution. I am not aware of any real cost

Re: Ideally coupled busbars

2013-04-18 Thread Carlos E Murillo-Sanchez
Unfortunately, this problem is of an intrinsic nature. If it is an OPF that you are running, you might try using additional linear constraints to equate the two bus bars magnitudes and angles, and hope that the underlying linear algebra algorithms will deal with

Re: load flow problem

2013-02-23 Thread Carlos E Murillo-Sanchez
Ahmad: If baseMVA is 100, then Bs in pu should be 0.19 . carlos. ahmad rezaee wrote: Dear Dr Zimmerman and all friends I have written one load flow code with Gauss-Sidel and one with Newton-Raphson. Both of them lead to the same results. For validating my codes I compared the results

Re: reactive power cost calculation in AC OPF

2012-10-31 Thread Carlos E Murillo-Sanchez
Santiago: You can use a piecewise linear cost model with two segments, with vertex points at (-Qnegmax, Qnegprice*Qnegmax), (0,0), (Qposmax, Qposprice*Qposmax) . Santiago Torres wrote: Dear Ray and Matpower friends I want to use the reactive power cost of AC optimal power flow. I

Re: 回复:Modelling passive / non controlled loads in matpower

2012-10-24 Thread Carlos E Murillo-Sanchez
You can specify bus shunt conductances and capacitive susceptances in the GS and BS columns of the bus matrix as MW and Mvars at nominal voltage. And yes, the assumption that loads are modeled as PQ quantities is standard in the load flow problem. Using a different model for loads is a

Re: AC power low analysis does not converge with EU power grid model

2012-09-20 Thread Carlos E Murillo-Sanchez
Dear Bela: Running MINOPF on the system, it seems that both active and reactive balances are hard to fulfill in bus 706. Carlos. Bela Genge wrote: Dear all, I am having some problems running an AC power flow with the attached case system. This is an approximate EU Power Grid model that

Re: Photovoltaic Generators modelling

2012-09-02 Thread Carlos E Murillo-Sanchez
Richard: One easy way to minimize losses using the opf solver is to assign to all generators the same linear fuel cost. If all sources have the same cost, then the optimizer will try to minimize losses. However, you have to provide sensible VMIN, VMAX limits for all buses in the bus table,

Re: line Capacity for IEEE 56 bus

2012-09-01 Thread Carlos E Murillo-Sanchez
Hi; Unfortunately, the original data does not include those parameters. A while ago, based on information about base transmission line voltage, standard conductor sizes, and information about whether certain lines were single or double

Re: p-opf in Matpower

2012-09-01 Thread Carlos E Murillo-Sanchez
Iman: two methods are compared in this paper. The 2-point estimate tries to capture moments of the distribution using just two _deterministic_ OPFs. The cumulant method assumes linear propagation (i.e., based on a sensitivity analysis of the KKT conditions) of the pdfs of the quantities

Re: p-opf in Matpower

2012-09-01 Thread Carlos E Murillo-Sanchez
I think that this is actually a good review of the issues involved in attempting a true probabilistic power flow: http://ieeexplore.ieee.org/xpl/login.jsp?tp=arnumber=4523658url=http%3A%2F%2Fieeexplore.ieee.org%2Fiel5%2F4511470%2F4523365%2F04523658.pdf%3Farnumber%3D4523658 iman wrote: Dear

Re: Initial guess for the power flow

2012-08-23 Thread Carlos E Murillo-Sanchez
Hi; There are diagrams for the ieee 30 bus system and the 118 bus system around, may also for others. I will send you these two in a separate mail. carlos. Shri wrote: On Aug 20, 2012, at 11:11 AM, Carlos E Murillo-Sanchez ce.murillosanc...@gmail.com wrote: Power networks are usually

Re: Matpower Repository

2012-08-21 Thread Carlos E Murillo-Sanchez
Hi; I am not sure that I completely follow your second question. With regards to the first one, we really have just the ones that are distributed with MATPOWER, plus some others that we use in research and which may contain propietary data. Your second question... if the solvers find a

Re: Question about Nominal_PD and Pload

2012-08-21 Thread Carlos E Murillo-Sanchez
Let me see if I get this rightt: 1) You define real power dispatches of non-slack generators in a test case, perhaps also change the amount of load, and then 2) you run a power flow, ostensibly with runpf. But then, 3) you find that the dispatch values that you had defined in step (1) for

Re: Question about Nominal_PD and Pload

2012-08-21 Thread Carlos E Murillo-Sanchez
my question is what is MATPOWER doing for solving the DC power flow that causes this. It would be of great help to me if you answer this. All the best, Hanie On Tue, Aug 21, 2012 at 2:46 PM, Carlos E Murillo-Sanchez ce.murillosanc...@gmail.com mailto:ce.murillosanc...@gmail.com wrote: Let

Re: Initial guess for the power flow

2012-08-20 Thread Carlos E Murillo-Sanchez
, Carlos E Murillo-Sanchez wrote: I can envision that this method of randomly connecting two systems might easily create unsolvable systems, with wild angular differences even if solvable. That is not how transmission networks are designed. Thanks for your comments Carlos. Any tips on how to go

Re: PV Generators and Transformer modelling

2012-08-20 Thread Carlos E Murillo-Sanchez
So, if the reactive dispatch of your generators is constrained to be within a 0.95 power factor, then you can use MATPOWER's trapezoidal modeling of the (P,Q) feasible region. as opposed to simple bound constraints on P and Q for a generator. In your case, if Pmin reaches down to 0, then you

Re: Unbalance loads on low voltage grid, how simulate

2012-08-20 Thread Carlos E Murillo-Sanchez
Hi Rui; Unfortunately MATPOWER uses one-line equivalent flows, so it cannot do unbalanced three-phase analysis. carlos. Rui Ferreira wrote: Dear Sirs, I built a small network to represent a branch of low voltage grid, I have a transformer 400 kVA 15kV/400V and downstream I have the LV

Re: PV Generators and Transformer modelling

2012-08-19 Thread Carlos E Murillo-Sanchez
Um, an unfortunate crisscross with acronyms... by PV generators do you mean power-voltage as in classical power flow problem parlance or do you rather mean photo voltaic? Richard Ngonga wrote: Hi there, I am working on a thesis on reactive power control on a distributed network with

Re: Initial guess for the power flow

2012-08-15 Thread Carlos E Murillo-Sanchez
I can envision that this method of randomly connecting two systems might easily create unsolvable systems, with wild angular differences even if solvable. That is not how transmission networks are designed. Shri wrote: Hi, I am trying to create a bigger test case by duplicating a

Re: probabilistic power flow

2012-06-08 Thread Carlos E Murillo-Sanchez
Iman: The power flow is a deterministic problem, because you cannot have PF variables obey Kirchhoff's laws in a valid probabilistic manner. However, you can have probability-weighted deterministic power flow scenarios representing some distribution, and depending on what kind of things you

Re: slack bus issue

2012-05-29 Thread Carlos E Murillo-Sanchez
If the angles change from the value in the data tables after you run runpf(), then it just means that the initial data is not a steady state solution to the AC power flow, and therefore such data is meaningless. There is no before this shift has happened. carlos. Hanie Sedghi wrote: Dear

Re: sampling

2012-05-18 Thread Carlos E Murillo-Sanchez
There is a rather flexible utility in matpower for scaling loads. Type help scale_load at the matlab prompt for help on how to use it. Otherwise, if you just want to modify inflexible demand, you could do something like mpc = loadcase('case118'); define_constants; Nominal_PD = mpc.bus(:,

Re: sampling

2012-05-18 Thread Carlos E Murillo-Sanchez
Oops, that fourth line should be Nominal_QD = mpc.bus(:, QD); Carlos E Murillo-Sanchez wrote: There is a rather flexible utility in matpower for scaling loads. Type help scale_load at the matlab prompt for help on how to use it. Otherwise, if you just want to modify inflexible demand

Re: AW: Transformer modelling

2011-09-02 Thread Carlos E Murillo-Sanchez
André: The ratio that is to be entered is a tap ratio for transformers that have variable tap ratio capability, not a turns ratio; Tap ratios are usually close to unity, say within [0.95, 1.05] . Turn ratios are done away with in per unit modeling. And phase shifting transformers (a

Re: Linear Shift Factors

2011-03-02 Thread Carlos E Murillo-Sanchez
Hello; An optimal power flow, when confronted with an incremental load change, dictates a distributed slack-taking rule that maintains optimality conditions. "The proportion is fixed for an incremental load change in any bus" - yes, if the costs are linear. If the costs are adequately

Re: bpmpd mex question

2010-11-04 Thread Carlos E Murillo-Sanchez
Are you running 32 or 64 bit Matlab? The mex file is 32 bit and can only run under 32 bit Matlab. Berk Kapicioglu wrote: Dear colleagues, I would like to use bpmpd. I found it while searching for a state-of-the-art QP solver that is super fast and can deal with sparse matrices when

  1   2   >