-
Notifications
You must be signed in to change notification settings - Fork 57
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
VAr spelling inconsistency #59
Comments
Seems there are some more occurrances: https://github.com/sunspec/models/search?utf8=✓&q=var&type= |
Just a comment: instead of introducing a new encoding format (json) it would be great to address the content problems, too. Those won‘t be solved by switching to json? |
I completely agree that encoding format won't solve every problem. We are trying to achieve a number of things at the same time which hopefully represent improvements. It is our intention to resolve every open issue. Relating to this issue, I think we are required to be very conservative about changes that may break existing implementations. The existing models are frozen and only open to certain kinds of backward compatible changes. For existing models, I do not think we can change the actual point names as that could break some current implementations. The new models that are developed and tested are certainly open to these types of changes. |
@andig, perhaps we could write a custom checker to address these things? For units it could be based on the pysunspec lib and be run against any of the model formats. For some things like element order etc it would have to be format aware. Or perhaps in this case it can be achieved in the schemas by defining acceptable values? If the CI gets enabled at some point then everyone would know when they push something wrong rather than having to wait for someone to read it and find the errors (hopefully before lockdown?). The lockdown aspect that keeps us from changing existing models is exactly why extra care needs to be taken with automatic checks rather than just hoping people are really careful. |
Also, there needs to be a path forward to fix locked down things. Possibly requiring new model numbers for otherwise the same models. I'm not sure if that's a part of the plan or not. Old units would still use the incorrect old models but new units would use the new corrected models that fulfill the same purpose. Or something... but 'if it is broken it always will be' is trouble. |
In general, new model numbers are the standard way to fix broken frozen models. The 7xx models are both to provide 1547 required points and to also try to fix some of the fundamental aspects of the equivalent 1xx models which were confusing or broken such as curve update synchronization and reversion timer behavior. Along with more comprehensive documentation. |
Found a minor one in spelling the VAR:
Did not check if this is anywhere else, too.
The text was updated successfully, but these errors were encountered: