This project has moved and is read-only. For the latest updates, please go here.

Problems with viewing and processing various averaged signals

Feb 25, 2013 at 1:30 PM
I am using the 1.5.179 version of openPDC, and one GPA-provided adapter: OneSecondFrequencyAdapter
OneSecondFrequencyAverager.dll,OneSecondFrequencyAverager.OneSecondFrequencyAverager,framesPerSecond=30;lagTime=7;leadTime=1;inputMeasurementKeys={PPA:36;PPA:55;PPA:74;PPA:87;PPA:94};outputMeasurements={PPA:6087;PPA:6088;PPA:6089;PPA:6090;PPA:6091};

and two adapters I created modeled after the OneSecondFrequencyAverager; a voltage phase angle averager, and a voltage phase angle slope (rate of change) adapter.

The values created by these adapters, when viewed in the 'Graph Measurements' view, seem correct. However, when viewed by the historian (either the viewer or via the web service), the values are always zero. I have created a Dynamic Calculation adapter to compute a value based on the average frequency and the average rate of change, and the inputs are always seen as zero.

What do I need to do to make the calculated values (which seem to exist in the graph) visible otherwize?
Mar 5, 2013 at 2:04 PM
Hi patpentz,

I ran a test the other day with 1.5.179 and the OneSecondFrequencyAverager, and I didn't have any problems graphing the average frequencies or viewing them in the historian. I also set up a dynamic calculation and the values show up as expected. Is it possible that another adapter in your system might be inadvertently setting the value to zero before many of the other adapters have access to it?

Stephen
Mar 5, 2013 at 2:10 PM
If it helps, I would expect that the order in which adapters receive measurements is the same as the order in which they appear when using the LIST command from the console.
Mar 5, 2013 at 3:38 PM
thanks. I'm glad that your test worked, since that means my problem must be some simple configuration issue. For some reason I cannot find the documentation I used to create my OneSecondFrequencyAverager.

The OneSecondFrequencyAverager adapter has FramesPerSecond=30, LagTime=7, LeadTime=1, as do my adapters for OneSecondPhaseAngleSlope and OneSecondPhaseAngleAverager. My DynamicCalculator adapter, which uses the results of OneSecondFrequencyAdapter and OneSecondPhaseAngleSlope as input, also has FramesPerSecond=30,LagTime=7, LeadTime=1.

No other adapters should be altering any of the results of the other adapters. When I modified the ExpressionText of the DynamicCalculation adapter to only have one or the other input measurement, the value zero is always seen.

The connection string for my OneSecondFrequencyAverager adapter:
framesPerSecond=30;lagTime=7;leadTime=1;inputMeasurementKeys={PPA:36;PPA:55;PPA:74;PPA:87;PPA:94};outputMeasurements={PPA:1152;PPA:1153;PPA:1154;PPA:1155;PPA:1156};
The connection string for my own adapters is similar, with different inputs and outputs, but otherwise modeled the same. The Graph Real-time Measurements display of these measurements is below. The 'CMP' measurements are the results of comparing the one-second frequency against the voltage phase angle slope; the results are always 1, since the inputs are always zero.I've also included a few moments of the historian export, as it is somewhat odd...





Historian Data Viewer Export: *-5h to *

Average,0,0,0,0,0,0
Maximum,0,0,0,0,0,0
Minimum,0,0,0,0,0,0

Time,BH_KEENEROAD-PA5#VPAAVG Output Measurement for NEISO_BH_KEENEROAD-PA5:VH/VPAAVG,BH_KEENEROAD-PA6#VPAAVG Output Measurement for NEISO_BH_KEENEROAD-PA6:VH/VPAAVG,BH_KEENEROAD-PA7#VPAAVG Output Measurement for NEISO_BH_KEENEROAD-PA7:VH/VPAAVG,BH_KEENEROAD-PA8#VPAAVG Output Measurement for NEISO_BH_KEENEROAD-PA8:VH/VPAAVG,BH_ORRINGTON_A-PA5#VPAAVG Output Measurement for NEISO_BH_ORRINGTON_A-PA5:VH/VPAAVG,BH_ORRINGTON_A-PA6#VPAAVG Output Measurement for NEISO_BH_ORRINGTON_A-PA6:VH/VPAAVG
05-Mar-2013 10:32:50.000,0
05-Mar-2013 10:32:51.000,0
05-Mar-2013 10:32:52.000,0,,0,0
05-Mar-2013 10:32:53.000,0,0,,0,,0
05-Mar-2013 10:32:54.000,0,,,,,0
05-Mar-2013 10:32:55.000,0
05-Mar-2013 10:32:56.000,0
05-Mar-2013 10:32:57.000,0,,,0,0
05-Mar-2013 10:32:58.000,0,,,0,,0
05-Mar-2013 10:32:59.000,0,0
05-Mar-2013 10:33:00.000,0,,0,,,0
05-Mar-2013 10:33:01.000,0,,,,0
05-Mar-2013 10:33:03.000,0
05-Mar-2013 10:33:04.000,0,,0,,0
05-Mar-2013 10:33:05.000,0
05-Mar-2013 10:33:06.000,0
05-Mar-2013 10:33:07.000,0
05-Mar-2013 10:33:08.000,0,,,,0,0
05-Mar-2013 10:33:09.000,0,,,,,0
05-Mar-2013 10:33:10.000,0,,,0
05-Mar-2013 10:33:11.000,0,0
05-Mar-2013 10:33:12.000,0
05-Mar-2013 10:33:13.000,0
05-Mar-2013 10:33:14.000,0,,0,0,0,0
05-Mar-2013 10:33:15.000,0,0,0,0,0,0
05-Mar-2013 10:33:16.000,0,0,0
05-Mar-2013 10:33:17.000,0,0,,,0,0
05-Mar-2013 10:33:18.000,0,,,,,0
05-Mar-2013 10:33:19.000,0
05-Mar-2013 10:33:20.000,0
05-Mar-2013 10:33:21.000,0,0,,0,,0
05-Mar-2013 10:33:22.000,0,,0



On Tue, Mar 5, 2013 at 9:04 AM, staphen <notifications@codeplex.com> wrote:

From: staphen

Hi patpentz,

I ran a test the other day with 1.5.179 and the OneSecondFrequencyAverager, and I didn't have any problems graphing the average frequencies or viewing them in the historian. I also set up a dynamic calculation and the values show up as expected. Is it possible that another adapter in your system might be inadvertently setting the value to zero before many of the other adapters have access to it?

Stephen

Read the full discussion online.

To add a post to this discussion, reply to this email (openpdc@discussions.codeplex.com)

To start a new discussion for this project, email openpdc@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com




--
Patrick Pentz
Mar 5, 2013 at 3:42 PM
forgot that gmail cannot handle msoft docs...


On Tue, Mar 5, 2013 at 10:36 AM, Patrick Pentz <patpentz@gmail.com> wrote:
thanks. I'm glad that your test worked, since that means my problem must be some simple configuration issue. For some reason I cannot find the documentation I used to create my OneSecondFrequencyAverager.

The OneSecondFrequencyAverager adapter has FramesPerSecond=30, LagTime=7, LeadTime=1, as do my adapters for OneSecondPhaseAngleSlope and OneSecondPhaseAngleAverager. My DynamicCalculator adapter, which uses the results of OneSecondFrequencyAdapter and OneSecondPhaseAngleSlope as input, also has FramesPerSecond=30,LagTime=7, LeadTime=1.

No other adapters should be altering any of the results of the other adapters. When I modified the ExpressionText of the DynamicCalculation adapter to only have one or the other input measurement, the value zero is always seen.

The connection string for my OneSecondFrequencyAverager adapter:
framesPerSecond=30;lagTime=7;leadTime=1;inputMeasurementKeys={PPA:36;PPA:55;PPA:74;PPA:87;PPA:94};outputMeasurements={PPA:1152;PPA:1153;PPA:1154;PPA:1155;PPA:1156};
The connection string for my own adapters is similar, with different inputs and outputs, but otherwise modeled the same. The Graph Real-time Measurements display of these measurements is below. The 'CMP' measurements are the results of comparing the one-second frequency against the voltage phase angle slope; the results are always 1, since the inputs are always zero.I've also included a few moments of the historian export, as it is somewhat odd...





Historian Data Viewer Export: *-5h to *

Average,0,0,0,0,0,0
Maximum,0,0,0,0,0,0
Minimum,0,0,0,0,0,0

Time,BH_KEENEROAD-PA5#VPAAVG Output Measurement for NEISO_BH_KEENEROAD-PA5:VH/VPAAVG,BH_KEENEROAD-PA6#VPAAVG Output Measurement for NEISO_BH_KEENEROAD-PA6:VH/VPAAVG,BH_KEENEROAD-PA7#VPAAVG Output Measurement for NEISO_BH_KEENEROAD-PA7:VH/VPAAVG,BH_KEENEROAD-PA8#VPAAVG Output Measurement for NEISO_BH_KEENEROAD-PA8:VH/VPAAVG,BH_ORRINGTON_A-PA5#VPAAVG Output Measurement for NEISO_BH_ORRINGTON_A-PA5:VH/VPAAVG,BH_ORRINGTON_A-PA6#VPAAVG Output Measurement for NEISO_BH_ORRINGTON_A-PA6:VH/VPAAVG
05-Mar-2013 10:32:50.000,0
05-Mar-2013 10:32:51.000,0
05-Mar-2013 10:32:52.000,0,,0,0
05-Mar-2013 10:32:53.000,0,0,,0,,0
05-Mar-2013 10:32:54.000,0,,,,,0
05-Mar-2013 10:32:55.000,0
05-Mar-2013 10:32:56.000,0
05-Mar-2013 10:32:57.000,0,,,0,0
05-Mar-2013 10:32:58.000,0,,,0,,0
05-Mar-2013 10:32:59.000,0,0
05-Mar-2013 10:33:00.000,0,,0,,,0
05-Mar-2013 10:33:01.000,0,,,,0
05-Mar-2013 10:33:03.000,0
05-Mar-2013 10:33:04.000,0,,0,,0
05-Mar-2013 10:33:05.000,0
05-Mar-2013 10:33:06.000,0
05-Mar-2013 10:33:07.000,0
05-Mar-2013 10:33:08.000,0,,,,0,0
05-Mar-2013 10:33:09.000,0,,,,,0
05-Mar-2013 10:33:10.000,0,,,0
05-Mar-2013 10:33:11.000,0,0
05-Mar-2013 10:33:12.000,0
05-Mar-2013 10:33:13.000,0
05-Mar-2013 10:33:14.000,0,,0,0,0,0
05-Mar-2013 10:33:15.000,0,0,0,0,0,0
05-Mar-2013 10:33:16.000,0,0,0
05-Mar-2013 10:33:17.000,0,0,,,0,0
05-Mar-2013 10:33:18.000,0,,,,,0
05-Mar-2013 10:33:19.000,0
05-Mar-2013 10:33:20.000,0
05-Mar-2013 10:33:21.000,0,0,,0,,0
05-Mar-2013 10:33:22.000,0,,0



On Tue, Mar 5, 2013 at 9:04 AM, staphen <notifications@codeplex.com> wrote:

From: staphen

Hi patpentz,

I ran a test the other day with 1.5.179 and the OneSecondFrequencyAverager, and I didn't have any problems graphing the average frequencies or viewing them in the historian. I also set up a dynamic calculation and the values show up as expected. Is it possible that another adapter in your system might be inadvertently setting the value to zero before many of the other adapters have access to it?

Stephen

Read the full discussion online.

To add a post to this discussion, reply to this email (openpdc@discussions.codeplex.com)

To start a new discussion for this project, email openpdc@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com




--
Patrick Pentz



--
Patrick Pentz
Mar 5, 2013 at 5:12 PM
Is the multiplier field in the Measurement table set to zero for any of your average frequency measurements?
Mar 5, 2013 at 5:38 PM
I'm now getting the data I expected! thanks so much!


On Tue, Mar 5, 2013 at 12:34 PM, Patrick Pentz <patpentz@gmail.com> wrote:
ALL OF THEM!!! I create the measurements programatically, and apparently missed the multiplier. I'll set to one and see what happens


On Tue, Mar 5, 2013 at 12:12 PM, staphen <notifications@codeplex.com> wrote:

From: staphen

Is the multiplier field in the Measurement table set to zero for any of your average frequency measurements?

Read the full discussion online.

To add a post to this discussion, reply to this email (openpdc@discussions.codeplex.com)

To start a new discussion for this project, email openpdc@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com




--
Patrick Pentz



--
Patrick Pentz
Mar 5, 2013 at 5:38 PM
ALL OF THEM!!! I create the measurements programatically, and apparently missed the multiplier. I'll set to one and see what happens


On Tue, Mar 5, 2013 at 12:12 PM, staphen <notifications@codeplex.com> wrote:

From: staphen

Is the multiplier field in the Measurement table set to zero for any of your average frequency measurements?

Read the full discussion online.

To add a post to this discussion, reply to this email (openpdc@discussions.codeplex.com)

To start a new discussion for this project, email openpdc@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com




--
Patrick Pentz