Previous in Forum: Block an entire IP address?   Next in Forum: Serial communication
Close
Close
Close
11 comments
Power-User

Join Date: Aug 2007
Location: Heilonjang China. 2 blocks from you
Posts: 109
Good Answers: 5

Generator PQ curve on HMI

07/19/2023 9:02 AM

Hello,

I have a project for HMI design and one of the requirements by the client is to have a PQ curve displayed on the field HMI so that the performance of the generator can be visually seen in real-time. I have never done it before, so am requesting any assistance or anyone who has an idea on how to plot the PQ on the HMI, it can be a VB script or View Script.

Any assistance shall be much appreciated. Below is a sample of what am looking for.

Thanks.

__________________
poy
Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Comments rated to be Good Answers:

These comments received enough positive ratings to make them "good answers".

Comments rated to be "almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, rate them!
Guru

Join Date: Mar 2007
Location: by the beach in Florida
Posts: 33038
Good Answers: 1798
#1

Re: Generator PQ curve on HMI

07/19/2023 9:57 AM
__________________
All living things seek to control their own destiny....this is the purpose of life
Register to Reply Score 1 for Good Answer
Guru

Join Date: May 2018
Location: Under the spreading Bunya Trees, South Burnett, Queensland, Australia
Posts: 744
Good Answers: 64
#2

Re: Generator PQ curve on HMI

07/20/2023 4:06 AM

A lot depends on your HMI and the DCS/Controller.

I wrote a program to Display the efficiency of a dragline while digging. There were 300 lines of code that stored the instantaneous values of current vs voltage in a Modicon Quantum PLC, as the cycle was being performed. The HMI, a Citect, read the stored values and built up the display in both %, numerically and in Graphically.

With other PLC and HMI it would be possible as I have made a similar program in Citect to read out values from a Bailey infinet 90 and to do the same with the Citect reading from a Schneider Premium PLC.

__________________
Hare today, goon tomorrow!
Register to Reply
Power-User

Join Date: Aug 2007
Location: Heilonjang China. 2 blocks from you
Posts: 109
Good Answers: 5
#6
In reply to #2

Re: Generator PQ curve on HMI

07/24/2023 2:42 AM

Does this mean that an array of data is needed in the PLC first? I have the following generator data available to the HMI and PLC, Active Power, reactive power, power factor, voltage, and current. How can I make use of this data to produce a real-time performance plot for the active power, reactive power, and power factor?

The HMI is Emerson

__________________
poy
Register to Reply
Guru

Join Date: Jul 2016
Posts: 1235
Good Answers: 88
#3

Re: Generator PQ curve on HMI

07/20/2023 9:11 AM

You do understand that the PQ curve for the generator is a static curve, you just report where the generator happens to be operating on that curve. The generator manufacture will call it a reactive capability curve, and will limit it to normally 3 quadrants, very little is allowed if reactive is lagging, power system supplying excitation to the generator. There might be a family of curves depending on temperature of the windings.

Register to Reply
Guru

Join Date: Jul 2016
Posts: 1235
Good Answers: 88
#5
In reply to #3

Re: Generator PQ curve on HMI

07/20/2023 11:46 AM

Not 3 quadrants, my bad, really barely more than 1 quadrant, and generator receiving excitation from load system is called leading operation of generator, lagging generator operation supplies reactive Q to the load system.

Your green pointer 180 degree would be angled like an analog meter pointer, angle based on calculation of kVA & power factor, against the static meter range specified by the generator manufacturer.

Your pointer equation needs to be separated into separate segments, truncated as Rixter shows, perhaps masked by the static overlay to get around having to truncate the green pointer ray...

Register to Reply Score 1 for Good Answer
Power-User

Join Date: Aug 2007
Location: Heilonjang China. 2 blocks from you
Posts: 109
Good Answers: 5
#7
In reply to #5

Re: Generator PQ curve on HMI

07/24/2023 2:52 AM

Kindly assist or give me some more insight on how it can be done.

__________________
poy
Register to Reply
Guru

Join Date: Jul 2016
Posts: 1235
Good Answers: 88
#9
In reply to #7

Re: Generator PQ curve on HMI

07/24/2023 10:35 AM

As the figure supplied by Rixter shows, the Y value of the indicator is the real power output of the generator MVA positive or negative, the X value of your display array is the value of MVAR, which can be positive or negative. The limit you need to calculate at each operating point to decide if your current point exceeds or is less than the limit, to turn the indicator color from gray or green to red, depending on your situational awareness scheme for the HMI.

I would develop a set of equations regressed from operating points defined on the Reactive Capability Curve, you need 4 such limit equations, to describe the 4 segments.

For example, you calculate the current power factor, and decide that the equation for the limit is the one furthest to the right, power factor below 0.8, for example, if that happens to be the rated power factor. You then plot the X,Y pair, MVAR, MW, and use the inverse parabolic equation for the rightmost segment to decide if it is red or green or gray.

I would break up the curve between -MVAR and +MVAR into two equations, and if the operating point is at all to the left of the Y axis, I would turn the indicator blob Yellow, to show that we really don’t ever want to be operating to the left, caution is advised.

Register to Reply
Guru

Join Date: Jul 2016
Posts: 1235
Good Answers: 88
#10
In reply to #9

Re: Generator PQ curve on HMI

07/24/2023 11:02 AM

Active power is MW, reactive power is MVAR, both signed floats. MVA is (amps x volts x square root of 3) / 1,000,000, and Power Factor is MW / MVA also a signed float. The square root of the sum of MW squared and MVAR squared is also MVA, you may be able to use trig in your calculations, but I like to code at the simplest forms, for the next person as well as for me understanding it 2 months later.

(Depending on the size of your machine, kVA may be more appropriate)

Register to Reply
3
Guru

Join Date: Apr 2010
Location: About 4000 miles from the center of the earth (+/-100 mi)
Posts: 9673
Good Answers: 1103
#4

Re: Generator PQ curve on HMI

07/20/2023 9:55 AM
Register to Reply Good Answer (Score 3)
Guru
United Kingdom - Member - Indeterminate Engineering Fields - Control Engineering - New Member

Join Date: Jan 2007
Location: In the bothy, 7 chains down the line from Dodman's Lane level crossing, in the nation formerly known as Great Britain. Kettle's on.
Posts: 31836
Good Answers: 834
#8

Re: Generator PQ curve on HMI

07/24/2023 7:25 AM

Why?

__________________
"Did you get my e-mail?" - "The biggest problem in communication is the illusion that it has taken place" - George Bernard Shaw, 1856
Register to Reply
3
Power-User

Join Date: Aug 2007
Location: Heilonjang China. 2 blocks from you
Posts: 109
Good Answers: 5
#11

Re: Generator PQ curve on HMI

11/17/2023 1:48 PM

Hello Members,

Thank you all for the guidance; it has been immensely helpful. I successfully plotted the curve by obtaining values for reactive power, active power, and power factor from a digital power meter to the PLC. I then accessed the PLC tags from the HMI and plotted the P and Q values. To ensure accurate representation on the graph, I converted them to per unit (p.u) and scaled them using linear interpolation.

For the calculation of apparent power, I utilized an HMI script, the same script used for scaling and converting values to per unit. Although I had the power factor, which should have allowed for a direct calculation using S = P\PF, I opted for the equation S = sqrt(P^2 + Q^2) to avoid potential issues related to division by zero. I was uncertain whether the divide-by-zero issue could be handled in the HMI program.

Sorry for the delayed feedback,

__________________
poy
Register to Reply Good Answer (Score 3)
Register to Reply 11 comments
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Comments rated to be Good Answers:

These comments received enough positive ratings to make them "good answers".

Comments rated to be "almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, rate them!
Copy to Clipboard

Users who posted comments:

olivinak (3); PWSlack (1); Rixter (1); rwilliams (4); SolarEagle (1); Stef (1)

Previous in Forum: Block an entire IP address?   Next in Forum: Serial communication

Advertisement