Added constants

pull/2/head
Mark 2023-06-14 08:42:10 -07:00
parent 193a2db294
commit 9ee9e3f513
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
2 changed files with 31 additions and 0 deletions

View File

@ -61,6 +61,7 @@
## Units ## Units
- long prefixes (megatonne, etc) - long prefixes (megatonne, etc)
- Unit order h\*kW vs kW\*h
- Print units with powers instead of / - Print units with powers instead of /
- HMS for degrees - HMS for degrees
- Exact radians, using pi constant? - Exact radians, using pi constant?

View File

@ -74,3 +74,33 @@ enum_name = "PPQ"
strings = "ppq" strings = "ppq"
value = "1e-15" value = "1e-15"
unit = true unit = true
[[constant]]
enum_name = "KWH"
strings = "kWh"
value = "kW * hour"
unit = true
[[constant]]
enum_name = "MWH"
strings = "WMh"
value = "MW * hour"
unit = true
[[constant]]
enum_name = "GWH"
strings = "GWh"
value = "GW * hour"
unit = true
[[constant]]
enum_name = "TWH"
strings = "TWh"
value = "TW * hour"
unit = true
[[constant]]
enum_name = "PWH"
strings = "PWh"
value = "PW * hour"
unit = true