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

Correct spelling of unit "var" -> "VAr" #732

Closed
Argafal opened this issue Mar 3, 2023 · 10 comments
Closed

Correct spelling of unit "var" -> "VAr" #732

Argafal opened this issue Mar 3, 2023 · 10 comments
Assignees
Labels
wontfix This will not be worked on

Comments

@Argafal
Copy link
Contributor

Argafal commented Mar 3, 2023

Patch below:

diff --git a/src/web/html/visualization.html b/src/web/html/visualization.html
index 4c3c6a4..781893a 100644
--- a/src/web/html/visualization.html
+++ b/src/web/html/visualization.html
@@ -81,7 +81,7 @@
                             ml("div", {class: "hr"}),
                             ml("div", {class: "row"}, [
                                 numMid(total[3], "W", "DC Power"),
-                                numMid(total[4], "var", "Reactive Power")
+                                numMid(total[4], "VAr", "Reactive Power")
                             ])
                         ])
                     ])
@@ -115,7 +115,7 @@
                                 numMid(obj.ch[0][1], "A", "Current"),
                                 numMid(obj.ch[0][3], "Hz", "Frequency"),
                                 numMid(obj.ch[0][9], "%", "Efficiency"),
-                                numMid(obj.ch[0][10], "var", "Reactive Power"),
+                                numMid(obj.ch[0][10], "VAr", "Reactive Power"),
                                 numMid(obj.ch[0][4], "", "Power Factor")
                             ])
                         ])

@knickohr
Copy link

knickohr commented Mar 3, 2023

Bei der Gelegenheit auch die Zeilenabstände zwischen den Feldern im grünen Bereich etwas größer machen. Verwirrt beim lesen sonst etwas.

7158DA0F-0B94-459F-B854-55FD5236005E

@beegee3
Copy link
Contributor

beegee3 commented Mar 3, 2023

... und die % Werte (Efficiency, Irradiation) mit 2 Nachkommastellen. Sowieso bei allen Werten mit Nachkommastellen diese fix, also auch, wenn da nur Nullen stehen. Sonst springen die Werte in der Anzeige unangenehm (hab' aktuell 2 Sekunden Intervall).
... und bei der Temperatur auch das Grad Zeichen, also °C

@roku133
Copy link
Contributor

roku133 commented Mar 3, 2023

Wenn mir persönlich auch das Einheitenzeichen "VAr" für die Blindleistung besser gefiele, ist es "var":
Blindleistung Var
1 var = 1 W
https://de.wikipedia.org/wiki/Var_(Einheit)

@DB1BMN
Copy link

DB1BMN commented Mar 4, 2023

Vorsicht!
Das Einheitenzeichen für die Blindleistung ist 'var', also alles klein geschrieben.
Ähnlich wie bei 'Ampere', 'Volt' und 'Farad', wähend die namensgebenden Physiker Ampère, Volta und Faraday hießen

@lumapu
Copy link
Owner

lumapu commented Mar 6, 2023

was jetzt genau, ich glaube wir haben jetzt alle Varianten gesehen, lowercase, uppercase und camelcase
Was ist jetzt richtig?

@stefan123t
Copy link
Collaborator

stefan123t commented Mar 6, 2023

@lumapu Siehe Wikipedia: https://de.wikipedia.org/wiki/Var_(Einheit)
Das Var (mit dem Einheitenzeichen: var) ist in der elektrischen Energietechnik eine gesetzliche Einheit für die Blindleistung. Das Var wurde früher auch Blindwatt (Einheitenzeichen: bW) genannt.

Ursprung
Die Bezeichnung Var (VaR/VAr) kommt vom Begriff „Voltampere Reaktiv“ und wurde 1932 von dem Rumänen Constantin Budeanu vorgeschlagen und von der International Electrotechnical Commission (IEC) festgelegt.[1][2]

Also laut Wikipedia ist die kleingeschrieben Variante var das eigentliche SI-Einheitenzeichen.
VaR/VAr in camel-case war der ursprüngliche Vorschlag bzw. die Erklärung und Var ist der Name der Einheit.

@stefan123t
Copy link
Collaborator

stefan123t commented Mar 6, 2023

Wie @roku133 richtig geschrieben hat VAr ist für jeden vermutlich einfacher zu lesen, eben weil VoltAmpere reaktiv bzw. VA reaktiv fast selbsterklärend ist, aber formell richtig ist einzig und allein var weil es die SI-Einheiten so vorgeben.

@knickohr
Copy link

knickohr commented Mar 6, 2023

Ich kenne es auch nur als VA (ohne r).

@Ollipop030
Copy link

Ich kenne es auch nur als VA (ohne r).

Das ist dann aber Maßeinheit für die Scheinleistung.

lumapu added a commit that referenced this issue Mar 7, 2023
improved `/live` margins #732
renamed `var` to `VAr` #732
lumapu added a commit that referenced this issue Mar 8, 2023
changed `var` / `VAr` to SI unit `var` #732
fix MQTT retained flags for totals (P_AC, P_DC) #726, #721
@lumapu lumapu self-assigned this Mar 8, 2023
@lumapu lumapu added the wontfix This will not be worked on label Mar 8, 2023
@Argafal
Copy link
Contributor Author

Argafal commented Mar 13, 2023

Fair enough :)

@Argafal Argafal closed this as completed Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

8 participants