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

PacificPower Data Int vs Float #310

Open
solderq35 opened this issue Mar 19, 2024 · 1 comment
Open

PacificPower Data Int vs Float #310

solderq35 opened this issue Mar 19, 2024 · 1 comment
Labels
priority-low question Further information is requested queued Waiting on another task

Comments

@solderq35
Copy link
Contributor

image

Might need to change accumulated_real to float in SQL workbench

Some buildings like https://dashboard.sustainability.oregonstate.edu/#/building/46/2 seem to show a reading of 1 every day when they are actually decimal values being rounded to 1.

@solderq35
Copy link
Contributor Author

This issue may be more complicated than anticipated, as as it seems like most metrics other than accumulated_real (and a few others, like the default steam and gas measurements) use float data type in SQL database.

Also, I noticed that on the charts' frontend, all values are shown to 2 decimal places (ints shown as x.00). Since everything is already shown to 2 decimal places on the frontend anyways, I'm not sure the current code matches Lety's intent of not showing decimals to reduce clutter.

Not sure if there is an actual reason for some values being int data type in SQL or if it's a performance optimization.

This doesn't seem to be very high priority and has potential complications so I recommend waiting on further feedback from Lety (need to email her or set up meeting) before proceeding further.

@solderq35 solderq35 added queued Waiting on another task question Further information is requested and removed queued Waiting on another task labels Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority-low question Further information is requested queued Waiting on another task
Projects
None yet
Development

No branches or pull requests

1 participant