-
Notifications
You must be signed in to change notification settings - Fork 46
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
Timestamp issues #7
Labels
Comments
RadevicI
changed the title
sending own timestamp, without using the system time
Timestamp issues
Jun 28, 2018
Hello @RadevicI, Thanks for reporting this issue. The thing is that We will fix this issue by checking So it will look like this:
|
veljkoDjurkovic
added a commit
to veljkoDjurkovic/pypmu
that referenced
this issue
Jul 28, 2022
Skalar2001
added a commit
to Skalar2001/pypmu-popravka
that referenced
this issue
Jul 28, 2022
The thing is that if frasec: resolves as False if frasec is zero. We will fix this issue by checking if frasec is not None: (and if soc is not None:). Methods set_soc() and set_frasec() will validate values.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi to all,
In order to test the performance of the algorithm running in my PMU prototype, I decided to use your pyPMU model to enable connection between the sensor and local PDC in the lab. In case when the reporting rate is set to be 50 frames/s, the data are being sent each 20 ms (50 Hz systems). Therefore, fraction of second is getting the values equal to 0, 20000, 40000, .... 900000,...0 etc. It has been noticed that each time when timestamp of 0 fraction of second is sent, PDC received the frasec of the system time (time.time()) instead of 0.
The problem is solved by modifying the frame.py in def set_time:
Instead of:
This code is written:
BR,
Isidora
The text was updated successfully, but these errors were encountered: