Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Data From the openHistorian #104

Open
logiclabsrl opened this issue Feb 2, 2018 · 1 comment
Open

Getting Data From the openHistorian #104

logiclabsrl opened this issue Feb 2, 2018 · 1 comment

Comments

@logiclabsrl
Copy link

Hi,
I need to use archived data with OpenHistorian 2 to test my application and I'm trying to use OpenPDC to playback historical data using archived frames in .d2 files.

Data are stored at 50 frames/s (50Hz system) and I want to playback 2 days (from 2018-01-13 00:00:00.000 to 2018-01-15 00:00:00.000) at the same frame rate.

I configured an output concentrated frame to a remote destination where I'm using PMUConnection tester to verify the correctness of playback.

I followed the steps listed at https://github.com/GridProtectionAlliance/openPDC/wiki/Getting-Data-From-the-openHistorian and I'm having a series of problems that I can not understand:

  • With the parameter "SimulateTimestamp=True", I was expecting the output concentrated frame had the current date (February, 2nd) and time while instead I find the same date (January, 13) and time as the data in the .d2 file
  • With the parameter "AutoRepeat=True", I was expecting that, when reaching StopTimeConstraint timetag in archive file, playback restart from beginning. Configuring an interval of 10 seconds (StartTimeConstraint=2018-01-13 00:00:00.000; StopTimeConstraint=2018-01-13 00:00:10.000), the output frame stop after ten seconds.
  • To have an output frame rate of 50 Frame/s, I don't understand how to configure parameters PublicationInterval and ProcessingInterval. I supposed to configure PublicationInterval with the value 200000 (20 ms using 100-ns tick interval) and ProcessingInterval=20. With these values, I verified with PMUconnection tester a real frame rate of 32 Frame/s
    Empirically, I verified a 50 Frame/s rate with these values:
    PublicationInterval=312500
    ProcessingInterval=20
    Considering that PublicationInterval is a temporal interval, I thought that increasing this value, I would have obtained a slower frame rate and, on the contrary, decreasing this value, I would have obtained a faster frame rate. What I find is exactly the opposite, that this parameter and the frame speed are directly proportional.

Any help would be really appreciated.

Thanks
Daniele

OpenPDC 2.4.120
Windows Server 2012

image

image

@ritchiecarroll
Copy link
Member

Is this working for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants