-
Notifications
You must be signed in to change notification settings - Fork 172
/
Copy pathunits.yaml
413 lines (352 loc) · 9.01 KB
/
units.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
# This file defines units supported in the VSS standard catalog
# See VSS documentation for information on syntax and intended content
# Length
mm:
definition: Length measured in millimeters
unit: millimeter
quantity: length
allowed-datatypes: ['numeric']
cm:
definition: Length measured in centimeters
unit: centimeter
quantity: length
allowed-datatypes: ['numeric']
m:
definition: Length measured in meters
unit: meter
quantity: length
allowed-datatypes: ['numeric']
km:
definition: Length measured in kilometers
unit: kilometer
quantity: length
allowed-datatypes: ['numeric']
inch:
definition: Distance measured in inches
unit: inch
quantity: length
allowed-datatypes: ['numeric']
# Velocity
km/h:
definition: Velocity measured in kilometers per hours
unit: kilometer per hour
quantity: velocity
allowed-datatypes: ['numeric']
m/s:
definition: Speed measured in meters per second
unit: meters per second
quantity: velocity
allowed-datatypes: ['numeric']
# Acceleration
m/s^2:
definition: Acceleration measured in meters per second squared
unit: meters per second squared
quantity: acceleration
allowed-datatypes: ['numeric']
cm/s^2:
definition: Acceleration measured in centimeters per second squared
unit: centimeters per second squared
quantity: acceleration
allowed-datatypes: ['numeric']
# Volume
ml:
definition: Volume measured in milliliters
unit: milliliter
quantity: volume
allowed-datatypes: ['numeric']
l:
definition: Volume measured in liters
unit: liter
quantity: volume
allowed-datatypes: ['numeric']
cm^3:
definition: Volume measured in cubic centimeters
unit: cubic centimeters
quantity: volume
allowed-datatypes: ['numeric']
# Temperature
celsius:
definition: Temperature measured in degree celsius
unit: degree celsius
quantity: temperature
allowed-datatypes: ['numeric']
# Angle
degrees:
definition: Angle measured in degrees
unit: degree
quantity: angle
allowed-datatypes: ['numeric']
# Angular Speed
degrees/s:
definition: Angular speed measured in degrees per second
unit: degree per second
quantity: angular-speed
allowed-datatypes: ['numeric']
rad/s:
definition: Angular speed measured in radians per second
unit: radians per second
quantity: angular-speed
allowed-datatypes: ['numeric']
# Power
W:
definition: Power measured in watts
unit: watt
quantity: power
allowed-datatypes: ['numeric']
kW:
definition: Power measured in kilowatts
unit: kilowatt
quantity: power
allowed-datatypes: ['numeric']
PS:
definition: Power measured in horsepower
unit: horsepower
quantity: power
allowed-datatypes: ['numeric']
# Work
kWh:
definition: Energy consumption measured in kilowatt hours
unit: kilowatt hours
quantity: work
allowed-datatypes: ['numeric']
# Mass
g:
definition: Mass measured in grams
unit: gram
quantity: mass
allowed-datatypes: ['numeric']
kg:
definition: Mass measured in kilograms
unit: kilogram
quantity: mass
allowed-datatypes: ['numeric']
lbs:
definition: Mass measured in pounds
unit: pound
quantity: mass
allowed-datatypes: ['numeric']
# Voltage
V:
definition: Electric potential measured in volts
unit: volt
quantity: voltage
allowed-datatypes: ['numeric']
# Electric Current
A:
definition: Electric current measured in amperes
unit: ampere
quantity: electric-current
allowed-datatypes: ['numeric']
# Electric Charge
Ah:
definition: Electric charge measured in ampere hours
unit: ampere hours
quantity: electric-charge
allowed-datatypes: ['numeric']
# Duration
ms:
definition: Duration measured in milliseconds
unit: millisecond
quantity: duration
allowed-datatypes: ['numeric']
s:
definition: Duration measured in seconds
unit: second
quantity: duration
allowed-datatypes: ['numeric']
min:
unit: minute
definition: Duration measured in minutes
quantity: duration
allowed-datatypes: ['numeric']
h:
definition: Duration measured in hours
unit: hour
quantity: duration
allowed-datatypes: ['numeric']
day:
definition: Duration measured in days
unit: days
quantity: duration
allowed-datatypes: ['numeric']
weeks:
definition: Duration measured in weeks
unit: weeks
quantity: duration
allowed-datatypes: ['numeric']
months:
definition: Duration measured in months
unit: months
quantity: duration
allowed-datatypes: ['numeric']
years:
definition: Duration measured in years
unit: years
quantity: duration
allowed-datatypes: ['numeric']
# Datetime
unix-time:
definition: Number of non-leap seconds which have passed since 00:00:00 UTC on Thursday, 1 January 1970
unit: UNIX Timestamp
quantity: datetime
allowed-datatypes: ['uint32','uint64','int64']
iso8601:
definition: Date and Time expressed as a string according to ISO 8601
unit: ISO 8601
quantity: datetime
allowed-datatypes: ['string']
# Pressure
mbar:
definition: Pressure measured in millibars
unit: millibar
quantity: pressure
allowed-datatypes: ['numeric']
Pa:
definition: Pressure measured in pascal
unit: pascal
quantity: pressure
allowed-datatypes: ['numeric']
kPa:
definition: Pressure measured in kilopascal
unit: kilopascal
quantity: pressure
allowed-datatypes: ['numeric']
psi:
definition: Pressure measured in pounds per square inch
unit: pounds per square inch
quantity: pressure
allowed-datatypes: ['numeric']
# Rating
stars:
definition: Rating measured in stars
unit: stars
quantity: rating
allowed-datatypes: ['numeric']
# Mass per time
g/s:
definition: Mass per time measured in grams per second
unit: grams per second
quantity: mass-per-time
allowed-datatypes: ['numeric']
# Mass per distance
g/km:
definition: Mass per distance measured in grams per kilometers
unit: grams per kilometer
quantity: mass-per-distance
allowed-datatypes: ['numeric']
# Energy consumption per distance
kWh/100km:
definition: Energy consumption per distance measured in kilowatt hours per 100 kilometers
unit: kilowatt hours per 100 kilometers
quantity: energy-consumption-per-distance
allowed-datatypes: ['numeric']
Wh/km:
definition: Energy consumption per distance measured in watt hours per kilometer
unit: watt hour per km
quantity: energy-consumption-per-distance
allowed-datatypes: ['numeric']
# Volume per distance
ml/100km:
definition: Volume per distance measured in milliliters per 100 kilometers
unit: milliliter per 100 kilometers
quantity: volume-per-distance
allowed-datatypes: ['numeric']
l/100km:
definition: Volume per distance measured in liters per 100 kilometers
unit: liter per 100 kilometers
quantity: volume-per-distance
allowed-datatypes: ['numeric']
# Volume flow rate
l/h:
definition: Flow measured in liters per hour
unit: liter per hour
quantity: volume-flow-rate
allowed-datatypes: ['numeric']
# Distance per volume
mpg:
definition: Distance per volume measured in miles per gallon
unit: miles per gallon
quantity: distance-per-volume
allowed-datatypes: ['numeric']
km/l:
definition: Distance per volume measured in kilometers per liter
unit: kilometers per liter
quantity: distance-per-volume
allowed-datatypes: ['numeric']
# Force
N:
definition: Force measured in newton
unit: newton
quantity: force
allowed-datatypes: ['numeric']
kN:
unit: kilo newton
definition: Force measured in kilo newton
quantity: force
allowed-datatypes: ['numeric']
# Torque
Nm:
definition: Torque measured in newton meters
unit: newton meter
quantity: torque
allowed-datatypes: ['numeric']
# Rotational Speed
rpm:
definition: Rotational speed measured in revolutions per minute
unit: revolutions per minute
quantity: rotational-speed
allowed-datatypes: ['numeric']
# Frequency
Hz:
definition: Frequency measured in hertz
unit: Hertz
quantity: frequency
allowed-datatypes: ['numeric']
cpm:
definition: Number of cycles per minute
unit: cycles per minute
quantity: frequency
allowed-datatypes: ['numeric']
bpm:
definition: Number of human heart beats per minute
unit: beats per minute
quantity: frequency
allowed-datatypes: ['numeric']
# Relation
ratio:
definition: Relation measured as ratio
unit: ratio
quantity: relation
allowed-datatypes: ['numeric']
percent:
definition: Relation measured in percent
unit: percent
quantity: relation
allowed-datatypes: ['numeric']
nm/km:
definition: nm/km
unit: nano meter per kilometer
quantity: relation
allowed-datatypes: ['numeric']
dBm:
definition: Power level expressed in decibels with reference to one milliwatt
unit: decibel milliwatt
quantity: relation
allowed-datatypes: ['numeric']
dB:
definition: Ratio of two values of a physical quantity, usually power or intensity, on a logarithmic scale.
unit: decibel
quantity: relation
allowed-datatypes: ['numeric']
# Resistance
Ohm:
definition: Electrical resistance measured in ohms
unit: Ohm
quantity: resistance
allowed-datatypes: ['numeric']
# Illuminance
lx:
definition: Light intensity in Lux
unit: lux
quantity: illuminance
allowed-datatypes: ['numeric']