sysml-validate 0.11.0 → 0.14.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/LICENSE +27 -27
  2. package/README.md +200 -200
  3. package/out/main.js +598 -142
  4. package/out/main.js.map +4 -4
  5. package/package.json +57 -57
  6. package/resources/sysml.dimension-table.json +1 -1
  7. package/resources/sysml.library/Domain Libraries/Analysis/.meta.json +9 -9
  8. package/resources/sysml.library/Domain Libraries/Analysis/.project.json +26 -26
  9. package/resources/sysml.library/Domain Libraries/Analysis/AnalysisTooling.sysml +33 -33
  10. package/resources/sysml.library/Domain Libraries/Analysis/SampledFunctions.sysml +118 -118
  11. package/resources/sysml.library/Domain Libraries/Analysis/StateSpaceRepresentation.sysml +143 -143
  12. package/resources/sysml.library/Domain Libraries/Analysis/TradeStudies.sysml +170 -170
  13. package/resources/sysml.library/Domain Libraries/Cause and Effect/.meta.json +7 -7
  14. package/resources/sysml.library/Domain Libraries/Cause and Effect/.project.json +22 -22
  15. package/resources/sysml.library/Domain Libraries/Cause and Effect/CausationConnections.sysml +82 -82
  16. package/resources/sysml.library/Domain Libraries/Cause and Effect/CauseAndEffect.sysml +81 -81
  17. package/resources/sysml.library/Domain Libraries/Geometry/.meta.json +7 -7
  18. package/resources/sysml.library/Domain Libraries/Geometry/.project.json +26 -26
  19. package/resources/sysml.library/Domain Libraries/Geometry/ShapeItems.sysml +898 -898
  20. package/resources/sysml.library/Domain Libraries/Geometry/SpatialItems.sysml +167 -167
  21. package/resources/sysml.library/Domain Libraries/Metadata/.meta.json +9 -9
  22. package/resources/sysml.library/Domain Libraries/Metadata/.project.json +18 -18
  23. package/resources/sysml.library/Domain Libraries/Metadata/ImageMetadata.sysml +77 -77
  24. package/resources/sysml.library/Domain Libraries/Metadata/ModelingMetadata.sysml +142 -142
  25. package/resources/sysml.library/Domain Libraries/Metadata/ParametersOfInterestMetadata.sysml +38 -38
  26. package/resources/sysml.library/Domain Libraries/Metadata/RiskMetadata.sysml +99 -99
  27. package/resources/sysml.library/Domain Libraries/Quantities and Units/.meta.json +28 -28
  28. package/resources/sysml.library/Domain Libraries/Quantities and Units/.project.json +22 -22
  29. package/resources/sysml.library/Domain Libraries/Quantities and Units/ISQ.sysml +42 -42
  30. package/resources/sysml.library/Domain Libraries/Quantities and Units/ISQAcoustics.sysml +439 -439
  31. package/resources/sysml.library/Domain Libraries/Quantities and Units/ISQAtomicNuclear.sysml +2726 -2726
  32. package/resources/sysml.library/Domain Libraries/Quantities and Units/ISQBase.sysml +206 -206
  33. package/resources/sysml.library/Domain Libraries/Quantities and Units/ISQCharacteristicNumbers.sysml +1991 -1991
  34. package/resources/sysml.library/Domain Libraries/Quantities and Units/ISQChemistryMolecular.sysml +1353 -1353
  35. package/resources/sysml.library/Domain Libraries/Quantities and Units/ISQCondensedMatter.sysml +1223 -1223
  36. package/resources/sysml.library/Domain Libraries/Quantities and Units/ISQElectromagnetism.sysml +2333 -2333
  37. package/resources/sysml.library/Domain Libraries/Quantities and Units/ISQInformation.sysml +958 -958
  38. package/resources/sysml.library/Domain Libraries/Quantities and Units/ISQLight.sysml +1537 -1537
  39. package/resources/sysml.library/Domain Libraries/Quantities and Units/ISQMechanics.sysml +1564 -1564
  40. package/resources/sysml.library/Domain Libraries/Quantities and Units/ISQSpaceTime.sysml +1169 -1169
  41. package/resources/sysml.library/Domain Libraries/Quantities and Units/ISQThermodynamics.sysml +1256 -1256
  42. package/resources/sysml.library/Domain Libraries/Quantities and Units/MeasurementRefCalculations.sysml +30 -30
  43. package/resources/sysml.library/Domain Libraries/Quantities and Units/MeasurementReferences.sysml +526 -526
  44. package/resources/sysml.library/Domain Libraries/Quantities and Units/Quantities.sysml +107 -107
  45. package/resources/sysml.library/Domain Libraries/Quantities and Units/QuantityCalculations.sysml +70 -70
  46. package/resources/sysml.library/Domain Libraries/Quantities and Units/SI.sysml +378 -378
  47. package/resources/sysml.library/Domain Libraries/Quantities and Units/SIPrefixes.sysml +48 -48
  48. package/resources/sysml.library/Domain Libraries/Quantities and Units/TensorCalculations.sysml +49 -49
  49. package/resources/sysml.library/Domain Libraries/Quantities and Units/Time.sysml +274 -274
  50. package/resources/sysml.library/Domain Libraries/Quantities and Units/USCustomaryUnits.sysml +260 -260
  51. package/resources/sysml.library/Domain Libraries/Quantities and Units/VectorCalculations.sysml +62 -62
  52. package/resources/sysml.library/Domain Libraries/Requirement Derivation/.meta.json +7 -7
  53. package/resources/sysml.library/Domain Libraries/Requirement Derivation/.project.json +18 -18
  54. package/resources/sysml.library/Domain Libraries/Requirement Derivation/DerivationConnections.sysml +62 -62
  55. package/resources/sysml.library/Domain Libraries/Requirement Derivation/RequirementDerivation.sysml +38 -38
  56. package/resources/sysml.library/Kernel Libraries/Kernel Data Type Library/.meta.json +8 -8
  57. package/resources/sysml.library/Kernel Libraries/Kernel Data Type Library/.project.json +10 -10
  58. package/resources/sysml.library/Kernel Libraries/Kernel Data Type Library/Collections.kerml +176 -176
  59. package/resources/sysml.library/Kernel Libraries/Kernel Data Type Library/ScalarValues.kerml +23 -23
  60. package/resources/sysml.library/Kernel Libraries/Kernel Data Type Library/VectorValues.kerml +63 -63
  61. package/resources/sysml.library/Kernel Libraries/Kernel Function Library/.meta.json +22 -22
  62. package/resources/sysml.library/Kernel Libraries/Kernel Function Library/.project.json +14 -14
  63. package/resources/sysml.library/Kernel Libraries/Kernel Function Library/BaseFunctions.kerml +79 -79
  64. package/resources/sysml.library/Kernel Libraries/Kernel Function Library/BooleanFunctions.kerml +22 -22
  65. package/resources/sysml.library/Kernel Libraries/Kernel Function Library/CollectionFunctions.kerml +68 -68
  66. package/resources/sysml.library/Kernel Libraries/Kernel Function Library/ComplexFunctions.kerml +47 -47
  67. package/resources/sysml.library/Kernel Libraries/Kernel Function Library/ControlFunctions.kerml +116 -116
  68. package/resources/sysml.library/Kernel Libraries/Kernel Function Library/DataFunctions.kerml +42 -42
  69. package/resources/sysml.library/Kernel Libraries/Kernel Function Library/IntegerFunctions.kerml +43 -43
  70. package/resources/sysml.library/Kernel Libraries/Kernel Function Library/NaturalFunctions.kerml +27 -27
  71. package/resources/sysml.library/Kernel Libraries/Kernel Function Library/NumericalFunctions.kerml +42 -42
  72. package/resources/sysml.library/Kernel Libraries/Kernel Function Library/OccurrenceFunctions.kerml +153 -153
  73. package/resources/sysml.library/Kernel Libraries/Kernel Function Library/RationalFunctions.kerml +49 -49
  74. package/resources/sysml.library/Kernel Libraries/Kernel Function Library/RealFunctions.kerml +56 -56
  75. package/resources/sysml.library/Kernel Libraries/Kernel Function Library/ScalarFunctions.kerml +32 -32
  76. package/resources/sysml.library/Kernel Libraries/Kernel Function Library/SequenceFunctions.kerml +110 -110
  77. package/resources/sysml.library/Kernel Libraries/Kernel Function Library/StringFunctions.kerml +25 -25
  78. package/resources/sysml.library/Kernel Libraries/Kernel Function Library/TrigFunctions.kerml +34 -34
  79. package/resources/sysml.library/Kernel Libraries/Kernel Function Library/VectorFunctions.kerml +272 -272
  80. package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/.meta.json +21 -21
  81. package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/.project.json +14 -14
  82. package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/Base.kerml +94 -94
  83. package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/Clocks.kerml +155 -155
  84. package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/ControlPerformances.kerml +134 -134
  85. package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/FeatureReferencingPerformances.kerml +189 -189
  86. package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/KerML.kerml +483 -483
  87. package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/Links.kerml +66 -66
  88. package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/Metaobjects.kerml +57 -57
  89. package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/Objects.kerml +212 -212
  90. package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/Observation.kerml +160 -160
  91. package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/Occurrences.kerml +992 -992
  92. package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/Performances.kerml +292 -292
  93. package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/SpatialFrames.kerml +196 -196
  94. package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/StatePerformances.kerml +144 -144
  95. package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/Transfers.kerml +280 -280
  96. package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/TransitionPerformances.kerml +65 -65
  97. package/resources/sysml.library/Kernel Libraries/Kernel Semantic Library/Triggers.kerml +187 -187
  98. package/resources/sysml.library/LICENSE +276 -276
  99. package/resources/sysml.library/NOTICE.md +20 -20
  100. package/resources/sysml.library/Systems Library/Actions.sysml +556 -556
  101. package/resources/sysml.library/Systems Library/Allocations.sysml +28 -28
  102. package/resources/sysml.library/Systems Library/AnalysisCases.sysml +37 -37
  103. package/resources/sysml.library/Systems Library/Attributes.sysml +24 -24
  104. package/resources/sysml.library/Systems Library/Calculations.sysml +36 -36
  105. package/resources/sysml.library/Systems Library/Cases.sysml +70 -70
  106. package/resources/sysml.library/Systems Library/Connections.sysml +59 -59
  107. package/resources/sysml.library/Systems Library/Constraints.sysml +43 -43
  108. package/resources/sysml.library/Systems Library/Flows.sysml +125 -125
  109. package/resources/sysml.library/Systems Library/Interfaces.sysml +88 -88
  110. package/resources/sysml.library/Systems Library/Items.sysml +152 -152
  111. package/resources/sysml.library/Systems Library/Metadata.sysml +31 -31
  112. package/resources/sysml.library/Systems Library/Parts.sysml +80 -80
  113. package/resources/sysml.library/Systems Library/Ports.sysml +53 -53
  114. package/resources/sysml.library/Systems Library/Requirements.sysml +193 -193
  115. package/resources/sysml.library/Systems Library/StandardViewDefinitions.sysml +123 -123
  116. package/resources/sysml.library/Systems Library/States.sysml +102 -102
  117. package/resources/sysml.library/Systems Library/SysML.sysml +539 -539
  118. package/resources/sysml.library/Systems Library/UseCases.sysml +56 -56
  119. package/resources/sysml.library/Systems Library/VerificationCases.sysml +102 -102
  120. package/resources/sysml.library/Systems Library/Views.sysml +163 -163
  121. package/resources/sysml.library.index.json +1 -1
@@ -1,378 +1,378 @@
1
- standard library package SI {
2
- doc
3
- /*
4
- * International System of (Measurement) Units -- Système International d'Unités (SI), as defined in ISO/IEC 80000
5
- *
6
- * Note 1: In accordance with ISO/IEC 80000 en-GB spelling is used for the names and definitions of the units.
7
- * Note 2: This is a representative but not yet complete list of measurement units.
8
- */
9
-
10
- private import MeasurementReferences::*;
11
- public import ISQ::*;
12
- public import SIPrefixes::*;
13
-
14
- /*
15
- * SI simple unit needed in support of creation of the base units
16
- */
17
- attribute <g> gram : MassUnit;
18
-
19
- /*
20
- * SI base units
21
- */
22
- attribute <m> metre : LengthUnit;
23
- attribute <kg> kilogram : MassUnit { :>> unitConversion: ConversionByPrefix { :>> prefix = kilo; :>> referenceUnit = g; } }
24
- attribute <s> second : DurationUnit;
25
- attribute <A> ampere : ElectricCurrentUnit;
26
- attribute <K> kelvin : ThermodynamicTemperatureUnit, TemperatureDifferenceUnit {
27
- attribute temperatureOfWaterAtTriplePointInK: DefinitionalQuantityValue {
28
- :>> num = 27316/100;
29
- :>> definition = "temperature in kelvin of pure water at the triple point";
30
- }
31
- attribute :>> definitionalQuantityValues = temperatureOfWaterAtTriplePointInK;
32
- attribute :>> ThermodynamicTemperatureUnit::quantityDimension, TemperatureDifferenceUnit::quantityDimension {
33
- :>> ThermodynamicTemperatureUnit::quantityDimension::quantityPowerFactors, TemperatureDifferenceUnit::quantityDimension::quantityPowerFactors;
34
- }
35
- }
36
- attribute <mol> mole : AmountOfSubstanceUnit;
37
- attribute <cd> candela : LuminousIntensityUnit;
38
-
39
- /*
40
- * Declare the SI system of units with its explicit base units
41
- * and its associated system of quantities, the ISQ.
42
- */
43
- attribute <si> 'ISO/IEC 80000 International System of Units' : SystemOfUnits {
44
- :>> systemOfQuantities = isq;
45
- :>> baseUnits = (m, kg, s, A, K, mol, cd);
46
- }
47
-
48
- /*
49
- * Units with special names
50
- */
51
- attribute <B> byte : StorageCapacityUnit = one;
52
- attribute <Bd> baud : ModulationRateUnit = s^-1;
53
- attribute <bit> bit : StorageCapacityUnit = one;
54
- attribute <Bq> becquerel : NuclearActivityUnit = s^-1;
55
- attribute <C> coulomb : ElectricChargeUnit = A*s;
56
- attribute <dB> decibel : SoundPressureLevelUnit = one;
57
- attribute <dec> decade : LogarithmicFrequencyRangeUnit = one;
58
- attribute <E> erlang : TrafficIntensityUnit = one;
59
- attribute <F> farad : CapacitanceUnit = C/V;
60
- attribute <Gy> gray : AbsorbedDoseUnit = J/kg;
61
- attribute <H> henry : PermeanceUnit, InductanceUnit = Wb/A {
62
- attribute :>> PermeanceUnit::quantityDimension, InductanceUnit::quantityDimension {
63
- :>> PermeanceUnit::quantityDimension::quantityPowerFactors, InductanceUnit::quantityDimension::quantityPowerFactors;
64
- }
65
- }
66
- attribute <Hart> hartley : InformationContentUnit = one;
67
- attribute <Hz> hertz : FrequencyUnit = s^-1;
68
- attribute <J> joule : EnergyUnit = N*m;
69
- //attribute <kat> katal : CatalyticActivityUnit = mol/s;
70
- attribute <lm> lumen : LuminousFluxUnit = cd*sr;
71
- attribute <lx> lux : IlluminanceUnit = lm/m^2;
72
- attribute <N> newton : ForceUnit = kg*m/s^2;
73
- attribute <nat> 'natural unit of information' : InformationContentUnit = one;
74
- attribute <o> octet : StorageCapacityUnit = one;
75
- attribute <oct> octave : LogarithmicFrequencyRangeUnit = one;
76
- attribute <Pa> pascal : PressureUnit = N/m^2;
77
- attribute <rad> radian : AngularMeasureUnit = m/m;
78
- attribute <S> siemens : ConductanceUnit = 'Ω'^-1;
79
- attribute <Sh> shannon : InformationContentUnit = one;
80
- attribute <sr> steradian : SolidAngularMeasureUnit = m^2/m^2;
81
- attribute <Sv> sievert : DoseEquivalentUnit = J/kg;
82
- attribute <T> tesla : MagneticFluxDensityUnit = Wb/m^2;
83
- attribute <V> volt : ElectricPotentialUnit = W/A;
84
- attribute <W> watt : PowerUnit = J/s;
85
- attribute <Wb> weber : MagneticFluxUnit = V*s;
86
- attribute <'Ω'> ohm : ResistanceUnit = V/A;
87
-
88
- /*
89
- * Units recognized in SI as specified in ISO 80000-1:2009
90
- */
91
- attribute <'Å'> 'ångström' : LengthUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = m; :>> conversionFactor = 1.0e-10; } }
92
- attribute <b> barn : AreaUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = 'm²'; :>> conversionFactor = 1.0e-28; } }
93
- attribute <d> day: DurationUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = hour; :>> conversionFactor = 24; } }
94
- attribute <Da> dalton : MassUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = kg; :>> conversionFactor = 1.66053906660e-27; :>> isExact = false; } }
95
- attribute <eV> electronvolt : EnergyUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = J; :>> conversionFactor = 1.602176487e-19; :>> isExact = false; } }
96
- attribute <h> hour: DurationUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = min; :>> conversionFactor = 60; } }
97
- attribute <min> minute : DurationUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = s; :>> conversionFactor = 60; } }
98
- attribute <L> litre : VolumeUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = 'm³'; :>> conversionFactor = 1.0e-3; } }
99
- attribute tonne : MassUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = kg; :>> conversionFactor = 1.0e-3; } }
100
- alias 'metric ton' for tonne;
101
- attribute <u> 'atomic mass unit' : MassUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = Da; :>> conversionFactor = 1.0; } }
102
- attribute <ua> 'astronomical unit' : LengthUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = m; :>> conversionFactor = 149597870691e11; :>> isExact = false; } }
103
- attribute <var> 'volt ampere reactive' : PowerUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = V*A; :>> conversionFactor = 1.0; } }
104
- attribute <'°'> degree : AngularMeasureUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = rad; :>> conversionFactor = 1.745329E-02; :>> isExact = false; } } // conversionFactor should become pi/180
105
- attribute <'′'> 'minute (angle)' : AngularMeasureUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = rad; :>> conversionFactor = 2.908882E-04; :>> isExact = false; } }
106
- alias arcmin for '′';
107
- attribute <'″'> 'second (angle)' : AngularMeasureUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = rad; :>> conversionFactor = 4.848137E-06; :>> isExact = false; } }
108
- alias arcsec for '″';
109
-
110
- /*
111
- * Derived units used in parts 3 to 12 of ISO/IEC 80000
112
- */
113
- attribute <'A⋅m⁻²⋅K⁻²'> 'ampere metre to the power minus 2 kelvin to the power minus 2' : RichardsonConstantUnit = A*m^-2*K^-2;
114
- attribute <'A⋅m²'> 'ampere metre squared' : MagneticMomentUnit = A*m^2;
115
- attribute <'A⋅m²⋅J⁻¹⋅s⁻¹'> 'ampere metre squared joule to the power minus 1 second to the power minus 1' : GyromagneticRatioUnit = A*m^2*J^-1*s^-1;
116
- attribute <'A⋅s/kg'> 'ampere second per kilogram' : GyromagneticRatioUnit = A*s/kg;
117
- attribute <'A/m'> 'ampere per metre' : LinearElectricCurrentDensityUnit = A/m;
118
- attribute <'A/m²'> 'ampere per square metre' : ElectricCurrentDensityUnit = A/m^2;
119
- attribute <'B/s'> 'byte per second' : TransferRateUnit = B/s;
120
- attribute <'bit/s'> 'bit per second' : BinaryDigitRateUnit = bit/s;
121
- attribute <'Bq/kg'> 'becquerel per kilogram' : SpecificActivityUnit = Bq/kg;
122
- attribute <'Bq/m²'> 'becquerel per square metre' : SurfaceActivityDensityUnit = Bq/m^2;
123
- attribute <'Bq/m³'> 'becquerel per cubic metre' : ActivityDensityUnit = Bq/m^3;
124
- attribute <'C⋅m'> 'coulomb metre' : ElectricDipoleMomentUnit = C*m;
125
- attribute <'C/(kg⋅s)'> 'coulomb per kilogram second' : ExposureRateUnit = C/(kg*s);
126
- attribute <'C/kg'> 'coulomb per kilogram' : ExposureUnit = C/kg;
127
- attribute <'C/m'> 'coulomb per metre' : LinearDensityOfElectricChargeUnit = C/m;
128
- attribute <'C/m²'> 'coulomb per square metre' : SurfaceDensityOfElectricChargeUnit = C/m^2;
129
- attribute <'C/m³'> 'coulomb per cubic metre' : ElectricChargeDensityUnit = C/m^3;
130
- attribute <'cd⋅m⁻²'> 'candela metre to the power minus 2' : LuminanceUnit = cd*m^-2;
131
- attribute <'cd⋅sr'> 'candela steradian' : LuminousFluxUnit = cd*sr;
132
- attribute <'cd⋅sr⋅kg⁻¹⋅m⁻²⋅s³'> 'candela steradian kilogram to the power minus 1 metre to the power minus 2 second to the power 3' : LuminousEfficacyOfRadiationUnit = cd*sr*kg^-1*m^-2*s^3;
133
- attribute <'cd⋅sr⋅m⁻²'> 'candela steradian metre to the power minus 2' : IlluminanceUnit = cd*sr*m^-2;
134
- attribute <'cd⋅sr⋅m⁻²⋅s'> 'candela steradian metre to the power minus 2 second' : LuminousExposureUnit = cd*sr*m^-2*s;
135
- attribute <'cd⋅sr⋅s'> 'candela steradian second' : LuminousEnergyUnit = cd*sr*s;
136
- attribute <'eV⋅J⋅kg⋅m²⋅s⁻²'> 'electronvolt joule kilogram metre squared second to the power minus 2' : HartreeEnergyUnit = eV*J*kg*m^2*s^-2;
137
- attribute <'eV⋅m⁻²/kg'> 'electronvolt metre to the power minus 2 per kilogram' : TotalMassStoppingPowerUnit = eV*m^-2/kg;
138
- attribute <'eV/m'> 'electronvolt per metre' : TotalLinearStoppingPowerUnit = eV/m;
139
- attribute <'eV/m²'> 'electronvolt per square metre' : EnergyFluenceUnit = eV/m^2;
140
- attribute <'F/m'> 'farad per metre' : ElectricConstantUnit = F/m;
141
- attribute <'g/L'> 'g per l' : MassConcentrationUnit = g/L;
142
- attribute <'g/mol'> 'g per mole' : MolarMassUnit = g/mol;
143
- attribute <'Gy/s'> 'gray per second' : AbsorbedDoseRateUnit = Gy/s;
144
- attribute <'H/m'> 'henry per metre' : MagneticConstantUnit = H/m;
145
- attribute <'H⁻¹'> 'henry to the power minus 1' : ReluctanceUnit = H^-1;
146
- attribute <'Hart/s'> 'hartley per second' : AverageInformationRateUnit = Hart/s;
147
- attribute <'J⋅m²/kg'> 'joule metre squared per kilogram' : TotalMassStoppingPowerUnit = J*m^2/kg;
148
- attribute <'J⋅s'> 'joule second' : ActionQuantityUnit = J*s;
149
- attribute <'J⋅s⋅eV⋅s'> 'joule second electronvolt second' : TotalAngularMomentumUnit = J*s*eV*s;
150
- attribute <'J⋅s⁻¹'> 'joule second to the power minus 1' : PowerUnit = J*s^-1;
151
- attribute <'J/(kg⋅K)'> 'joule per kilogram kelvin' : SpecificHeatCapacityUnit = J/(kg*K);
152
- attribute <'J/(m²⋅nm)'> 'joule per square metre nm' : SpectralRadiantExposureUnit = J/(m^2*nm);
153
- attribute <'J/(m³⋅nm)'> 'joule per cubic metre nm' : SpectralRadiantEnergyDensityInTermsOfWavelengthUnit = J/(m^3*nm);
154
- attribute <'J/(mol⋅K)'> 'joule per mole kelvin' : MolarHeatCapacityUnit = J/(mol*K);
155
- attribute <'J/K'> 'joule per kelvin' : HeatCapacityUnit = J/K;
156
- attribute <'J/kg'> 'joule per kilogram' : SpecificEnergyUnit = J/kg;
157
- attribute <'J/m'> 'joule per metre' : TotalLinearStoppingPowerUnit = J/m;
158
- attribute <'J/m²'> 'joule per square metre' : SpectralRadiantEnergyDensityInTermsOfWavenumberUnit = J/m^2;
159
- attribute <'J/m³'> 'joule per cubic metre' : ElectromagneticEnergyDensityUnit = J/m^3;
160
- attribute <'J/mol'> 'joule per mole' : MolarInternalEnergyUnit = J/mol;
161
- attribute <'J/nm'> 'joule per nm' : SpectralRadiantEnergyUnit = J/nm;
162
- attribute <'J/s'> 'joule per second' : HeatFlowRateUnit = J/s;
163
- attribute <'J⁻¹⋅m⁻³⋅eV⁻¹⋅m⁻³'> 'joule to the power minus 1 metre to the power minus 3 electronvolt to the power minus 1 metre to the power minus 3' : EnergyDensityOfStatesUnit = J^-1*m^-3*eV^-1*m^-3;
164
- attribute <'K/Pa'> 'kelvin per pascal' : JouleThomsonCoefficientUnit = K/Pa;
165
- attribute <'K/W'> 'kelvin per watt' : ThermalResistanceUnit = K/W;
166
- attribute <'K⁻¹'> 'kelvin to the power minus 1' : LinearExpansionCoefficientUnit = K^-1;
167
- attribute <'kg⋅m⋅s⁻¹'> 'kilogram metre second to the power minus 1' : MomentumUnit = kg*m*s^-1;
168
- attribute <'kg⋅m⋅s⁻²'> 'kilogram metre second to the power minus 2' : ForceUnit = kg*m*s^-2;
169
- attribute <'kg⋅m⋅s⁻³'> 'kilogram metre second to the power minus 3' : SpectralRadiantFluxUnit = kg*m*s^-3;
170
- attribute <'kg⋅m⋅s⁻³⋅K⁻¹'> 'kilogram metre second to the power minus 3 kelvin to the power minus 1' : ThermalConductivityUnit = kg*m*s^-3*K^-1;
171
- attribute <'kg⋅m⋅s⁻³⋅sr⁻¹'> 'kilogram metre second to the power minus 3 steradian to the power minus 1' : SpectralRadiantIntensityUnit = kg*m*s^-3*sr^-1;
172
- attribute <'kg⋅m⁻¹'> 'kilogram metre to the power minus 1' : LinearMassDensityUnit = kg*m^-1;
173
- attribute <'kg⋅m⁻¹⋅s⁻¹'> 'kilogram metre to the power minus 1 second to the power minus 1' : DynamicViscosityUnit = kg*m^-1*s^-1;
174
- attribute <'kg⋅m⁻¹⋅s⁻²'> 'kilogram metre to the power minus 1 second to the power minus 2' : PressureUnit = kg*m^-1*s^-2;
175
- attribute <'kg⋅m⁻¹⋅s⁻²⋅K⁻¹'> 'kilogram metre to the power minus 1 second to the power minus 2 kelvin to the power minus 1' : PressureCoefficientUnit = kg*m^-1*s^-2*K^-1;
176
- attribute <'kg⋅m⁻¹⋅s⁻³'> 'kilogram metre to the power minus 1 second to the power minus 3' : SpectralIrradianceUnit = kg*m^-1*s^-3;
177
- attribute <'kg⋅m⁻¹⋅s⁻³⋅sr⁻¹'> 'kilogram metre to the power minus 1 second to the power minus 3 steradian to the power minus 1' : SpectralRadianceUnit = kg*m^-1*s^-3*sr^-1;
178
- attribute <'kg⋅m⁻²'> 'kilogram metre to the power minus 2' : SurfaceMassDensityUnit = kg*m^-2;
179
- attribute <'kg⋅m⁻²⋅s⁻¹'> 'kilogram metre to the power minus 2 second to the power minus 1' : MassFlowUnit = kg*m^-2*s^-1;
180
- attribute <'kg⋅m⁻²⋅s⁻²'> 'kilogram metre to the power minus 2 second to the power minus 2' : SpectralRadiantEnergyDensityInTermsOfWavelengthUnit = kg*m^-2*s^-2;
181
- attribute <'kg⋅m⁻³'> 'kilogram metre to the power minus 3' : MassDensityUnit = kg*m^-3;
182
- attribute <'kg⋅m⁻⁴⋅s⁻¹'> 'kilogram metre to the power minus 4 second to the power minus 1' : AcousticImpedanceUnit = kg*m^-4*s^-1;
183
- attribute <'kg⋅m²'> 'kilogram metre squared' : MomentOfInertiaUnit = kg*m^2;
184
- attribute <'kg⋅m²⋅s⁻¹'> 'kilogram metre squared second to the power minus 1' : AngularMomentumUnit = kg*m^2*s^-1;
185
- attribute <'kg⋅m²⋅s⁻²'> 'kilogram metre squared second to the power minus 2' : MomentOfForceUnit = kg*m^2*s^-2;
186
- attribute <'kg⋅m²⋅s⁻²⋅K⁻¹'> 'kilogram metre squared second to the power minus 2 kelvin to the power minus 1' : HeatCapacityUnit = kg*m^2*s^-2*K^-1;
187
- attribute <'kg⋅m²⋅s⁻²⋅K⁻¹⋅mol⁻¹'> 'kilogram metre squared second to the power minus 2 kelvin to the power minus 1 mole to the power minus 1' : MolarHeatCapacityUnit = kg*m^2*s^-2*K^-1*mol^-1;
188
- attribute <'kg⋅m²⋅s⁻²⋅mol⁻¹'> 'kilogram metre squared second to the power minus 2 mole to the power minus 1' : MolarInternalEnergyUnit = kg*m^2*s^-2*mol^-1;
189
- attribute <'kg⋅m²⋅s⁻³'> 'kilogram metre squared second to the power minus 3' : PowerUnit = kg*m^2*s^-3;
190
- attribute <'kg⋅m²⋅s⁻³⋅A⁻¹'> 'kilogram metre squared second to the power minus 3 ampere to the power minus 1' : ElectricPotentialDifferenceUnit = kg*m^2*s^-3*A^-1;
191
- attribute <'kg⋅m²⋅s⁻³⋅A⁻¹⋅K⁻¹'> 'kilogram metre squared second to the power minus 3 ampere to the power minus 1 kelvin to the power minus 1' : SeebeckCoefficientForSubstancesAAndBUnit = kg*m^2*s^-3*A^-1*K^-1;
192
- attribute <'kg⋅m²⋅s⁻³⋅K⁻¹'> 'kilogram metre squared second to the power minus 3 kelvin to the power minus 1' : ThermalConductanceUnit = kg*m^2*s^-3*K^-1;
193
- attribute <'kg⋅m²⋅s⁻³⋅sr⁻¹'> 'kilogram metre squared second to the power minus 3 steradian to the power minus 1' : RadiantIntensityUnit = kg*m^2*s^-3*sr^-1;
194
- attribute <'kg⋅m³⋅s⁻³⋅A⁻²'> 'kilogram metre cubed second to the power minus 3 ampere to the power minus 2' : ResistivityUnit = kg*m^3*s^-3*A^-2;
195
- attribute <'kg⋅mol⁻¹'> 'kilogram mole to the power minus 1' : MolarMassUnit = kg*mol^-1;
196
- attribute <'kg⋅s⁻¹'> 'kilogram second to the power minus 1' : MassFlowRateUnit = kg*s^-1;
197
- attribute <'kg⋅s⁻²'> 'kilogram second to the power minus 2' : SurfaceTensionUnit = kg*s^-2;
198
- attribute <'kg⋅s⁻²⋅A⁻¹'> 'kilogram second to the power minus 2 ampere to the power minus 1' : MagneticFluxDensityUnit = kg*s^-2*A^-1;
199
- attribute <'kg⋅s⁻³'> 'kilogram second to the power minus 3' : DensityOfHeatFlowRateUnit = kg*s^-3;
200
- attribute <'kg⋅s⁻³⋅K⁻¹'> 'kilogram second to the power minus 3 kelvin to the power minus 1' : CoefficientOfHeatTransferUnit = kg*s^-3*K^-1;
201
- attribute <'kg⋅s⁻³⋅sr⁻¹'> 'kilogram second to the power minus 3 steradian to the power minus 1' : RadianceUnit = kg*s^-3*sr^-1;
202
- attribute <'kg⁻¹⋅A'> 'kilogram to the power minus 1 ampere' : ExposureRateUnit = kg^-1*A;
203
- attribute <'kg⁻¹⋅m⋅s²'> 'kilogram to the power minus 1 metre second to the power 2' : CompressibilityUnit = kg^-1*m*s^2;
204
- attribute <'kg⁻¹⋅m⋅s²⋅K'> 'kilogram to the power minus 1 metre second to the power 2 kelvin' : JouleThomsonCoefficientUnit = kg^-1*m*s^2*K;
205
- attribute <'kg⁻¹⋅m⁻²⋅s³⋅K'> 'kilogram to the power minus 1 metre to the power minus 2 second to the power 3 kelvin' : ThermalResistanceUnit = kg^-1*m^-2*s^3*K;
206
- attribute <'kg⁻¹⋅m⁻³⋅s³⋅A²'> 'kilogram to the power minus 1 metre to the power minus 3 second to the power 3 ampere to the power 2' : ElectrolyticConductivityUnit = kg^-1*m^-3*s^3*A^2;
207
- attribute <'kg⁻¹⋅m⁻⁵⋅s²'> 'kilogram to the power minus 1 metre to the power minus 5 second to the power 2' : EnergyDensityOfStatesUnit = kg^-1*m^-5*s^2;
208
- attribute <'kg⁻¹⋅m²'> 'kilogram to the power minus 1 metre squared' : MassAttenuationCoefficientUnit = kg^-1*m^2;
209
- attribute <'kg⁻¹⋅m³'> 'kilogram to the power minus 1 metre cubed' : SpecificVolumeUnit = kg^-1*m^3;
210
- attribute <'kg⁻¹⋅s⋅A'> 'kilogram to the power minus 1 second ampere' : GyromagneticRatioUnit = kg^-1*s*A;
211
- attribute <'kg⁻¹⋅s⁻¹'> 'kilogram to the power minus 1 second to the power minus 1' : SpecificActivityUnit = kg^-1*s^-1;
212
- attribute <'kg⁻¹⋅s²'> 'kilogram to the power minus 1 second to the power 2' : EnergyDistributionOfCrossSectionUnit = kg^-1*s^2;
213
- attribute <'kg⁻¹⋅s²⋅A'> 'kilogram to the power minus 1 second to the power 2 ampere' : MobilityUnit = kg^-1*s^2*A;
214
- attribute <'kg⁻¹⋅s³⋅A²⋅mol⁻¹'> 'kilogram to the power minus 1 second to the power 3 ampere to the power 2 mole to the power minus 1' : MolarConductivityUnit = kg^-1*s^3*A^2*mol^-1;
215
- attribute <'kg⁻¹⋅s³⋅K'> 'kilogram to the power minus 1 second to the power 3 kelvin' : ThermalInsulanceUnit = kg^-1*s^3*K;
216
- attribute <'kg²⋅m⁻²⋅s⁻³'> 'kilogram to the power 2 metre to the power minus 2 second to the power minus 3' : SoundExposureUnit = kg^2*m^-2*s^-3;
217
- attribute <'kg²⋅m⁴⋅s⁻⁶⋅A⁻²⋅K⁻²'> 'kilogram to the power 2 metre to the power 4 second to the power minus 6 ampere to the power minus 2 kelvin to the power minus 2' : LorenzCoefficientUnit = kg^2*m^4*s^-6*A^-2*K^-2;
218
- attribute <'lm⋅s'> 'lumen second' : LuminousEnergyUnit = lm*s;
219
- attribute <'lm/m²'> 'lumen per square metre' : LuminousExitanceUnit = lm/m^2;
220
- attribute <'lm/W'> 'lumen per watt' : LuminousEfficacyOfRadiationUnit = lm/W;
221
- attribute <'lx⋅s'> 'lux second' : LuminousExposureUnit = lx*s;
222
- attribute <'m⋅s⁻¹'> 'metre second to the power minus 1' : SpeedUnit = m*s^-1;
223
- attribute <'m⋅s⁻²'> 'metre second to the power minus 2' : AccelerationUnit = m*s^-2;
224
- attribute <'m/s'> 'metre per second' : SpeedUnit = m/s;
225
- attribute <'m⁻¹'> 'metre to the power minus 1' : CurvatureUnit = m^-1;
226
- attribute <'m⁻²'> 'metre to the power minus 2' : PhotonExposureUnit = m^-2;
227
- attribute <'m⁻²⋅s⁻¹'> 'metre to the power minus 2 second to the power minus 1' : PhotonIrradianceUnit = m^-2*s^-1;
228
- attribute <'m⁻²⋅s⁻¹⋅sr⁻¹'> 'metre to the power minus 2 second to the power minus 1 steradian to the power minus 1' : PhotonRadianceUnit = m^-2*s^-1*sr^-1;
229
- attribute <'m⁻³'> 'metre to the power minus 3' : ParticleConcentrationUnit = m^-3;
230
- attribute <'m⁻³⋅s'> 'metre to the power minus 3 second' : DensityOfVibrationalStatesUnit = m^-3*s;
231
- attribute <'m⁻³⋅s⁻¹'> 'metre to the power minus 3 second to the power minus 1' : ActivityDensityUnit = m^-3*s^-1;
232
- attribute <'m²'> 'metre squared' : AreaUnit = m^2;
233
- attribute <'m²⋅A'> 'metre squared ampere' : MagneticDipoleMomentUnit = m^2*A;
234
- attribute <'m²⋅K/W'> 'metre squared kelvin per watt' : ThermalInsulanceUnit = m^2*K/W;
235
- attribute <'m²⋅mol⁻¹'> 'metre squared mole to the power minus 1' : MolarAbsorptionCoefficientUnit = m^2*mol^-1;
236
- attribute <'m²⋅s⁻¹'> 'metre squared second to the power minus 1' : KinematicViscosityUnit = m^2*s^-1;
237
- attribute <'m²⋅s⁻²'> 'metre squared second to the power minus 2' : SpecificEnergyUnit = m^2*s^-2;
238
- attribute <'m²⋅s⁻²⋅K⁻¹'> 'metre squared second to the power minus 2 kelvin to the power minus 1' : SpecificHeatCapacityUnit = m^2*s^-2*K^-1;
239
- attribute <'m²⋅s⁻³'> 'metre squared second to the power minus 3' : DoseEquivalentUnit = m^2*s^-3;
240
- attribute <'m²⋅sr⁻¹'> 'metre squared steradian to the power minus 1' : DirectionDistributionOfCrossSectionUnit = m^2*sr^-1;
241
- attribute <'m²/(J⋅sr)'> 'metre squared per joule steradian' : DirectionAndEnergyDistributionOfCrossSectionUnit = m^2/(J*sr);
242
- attribute <'m²/(V⋅s)'> 'metre squared per volt second' : MobilityUnit = m^2/(V*s);
243
- attribute <'m²/J'> 'metre squared per joule' : EnergyDistributionOfCrossSectionUnit = m^2/J;
244
- attribute <'m³'> 'metre cubed' : VolumeUnit = m^3;
245
- attribute <'m³⋅mol⁻¹'> 'metre cubed mole to the power minus 1' : MolarVolumeUnit = m^3*mol^-1;
246
- attribute <'m³⋅s⁻¹'> 'metre cubed second to the power minus 1' : VolumeFlowRateUnit = m^3*s^-1;
247
- attribute <'m³/C⋅m³⋅s⁻¹⋅A⁻¹'> 'metre cubed per coulomb cubic metre second to the power minus 1 ampere to the power minus 1' : HallCoefficientUnit = m^3/C*m^3*s^-1*A^-1;
248
- attribute <'m⁴'> 'metre to the power 4' : SecondAxialMomentOfAreaUnit = m^4;
249
- attribute <'m⁴⋅s⁻²'> 'metre to the power 4 second to the power minus 2' : TotalMassStoppingPowerUnit = m^4*s^-2;
250
- attribute <'mL/L '> 'ml per l' : VolumeFractionUnit = mL/L;
251
- attribute <'mol⋅kg⁻¹'> 'mole kilogram to the power minus 1' : IonicStrengthUnit = mol*kg^-1;
252
- attribute <'mol⋅m⁻³'> 'mole metre to the power minus 3' : AmountOfSubstanceConcentrationUnit = mol*m^-3;
253
- attribute <'mol/kg'> 'mole per kilogram' : MolalityUnit = mol/kg;
254
- attribute <'mol/L'> 'mole per l' : AmountOfSubstanceConcentrationUnit = mol/L;
255
- attribute <'mol/m³'> 'mole per cubic metre' : EquilibriumConstantOnConcentrationBasisUnit = mol/m^3;
256
- attribute <'N⋅m'> 'newton metre' : MomentOfForceUnit, TorqueUnit = N*m {
257
- attribute :>> MomentOfForceUnit::quantityDimension, TorqueUnit::quantityDimension {
258
- :>> MomentOfForceUnit::quantityDimension::quantityPowerFactors, TorqueUnit::quantityDimension::quantityPowerFactors;
259
- }
260
- }
261
- attribute <'N⋅m⋅s'> 'newton metre second' : AngularImpulseUnit = N*m*s;
262
- attribute <'N⋅m⋅s⁻¹'> 'newton metre second to the power minus 1' : PowerUnit = N*m*s^-1;
263
- attribute <'N⋅m⁻¹'> 'newton metre to the power minus 1' : SurfaceTensionUnit = N*m^-1;
264
- attribute <'N⋅m⁻²'> 'newton metre to the power minus 2' : PressureUnit = N*m^-2;
265
- attribute <'N⋅s'> 'newton second' : ImpulseUnit = N*s;
266
- attribute <'nat/s'> 'natural unit of information per second' : AverageInformationRateUnit = nat/s;
267
- attribute <'o/s'> 'octet per second' : TransferRateUnit = o/s;
268
- attribute <'Pa⋅s'> 'pascal second' : DynamicViscosityUnit = Pa*s;
269
- attribute <'Pa⋅s/m'> 'pascal second per metre' : CharacteristicImpedanceOfAMediumForLongitudinalWavesUnit = Pa*s/m;
270
- attribute <'Pa⋅s/m³'> 'pascal second per cubic metre' : AcousticImpedanceUnit = Pa*s/m^3;
271
- attribute <'Pa/K'> 'pascal per kelvin' : PressureCoefficientUnit = Pa/K;
272
- attribute <'Pa⁻¹'> 'pascal to the power minus 1' : CompressibilityUnit = Pa^-1;
273
- attribute <'Pa²⋅s'> 'pascal to the power 2 second' : SoundExposureUnit = Pa^2*s;
274
- attribute <'rad⋅m²/kg¹'> 'radian metre squared per kilogram to the power 1' : SpecificOpticalRotatoryPowerUnit = rad*m^2/kg^1;
275
- attribute <'rad⋅m²/mol'> 'radian metre squared per mole' : MolarOpticalRotatoryPowerUnit = rad*m^2/mol;
276
- attribute <'rad⋅s⁻¹'> 'radian second to the power minus 1' : AngularVelocityUnit = rad*s^-1;
277
- attribute <'rad⋅s⁻²'> 'radian second to the power minus 2' : AngularAccelerationUnit = rad*s^-2;
278
- attribute <'rad/m'> 'radian per metre' : PhaseCoefficientUnit = rad/m;
279
- attribute <'s⋅A'> 'second ampere' : ElectricChargeUnit = s*A;
280
- attribute <'S⋅m²/mol'> 'siemens metre squared per mole' : MolarConductivityUnit = S*m^2/mol;
281
- attribute <'S/m'> 'siemens per metre' : ConductivityUnit = S/m;
282
- attribute <'s⁻¹'> 'second to the power minus 1' : AngularVelocityUnit = s^-1;
283
- attribute <'s⁻¹⋅sr⁻¹'> 'second to the power minus 1 steradian to the power minus 1' : PhotonIntensityUnit = s^-1*sr^-1;
284
- attribute <'s⁻²'> 'second to the power minus 2' : AngularAccelerationUnit = s^-2;
285
- attribute <'Sh/s'> 'shannon per second' : AverageInformationRateUnit = Sh/s;
286
- attribute <'Sv/s'> 'sievert per second' : DoseEquivalentUnit = Sv/s;
287
- attribute <'V⋅A'> 'volt ampere' : PowerUnit = V*A;
288
- attribute <'V/K'> 'volt per kelvin' : SeebeckCoefficientForSubstancesAAndBUnit = V/K;
289
- attribute <'V/m'> 'volt per metre' : ElectricFieldStrengthUnit = V/m;
290
- attribute <'V²/K²'> 'volt to the power 2 per kelvin to the power 2' : LorenzCoefficientUnit = V^2/K^2;
291
- attribute <'W⋅h'> 'watt hour' : EnergyUnit = W*h;
292
- attribute <'W/(m⋅K)'> 'watt per metre kelvin' : ThermalConductivityUnit = W/(m*K);
293
- attribute <'W/(m²⋅K)'> 'watt per square metre kelvin' : CoefficientOfHeatTransferUnit = W/(m^2*K);
294
- attribute <'W/(m²⋅nm)'> 'watt per square metre nm' : SpectralIrradianceUnit = W/(m^2*nm);
295
- attribute <'W/(sr⋅m²)'> 'watt per steradian square metre' : RadianceUnit = W/(sr*m^2);
296
- attribute <'W/(sr⋅m²⋅nm)'> 'watt per steradian square metre nm' : SpectralRadianceUnit = W/(sr*m^2*nm);
297
- attribute <'W/(sr⋅nm)'> 'watt per steradian nm' : SpectralRadiantIntensityUnit = W/(sr*nm);
298
- attribute <'W/K'> 'watt per kelvin' : ThermalConductanceUnit = W/K;
299
- attribute <'W/kg'> 'watt per kilogram' : DoseEquivalentUnit = W/kg;
300
- attribute <'W/m²'> 'watt per square metre' : DensityOfHeatFlowRateUnit = W/m^2;
301
- attribute <'W/nm'> 'watt per nm' : SpectralRadiantFluxUnit = W/nm;
302
- attribute <'W/sr'> 'watt per steradian' : RadiantIntensityUnit = W/sr;
303
- attribute <'Wb⋅m'> 'weber metre' : MagneticDipoleMomentUnit = Wb*m;
304
- attribute <'Wb/m'> 'weber per metre' : MagneticVectorPotentialUnit = Wb/m;
305
- attribute <'Ω⋅m'> 'ohm metre' : ResistivityUnit = 'Ω'*m;
306
-
307
- alias 'm/s²' for 'm⋅s⁻²';
308
-
309
- /*
310
- * Prefixed units
311
- */
312
-
313
- /* Length */
314
- attribute <nm> nanometre : LengthUnit { :>> unitConversion: ConversionByPrefix { :>> prefix = nano; :>> referenceUnit = m; } }
315
- attribute <mm> millimetre : LengthUnit { :>> unitConversion: ConversionByPrefix { :>> prefix = milli; :>> referenceUnit = m; } }
316
- attribute <cm> centimetre : LengthUnit { :>> unitConversion: ConversionByPrefix { :>> prefix = centi; :>> referenceUnit = m; } }
317
- attribute <km> kilometre : LengthUnit { :>> unitConversion: ConversionByPrefix { :>> prefix = kilo; :>> referenceUnit = m; } }
318
-
319
- /* Volume */
320
- attribute <mL> millilitre : VolumeUnit { :>> unitConversion: ConversionByPrefix { :>> prefix = milli; :>> referenceUnit = L; } }
321
-
322
- /* Force */
323
- attribute <mN> millinewton : ForceUnit { :>> unitConversion: ConversionByPrefix { :>> prefix = milli; :>> referenceUnit = N; } }
324
-
325
- /* Energy */
326
- attribute <kJ> kilojoule : EnergyUnit { :>> unitConversion: ConversionByPrefix { :>> prefix = kilo; :>> referenceUnit = J; } }
327
- attribute <MJ> megajoule : EnergyUnit { :>> unitConversion: ConversionByPrefix { :>> prefix = mega; :>> referenceUnit = J; } }
328
- attribute <GJ> gigajoule : EnergyUnit { :>> unitConversion: ConversionByPrefix { :>> prefix = giga; :>> referenceUnit = J; } }
329
-
330
- /* Power */
331
- attribute <kW> kilowatt : PowerUnit { :>> unitConversion: ConversionByPrefix { :>> prefix = kilo; :>> referenceUnit = W; } }
332
-
333
- /* Speed */
334
- attribute <'km/h'> 'kilometre per hour': SpeedUnit = km/h;
335
-
336
- /*
337
- * Celsius units
338
- */
339
-
340
- attribute <'°C'> 'degree celsius (temperature difference)' : TemperatureDifferenceUnit {
341
- doc
342
- /*
343
- * degree Celsius unit for temperature interval (i.e. temperature difference) quantities
344
- */
345
-
346
- attribute :>> unitConversion: ConversionByConvention { :>> referenceUnit = K; :>> conversionFactor = 1; }
347
- }
348
-
349
- attribute <'°C_abs'> 'degree celsius (absolute temperature scale)' : IntervalScale {
350
- doc
351
- /*
352
- * degree Celsius interval scale for absolute (thermodynamic) temperature quantities
353
- *
354
- * The interval scale is defined with an explicit transformation with respect to
355
- * the kelvin thermodynamic temperature scale that specifies the zero shift.
356
- */
357
-
358
- attribute :>> unit = '°C';
359
- attribute temperatureWaterAtFreezingPointInC: DefinitionalQuantityValue {
360
- :>> num = 0; :>> definition = "temperature in degree Celsius of pure water at freezing point";
361
- }
362
- private attribute temperatureWaterAtTriplePointInC: DefinitionalQuantityValue {
363
- :>> num = 1/100; :>> definition = "temperature in degree Celsius of pure water at the triple point";
364
- }
365
- private attribute celsiusToKelvinScaleMapping: QuantityValueMapping {
366
- :>> mappedQuantityValue = temperatureWaterAtTriplePointInC;
367
- :>> referenceQuantityValue = K.temperatureOfWaterAtTriplePointInK;
368
- }
369
- attribute :>> definitionalQuantityValues = (temperatureWaterAtTriplePointInC, temperatureWaterAtFreezingPointInC);
370
- attribute :>> quantityValueMapping = celsiusToKelvinScaleMapping;
371
-
372
- /* CoordinateFramePlacement (zero shift) w.r.t. the kelvin thermodynamic temperature scale */
373
- private attribute zeroDegreeCelsiusInKelvin: ThermodynamicTemperatureValue = 273.15 [K];
374
- attribute zeroDegreeCelsiusToKelvinShift : CoordinateFramePlacement :>> transformation {
375
- :>> source = K; :>> origin = zeroDegreeCelsiusInKelvin;
376
- }
377
- }
378
- }
1
+ standard library package SI {
2
+ doc
3
+ /*
4
+ * International System of (Measurement) Units -- Système International d'Unités (SI), as defined in ISO/IEC 80000
5
+ *
6
+ * Note 1: In accordance with ISO/IEC 80000 en-GB spelling is used for the names and definitions of the units.
7
+ * Note 2: This is a representative but not yet complete list of measurement units.
8
+ */
9
+
10
+ private import MeasurementReferences::*;
11
+ public import ISQ::*;
12
+ public import SIPrefixes::*;
13
+
14
+ /*
15
+ * SI simple unit needed in support of creation of the base units
16
+ */
17
+ attribute <g> gram : MassUnit;
18
+
19
+ /*
20
+ * SI base units
21
+ */
22
+ attribute <m> metre : LengthUnit;
23
+ attribute <kg> kilogram : MassUnit { :>> unitConversion: ConversionByPrefix { :>> prefix = kilo; :>> referenceUnit = g; } }
24
+ attribute <s> second : DurationUnit;
25
+ attribute <A> ampere : ElectricCurrentUnit;
26
+ attribute <K> kelvin : ThermodynamicTemperatureUnit, TemperatureDifferenceUnit {
27
+ attribute temperatureOfWaterAtTriplePointInK: DefinitionalQuantityValue {
28
+ :>> num = 27316/100;
29
+ :>> definition = "temperature in kelvin of pure water at the triple point";
30
+ }
31
+ attribute :>> definitionalQuantityValues = temperatureOfWaterAtTriplePointInK;
32
+ attribute :>> ThermodynamicTemperatureUnit::quantityDimension, TemperatureDifferenceUnit::quantityDimension {
33
+ :>> ThermodynamicTemperatureUnit::quantityDimension::quantityPowerFactors, TemperatureDifferenceUnit::quantityDimension::quantityPowerFactors;
34
+ }
35
+ }
36
+ attribute <mol> mole : AmountOfSubstanceUnit;
37
+ attribute <cd> candela : LuminousIntensityUnit;
38
+
39
+ /*
40
+ * Declare the SI system of units with its explicit base units
41
+ * and its associated system of quantities, the ISQ.
42
+ */
43
+ attribute <si> 'ISO/IEC 80000 International System of Units' : SystemOfUnits {
44
+ :>> systemOfQuantities = isq;
45
+ :>> baseUnits = (m, kg, s, A, K, mol, cd);
46
+ }
47
+
48
+ /*
49
+ * Units with special names
50
+ */
51
+ attribute <B> byte : StorageCapacityUnit = one;
52
+ attribute <Bd> baud : ModulationRateUnit = s^-1;
53
+ attribute <bit> bit : StorageCapacityUnit = one;
54
+ attribute <Bq> becquerel : NuclearActivityUnit = s^-1;
55
+ attribute <C> coulomb : ElectricChargeUnit = A*s;
56
+ attribute <dB> decibel : SoundPressureLevelUnit = one;
57
+ attribute <dec> decade : LogarithmicFrequencyRangeUnit = one;
58
+ attribute <E> erlang : TrafficIntensityUnit = one;
59
+ attribute <F> farad : CapacitanceUnit = C/V;
60
+ attribute <Gy> gray : AbsorbedDoseUnit = J/kg;
61
+ attribute <H> henry : PermeanceUnit, InductanceUnit = Wb/A {
62
+ attribute :>> PermeanceUnit::quantityDimension, InductanceUnit::quantityDimension {
63
+ :>> PermeanceUnit::quantityDimension::quantityPowerFactors, InductanceUnit::quantityDimension::quantityPowerFactors;
64
+ }
65
+ }
66
+ attribute <Hart> hartley : InformationContentUnit = one;
67
+ attribute <Hz> hertz : FrequencyUnit = s^-1;
68
+ attribute <J> joule : EnergyUnit = N*m;
69
+ //attribute <kat> katal : CatalyticActivityUnit = mol/s;
70
+ attribute <lm> lumen : LuminousFluxUnit = cd*sr;
71
+ attribute <lx> lux : IlluminanceUnit = lm/m^2;
72
+ attribute <N> newton : ForceUnit = kg*m/s^2;
73
+ attribute <nat> 'natural unit of information' : InformationContentUnit = one;
74
+ attribute <o> octet : StorageCapacityUnit = one;
75
+ attribute <oct> octave : LogarithmicFrequencyRangeUnit = one;
76
+ attribute <Pa> pascal : PressureUnit = N/m^2;
77
+ attribute <rad> radian : AngularMeasureUnit = m/m;
78
+ attribute <S> siemens : ConductanceUnit = 'Ω'^-1;
79
+ attribute <Sh> shannon : InformationContentUnit = one;
80
+ attribute <sr> steradian : SolidAngularMeasureUnit = m^2/m^2;
81
+ attribute <Sv> sievert : DoseEquivalentUnit = J/kg;
82
+ attribute <T> tesla : MagneticFluxDensityUnit = Wb/m^2;
83
+ attribute <V> volt : ElectricPotentialUnit = W/A;
84
+ attribute <W> watt : PowerUnit = J/s;
85
+ attribute <Wb> weber : MagneticFluxUnit = V*s;
86
+ attribute <'Ω'> ohm : ResistanceUnit = V/A;
87
+
88
+ /*
89
+ * Units recognized in SI as specified in ISO 80000-1:2009
90
+ */
91
+ attribute <'Å'> 'ångström' : LengthUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = m; :>> conversionFactor = 1.0e-10; } }
92
+ attribute <b> barn : AreaUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = 'm²'; :>> conversionFactor = 1.0e-28; } }
93
+ attribute <d> day: DurationUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = hour; :>> conversionFactor = 24; } }
94
+ attribute <Da> dalton : MassUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = kg; :>> conversionFactor = 1.66053906660e-27; :>> isExact = false; } }
95
+ attribute <eV> electronvolt : EnergyUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = J; :>> conversionFactor = 1.602176487e-19; :>> isExact = false; } }
96
+ attribute <h> hour: DurationUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = min; :>> conversionFactor = 60; } }
97
+ attribute <min> minute : DurationUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = s; :>> conversionFactor = 60; } }
98
+ attribute <L> litre : VolumeUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = 'm³'; :>> conversionFactor = 1.0e-3; } }
99
+ attribute tonne : MassUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = kg; :>> conversionFactor = 1.0e-3; } }
100
+ alias 'metric ton' for tonne;
101
+ attribute <u> 'atomic mass unit' : MassUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = Da; :>> conversionFactor = 1.0; } }
102
+ attribute <ua> 'astronomical unit' : LengthUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = m; :>> conversionFactor = 149597870691e11; :>> isExact = false; } }
103
+ attribute <var> 'volt ampere reactive' : PowerUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = V*A; :>> conversionFactor = 1.0; } }
104
+ attribute <'°'> degree : AngularMeasureUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = rad; :>> conversionFactor = 1.745329E-02; :>> isExact = false; } } // conversionFactor should become pi/180
105
+ attribute <'′'> 'minute (angle)' : AngularMeasureUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = rad; :>> conversionFactor = 2.908882E-04; :>> isExact = false; } }
106
+ alias arcmin for '′';
107
+ attribute <'″'> 'second (angle)' : AngularMeasureUnit { :>> unitConversion: ConversionByConvention { :>> referenceUnit = rad; :>> conversionFactor = 4.848137E-06; :>> isExact = false; } }
108
+ alias arcsec for '″';
109
+
110
+ /*
111
+ * Derived units used in parts 3 to 12 of ISO/IEC 80000
112
+ */
113
+ attribute <'A⋅m⁻²⋅K⁻²'> 'ampere metre to the power minus 2 kelvin to the power minus 2' : RichardsonConstantUnit = A*m^-2*K^-2;
114
+ attribute <'A⋅m²'> 'ampere metre squared' : MagneticMomentUnit = A*m^2;
115
+ attribute <'A⋅m²⋅J⁻¹⋅s⁻¹'> 'ampere metre squared joule to the power minus 1 second to the power minus 1' : GyromagneticRatioUnit = A*m^2*J^-1*s^-1;
116
+ attribute <'A⋅s/kg'> 'ampere second per kilogram' : GyromagneticRatioUnit = A*s/kg;
117
+ attribute <'A/m'> 'ampere per metre' : LinearElectricCurrentDensityUnit = A/m;
118
+ attribute <'A/m²'> 'ampere per square metre' : ElectricCurrentDensityUnit = A/m^2;
119
+ attribute <'B/s'> 'byte per second' : TransferRateUnit = B/s;
120
+ attribute <'bit/s'> 'bit per second' : BinaryDigitRateUnit = bit/s;
121
+ attribute <'Bq/kg'> 'becquerel per kilogram' : SpecificActivityUnit = Bq/kg;
122
+ attribute <'Bq/m²'> 'becquerel per square metre' : SurfaceActivityDensityUnit = Bq/m^2;
123
+ attribute <'Bq/m³'> 'becquerel per cubic metre' : ActivityDensityUnit = Bq/m^3;
124
+ attribute <'C⋅m'> 'coulomb metre' : ElectricDipoleMomentUnit = C*m;
125
+ attribute <'C/(kg⋅s)'> 'coulomb per kilogram second' : ExposureRateUnit = C/(kg*s);
126
+ attribute <'C/kg'> 'coulomb per kilogram' : ExposureUnit = C/kg;
127
+ attribute <'C/m'> 'coulomb per metre' : LinearDensityOfElectricChargeUnit = C/m;
128
+ attribute <'C/m²'> 'coulomb per square metre' : SurfaceDensityOfElectricChargeUnit = C/m^2;
129
+ attribute <'C/m³'> 'coulomb per cubic metre' : ElectricChargeDensityUnit = C/m^3;
130
+ attribute <'cd⋅m⁻²'> 'candela metre to the power minus 2' : LuminanceUnit = cd*m^-2;
131
+ attribute <'cd⋅sr'> 'candela steradian' : LuminousFluxUnit = cd*sr;
132
+ attribute <'cd⋅sr⋅kg⁻¹⋅m⁻²⋅s³'> 'candela steradian kilogram to the power minus 1 metre to the power minus 2 second to the power 3' : LuminousEfficacyOfRadiationUnit = cd*sr*kg^-1*m^-2*s^3;
133
+ attribute <'cd⋅sr⋅m⁻²'> 'candela steradian metre to the power minus 2' : IlluminanceUnit = cd*sr*m^-2;
134
+ attribute <'cd⋅sr⋅m⁻²⋅s'> 'candela steradian metre to the power minus 2 second' : LuminousExposureUnit = cd*sr*m^-2*s;
135
+ attribute <'cd⋅sr⋅s'> 'candela steradian second' : LuminousEnergyUnit = cd*sr*s;
136
+ attribute <'eV⋅J⋅kg⋅m²⋅s⁻²'> 'electronvolt joule kilogram metre squared second to the power minus 2' : HartreeEnergyUnit = eV*J*kg*m^2*s^-2;
137
+ attribute <'eV⋅m⁻²/kg'> 'electronvolt metre to the power minus 2 per kilogram' : TotalMassStoppingPowerUnit = eV*m^-2/kg;
138
+ attribute <'eV/m'> 'electronvolt per metre' : TotalLinearStoppingPowerUnit = eV/m;
139
+ attribute <'eV/m²'> 'electronvolt per square metre' : EnergyFluenceUnit = eV/m^2;
140
+ attribute <'F/m'> 'farad per metre' : ElectricConstantUnit = F/m;
141
+ attribute <'g/L'> 'g per l' : MassConcentrationUnit = g/L;
142
+ attribute <'g/mol'> 'g per mole' : MolarMassUnit = g/mol;
143
+ attribute <'Gy/s'> 'gray per second' : AbsorbedDoseRateUnit = Gy/s;
144
+ attribute <'H/m'> 'henry per metre' : MagneticConstantUnit = H/m;
145
+ attribute <'H⁻¹'> 'henry to the power minus 1' : ReluctanceUnit = H^-1;
146
+ attribute <'Hart/s'> 'hartley per second' : AverageInformationRateUnit = Hart/s;
147
+ attribute <'J⋅m²/kg'> 'joule metre squared per kilogram' : TotalMassStoppingPowerUnit = J*m^2/kg;
148
+ attribute <'J⋅s'> 'joule second' : ActionQuantityUnit = J*s;
149
+ attribute <'J⋅s⋅eV⋅s'> 'joule second electronvolt second' : TotalAngularMomentumUnit = J*s*eV*s;
150
+ attribute <'J⋅s⁻¹'> 'joule second to the power minus 1' : PowerUnit = J*s^-1;
151
+ attribute <'J/(kg⋅K)'> 'joule per kilogram kelvin' : SpecificHeatCapacityUnit = J/(kg*K);
152
+ attribute <'J/(m²⋅nm)'> 'joule per square metre nm' : SpectralRadiantExposureUnit = J/(m^2*nm);
153
+ attribute <'J/(m³⋅nm)'> 'joule per cubic metre nm' : SpectralRadiantEnergyDensityInTermsOfWavelengthUnit = J/(m^3*nm);
154
+ attribute <'J/(mol⋅K)'> 'joule per mole kelvin' : MolarHeatCapacityUnit = J/(mol*K);
155
+ attribute <'J/K'> 'joule per kelvin' : HeatCapacityUnit = J/K;
156
+ attribute <'J/kg'> 'joule per kilogram' : SpecificEnergyUnit = J/kg;
157
+ attribute <'J/m'> 'joule per metre' : TotalLinearStoppingPowerUnit = J/m;
158
+ attribute <'J/m²'> 'joule per square metre' : SpectralRadiantEnergyDensityInTermsOfWavenumberUnit = J/m^2;
159
+ attribute <'J/m³'> 'joule per cubic metre' : ElectromagneticEnergyDensityUnit = J/m^3;
160
+ attribute <'J/mol'> 'joule per mole' : MolarInternalEnergyUnit = J/mol;
161
+ attribute <'J/nm'> 'joule per nm' : SpectralRadiantEnergyUnit = J/nm;
162
+ attribute <'J/s'> 'joule per second' : HeatFlowRateUnit = J/s;
163
+ attribute <'J⁻¹⋅m⁻³⋅eV⁻¹⋅m⁻³'> 'joule to the power minus 1 metre to the power minus 3 electronvolt to the power minus 1 metre to the power minus 3' : EnergyDensityOfStatesUnit = J^-1*m^-3*eV^-1*m^-3;
164
+ attribute <'K/Pa'> 'kelvin per pascal' : JouleThomsonCoefficientUnit = K/Pa;
165
+ attribute <'K/W'> 'kelvin per watt' : ThermalResistanceUnit = K/W;
166
+ attribute <'K⁻¹'> 'kelvin to the power minus 1' : LinearExpansionCoefficientUnit = K^-1;
167
+ attribute <'kg⋅m⋅s⁻¹'> 'kilogram metre second to the power minus 1' : MomentumUnit = kg*m*s^-1;
168
+ attribute <'kg⋅m⋅s⁻²'> 'kilogram metre second to the power minus 2' : ForceUnit = kg*m*s^-2;
169
+ attribute <'kg⋅m⋅s⁻³'> 'kilogram metre second to the power minus 3' : SpectralRadiantFluxUnit = kg*m*s^-3;
170
+ attribute <'kg⋅m⋅s⁻³⋅K⁻¹'> 'kilogram metre second to the power minus 3 kelvin to the power minus 1' : ThermalConductivityUnit = kg*m*s^-3*K^-1;
171
+ attribute <'kg⋅m⋅s⁻³⋅sr⁻¹'> 'kilogram metre second to the power minus 3 steradian to the power minus 1' : SpectralRadiantIntensityUnit = kg*m*s^-3*sr^-1;
172
+ attribute <'kg⋅m⁻¹'> 'kilogram metre to the power minus 1' : LinearMassDensityUnit = kg*m^-1;
173
+ attribute <'kg⋅m⁻¹⋅s⁻¹'> 'kilogram metre to the power minus 1 second to the power minus 1' : DynamicViscosityUnit = kg*m^-1*s^-1;
174
+ attribute <'kg⋅m⁻¹⋅s⁻²'> 'kilogram metre to the power minus 1 second to the power minus 2' : PressureUnit = kg*m^-1*s^-2;
175
+ attribute <'kg⋅m⁻¹⋅s⁻²⋅K⁻¹'> 'kilogram metre to the power minus 1 second to the power minus 2 kelvin to the power minus 1' : PressureCoefficientUnit = kg*m^-1*s^-2*K^-1;
176
+ attribute <'kg⋅m⁻¹⋅s⁻³'> 'kilogram metre to the power minus 1 second to the power minus 3' : SpectralIrradianceUnit = kg*m^-1*s^-3;
177
+ attribute <'kg⋅m⁻¹⋅s⁻³⋅sr⁻¹'> 'kilogram metre to the power minus 1 second to the power minus 3 steradian to the power minus 1' : SpectralRadianceUnit = kg*m^-1*s^-3*sr^-1;
178
+ attribute <'kg⋅m⁻²'> 'kilogram metre to the power minus 2' : SurfaceMassDensityUnit = kg*m^-2;
179
+ attribute <'kg⋅m⁻²⋅s⁻¹'> 'kilogram metre to the power minus 2 second to the power minus 1' : MassFlowUnit = kg*m^-2*s^-1;
180
+ attribute <'kg⋅m⁻²⋅s⁻²'> 'kilogram metre to the power minus 2 second to the power minus 2' : SpectralRadiantEnergyDensityInTermsOfWavelengthUnit = kg*m^-2*s^-2;
181
+ attribute <'kg⋅m⁻³'> 'kilogram metre to the power minus 3' : MassDensityUnit = kg*m^-3;
182
+ attribute <'kg⋅m⁻⁴⋅s⁻¹'> 'kilogram metre to the power minus 4 second to the power minus 1' : AcousticImpedanceUnit = kg*m^-4*s^-1;
183
+ attribute <'kg⋅m²'> 'kilogram metre squared' : MomentOfInertiaUnit = kg*m^2;
184
+ attribute <'kg⋅m²⋅s⁻¹'> 'kilogram metre squared second to the power minus 1' : AngularMomentumUnit = kg*m^2*s^-1;
185
+ attribute <'kg⋅m²⋅s⁻²'> 'kilogram metre squared second to the power minus 2' : MomentOfForceUnit = kg*m^2*s^-2;
186
+ attribute <'kg⋅m²⋅s⁻²⋅K⁻¹'> 'kilogram metre squared second to the power minus 2 kelvin to the power minus 1' : HeatCapacityUnit = kg*m^2*s^-2*K^-1;
187
+ attribute <'kg⋅m²⋅s⁻²⋅K⁻¹⋅mol⁻¹'> 'kilogram metre squared second to the power minus 2 kelvin to the power minus 1 mole to the power minus 1' : MolarHeatCapacityUnit = kg*m^2*s^-2*K^-1*mol^-1;
188
+ attribute <'kg⋅m²⋅s⁻²⋅mol⁻¹'> 'kilogram metre squared second to the power minus 2 mole to the power minus 1' : MolarInternalEnergyUnit = kg*m^2*s^-2*mol^-1;
189
+ attribute <'kg⋅m²⋅s⁻³'> 'kilogram metre squared second to the power minus 3' : PowerUnit = kg*m^2*s^-3;
190
+ attribute <'kg⋅m²⋅s⁻³⋅A⁻¹'> 'kilogram metre squared second to the power minus 3 ampere to the power minus 1' : ElectricPotentialDifferenceUnit = kg*m^2*s^-3*A^-1;
191
+ attribute <'kg⋅m²⋅s⁻³⋅A⁻¹⋅K⁻¹'> 'kilogram metre squared second to the power minus 3 ampere to the power minus 1 kelvin to the power minus 1' : SeebeckCoefficientForSubstancesAAndBUnit = kg*m^2*s^-3*A^-1*K^-1;
192
+ attribute <'kg⋅m²⋅s⁻³⋅K⁻¹'> 'kilogram metre squared second to the power minus 3 kelvin to the power minus 1' : ThermalConductanceUnit = kg*m^2*s^-3*K^-1;
193
+ attribute <'kg⋅m²⋅s⁻³⋅sr⁻¹'> 'kilogram metre squared second to the power minus 3 steradian to the power minus 1' : RadiantIntensityUnit = kg*m^2*s^-3*sr^-1;
194
+ attribute <'kg⋅m³⋅s⁻³⋅A⁻²'> 'kilogram metre cubed second to the power minus 3 ampere to the power minus 2' : ResistivityUnit = kg*m^3*s^-3*A^-2;
195
+ attribute <'kg⋅mol⁻¹'> 'kilogram mole to the power minus 1' : MolarMassUnit = kg*mol^-1;
196
+ attribute <'kg⋅s⁻¹'> 'kilogram second to the power minus 1' : MassFlowRateUnit = kg*s^-1;
197
+ attribute <'kg⋅s⁻²'> 'kilogram second to the power minus 2' : SurfaceTensionUnit = kg*s^-2;
198
+ attribute <'kg⋅s⁻²⋅A⁻¹'> 'kilogram second to the power minus 2 ampere to the power minus 1' : MagneticFluxDensityUnit = kg*s^-2*A^-1;
199
+ attribute <'kg⋅s⁻³'> 'kilogram second to the power minus 3' : DensityOfHeatFlowRateUnit = kg*s^-3;
200
+ attribute <'kg⋅s⁻³⋅K⁻¹'> 'kilogram second to the power minus 3 kelvin to the power minus 1' : CoefficientOfHeatTransferUnit = kg*s^-3*K^-1;
201
+ attribute <'kg⋅s⁻³⋅sr⁻¹'> 'kilogram second to the power minus 3 steradian to the power minus 1' : RadianceUnit = kg*s^-3*sr^-1;
202
+ attribute <'kg⁻¹⋅A'> 'kilogram to the power minus 1 ampere' : ExposureRateUnit = kg^-1*A;
203
+ attribute <'kg⁻¹⋅m⋅s²'> 'kilogram to the power minus 1 metre second to the power 2' : CompressibilityUnit = kg^-1*m*s^2;
204
+ attribute <'kg⁻¹⋅m⋅s²⋅K'> 'kilogram to the power minus 1 metre second to the power 2 kelvin' : JouleThomsonCoefficientUnit = kg^-1*m*s^2*K;
205
+ attribute <'kg⁻¹⋅m⁻²⋅s³⋅K'> 'kilogram to the power minus 1 metre to the power minus 2 second to the power 3 kelvin' : ThermalResistanceUnit = kg^-1*m^-2*s^3*K;
206
+ attribute <'kg⁻¹⋅m⁻³⋅s³⋅A²'> 'kilogram to the power minus 1 metre to the power minus 3 second to the power 3 ampere to the power 2' : ElectrolyticConductivityUnit = kg^-1*m^-3*s^3*A^2;
207
+ attribute <'kg⁻¹⋅m⁻⁵⋅s²'> 'kilogram to the power minus 1 metre to the power minus 5 second to the power 2' : EnergyDensityOfStatesUnit = kg^-1*m^-5*s^2;
208
+ attribute <'kg⁻¹⋅m²'> 'kilogram to the power minus 1 metre squared' : MassAttenuationCoefficientUnit = kg^-1*m^2;
209
+ attribute <'kg⁻¹⋅m³'> 'kilogram to the power minus 1 metre cubed' : SpecificVolumeUnit = kg^-1*m^3;
210
+ attribute <'kg⁻¹⋅s⋅A'> 'kilogram to the power minus 1 second ampere' : GyromagneticRatioUnit = kg^-1*s*A;
211
+ attribute <'kg⁻¹⋅s⁻¹'> 'kilogram to the power minus 1 second to the power minus 1' : SpecificActivityUnit = kg^-1*s^-1;
212
+ attribute <'kg⁻¹⋅s²'> 'kilogram to the power minus 1 second to the power 2' : EnergyDistributionOfCrossSectionUnit = kg^-1*s^2;
213
+ attribute <'kg⁻¹⋅s²⋅A'> 'kilogram to the power minus 1 second to the power 2 ampere' : MobilityUnit = kg^-1*s^2*A;
214
+ attribute <'kg⁻¹⋅s³⋅A²⋅mol⁻¹'> 'kilogram to the power minus 1 second to the power 3 ampere to the power 2 mole to the power minus 1' : MolarConductivityUnit = kg^-1*s^3*A^2*mol^-1;
215
+ attribute <'kg⁻¹⋅s³⋅K'> 'kilogram to the power minus 1 second to the power 3 kelvin' : ThermalInsulanceUnit = kg^-1*s^3*K;
216
+ attribute <'kg²⋅m⁻²⋅s⁻³'> 'kilogram to the power 2 metre to the power minus 2 second to the power minus 3' : SoundExposureUnit = kg^2*m^-2*s^-3;
217
+ attribute <'kg²⋅m⁴⋅s⁻⁶⋅A⁻²⋅K⁻²'> 'kilogram to the power 2 metre to the power 4 second to the power minus 6 ampere to the power minus 2 kelvin to the power minus 2' : LorenzCoefficientUnit = kg^2*m^4*s^-6*A^-2*K^-2;
218
+ attribute <'lm⋅s'> 'lumen second' : LuminousEnergyUnit = lm*s;
219
+ attribute <'lm/m²'> 'lumen per square metre' : LuminousExitanceUnit = lm/m^2;
220
+ attribute <'lm/W'> 'lumen per watt' : LuminousEfficacyOfRadiationUnit = lm/W;
221
+ attribute <'lx⋅s'> 'lux second' : LuminousExposureUnit = lx*s;
222
+ attribute <'m⋅s⁻¹'> 'metre second to the power minus 1' : SpeedUnit = m*s^-1;
223
+ attribute <'m⋅s⁻²'> 'metre second to the power minus 2' : AccelerationUnit = m*s^-2;
224
+ attribute <'m/s'> 'metre per second' : SpeedUnit = m/s;
225
+ attribute <'m⁻¹'> 'metre to the power minus 1' : CurvatureUnit = m^-1;
226
+ attribute <'m⁻²'> 'metre to the power minus 2' : PhotonExposureUnit = m^-2;
227
+ attribute <'m⁻²⋅s⁻¹'> 'metre to the power minus 2 second to the power minus 1' : PhotonIrradianceUnit = m^-2*s^-1;
228
+ attribute <'m⁻²⋅s⁻¹⋅sr⁻¹'> 'metre to the power minus 2 second to the power minus 1 steradian to the power minus 1' : PhotonRadianceUnit = m^-2*s^-1*sr^-1;
229
+ attribute <'m⁻³'> 'metre to the power minus 3' : ParticleConcentrationUnit = m^-3;
230
+ attribute <'m⁻³⋅s'> 'metre to the power minus 3 second' : DensityOfVibrationalStatesUnit = m^-3*s;
231
+ attribute <'m⁻³⋅s⁻¹'> 'metre to the power minus 3 second to the power minus 1' : ActivityDensityUnit = m^-3*s^-1;
232
+ attribute <'m²'> 'metre squared' : AreaUnit = m^2;
233
+ attribute <'m²⋅A'> 'metre squared ampere' : MagneticDipoleMomentUnit = m^2*A;
234
+ attribute <'m²⋅K/W'> 'metre squared kelvin per watt' : ThermalInsulanceUnit = m^2*K/W;
235
+ attribute <'m²⋅mol⁻¹'> 'metre squared mole to the power minus 1' : MolarAbsorptionCoefficientUnit = m^2*mol^-1;
236
+ attribute <'m²⋅s⁻¹'> 'metre squared second to the power minus 1' : KinematicViscosityUnit = m^2*s^-1;
237
+ attribute <'m²⋅s⁻²'> 'metre squared second to the power minus 2' : SpecificEnergyUnit = m^2*s^-2;
238
+ attribute <'m²⋅s⁻²⋅K⁻¹'> 'metre squared second to the power minus 2 kelvin to the power minus 1' : SpecificHeatCapacityUnit = m^2*s^-2*K^-1;
239
+ attribute <'m²⋅s⁻³'> 'metre squared second to the power minus 3' : DoseEquivalentUnit = m^2*s^-3;
240
+ attribute <'m²⋅sr⁻¹'> 'metre squared steradian to the power minus 1' : DirectionDistributionOfCrossSectionUnit = m^2*sr^-1;
241
+ attribute <'m²/(J⋅sr)'> 'metre squared per joule steradian' : DirectionAndEnergyDistributionOfCrossSectionUnit = m^2/(J*sr);
242
+ attribute <'m²/(V⋅s)'> 'metre squared per volt second' : MobilityUnit = m^2/(V*s);
243
+ attribute <'m²/J'> 'metre squared per joule' : EnergyDistributionOfCrossSectionUnit = m^2/J;
244
+ attribute <'m³'> 'metre cubed' : VolumeUnit = m^3;
245
+ attribute <'m³⋅mol⁻¹'> 'metre cubed mole to the power minus 1' : MolarVolumeUnit = m^3*mol^-1;
246
+ attribute <'m³⋅s⁻¹'> 'metre cubed second to the power minus 1' : VolumeFlowRateUnit = m^3*s^-1;
247
+ attribute <'m³/C⋅m³⋅s⁻¹⋅A⁻¹'> 'metre cubed per coulomb cubic metre second to the power minus 1 ampere to the power minus 1' : HallCoefficientUnit = m^3/C*m^3*s^-1*A^-1;
248
+ attribute <'m⁴'> 'metre to the power 4' : SecondAxialMomentOfAreaUnit = m^4;
249
+ attribute <'m⁴⋅s⁻²'> 'metre to the power 4 second to the power minus 2' : TotalMassStoppingPowerUnit = m^4*s^-2;
250
+ attribute <'mL/L '> 'ml per l' : VolumeFractionUnit = mL/L;
251
+ attribute <'mol⋅kg⁻¹'> 'mole kilogram to the power minus 1' : IonicStrengthUnit = mol*kg^-1;
252
+ attribute <'mol⋅m⁻³'> 'mole metre to the power minus 3' : AmountOfSubstanceConcentrationUnit = mol*m^-3;
253
+ attribute <'mol/kg'> 'mole per kilogram' : MolalityUnit = mol/kg;
254
+ attribute <'mol/L'> 'mole per l' : AmountOfSubstanceConcentrationUnit = mol/L;
255
+ attribute <'mol/m³'> 'mole per cubic metre' : EquilibriumConstantOnConcentrationBasisUnit = mol/m^3;
256
+ attribute <'N⋅m'> 'newton metre' : MomentOfForceUnit, TorqueUnit = N*m {
257
+ attribute :>> MomentOfForceUnit::quantityDimension, TorqueUnit::quantityDimension {
258
+ :>> MomentOfForceUnit::quantityDimension::quantityPowerFactors, TorqueUnit::quantityDimension::quantityPowerFactors;
259
+ }
260
+ }
261
+ attribute <'N⋅m⋅s'> 'newton metre second' : AngularImpulseUnit = N*m*s;
262
+ attribute <'N⋅m⋅s⁻¹'> 'newton metre second to the power minus 1' : PowerUnit = N*m*s^-1;
263
+ attribute <'N⋅m⁻¹'> 'newton metre to the power minus 1' : SurfaceTensionUnit = N*m^-1;
264
+ attribute <'N⋅m⁻²'> 'newton metre to the power minus 2' : PressureUnit = N*m^-2;
265
+ attribute <'N⋅s'> 'newton second' : ImpulseUnit = N*s;
266
+ attribute <'nat/s'> 'natural unit of information per second' : AverageInformationRateUnit = nat/s;
267
+ attribute <'o/s'> 'octet per second' : TransferRateUnit = o/s;
268
+ attribute <'Pa⋅s'> 'pascal second' : DynamicViscosityUnit = Pa*s;
269
+ attribute <'Pa⋅s/m'> 'pascal second per metre' : CharacteristicImpedanceOfAMediumForLongitudinalWavesUnit = Pa*s/m;
270
+ attribute <'Pa⋅s/m³'> 'pascal second per cubic metre' : AcousticImpedanceUnit = Pa*s/m^3;
271
+ attribute <'Pa/K'> 'pascal per kelvin' : PressureCoefficientUnit = Pa/K;
272
+ attribute <'Pa⁻¹'> 'pascal to the power minus 1' : CompressibilityUnit = Pa^-1;
273
+ attribute <'Pa²⋅s'> 'pascal to the power 2 second' : SoundExposureUnit = Pa^2*s;
274
+ attribute <'rad⋅m²/kg¹'> 'radian metre squared per kilogram to the power 1' : SpecificOpticalRotatoryPowerUnit = rad*m^2/kg^1;
275
+ attribute <'rad⋅m²/mol'> 'radian metre squared per mole' : MolarOpticalRotatoryPowerUnit = rad*m^2/mol;
276
+ attribute <'rad⋅s⁻¹'> 'radian second to the power minus 1' : AngularVelocityUnit = rad*s^-1;
277
+ attribute <'rad⋅s⁻²'> 'radian second to the power minus 2' : AngularAccelerationUnit = rad*s^-2;
278
+ attribute <'rad/m'> 'radian per metre' : PhaseCoefficientUnit = rad/m;
279
+ attribute <'s⋅A'> 'second ampere' : ElectricChargeUnit = s*A;
280
+ attribute <'S⋅m²/mol'> 'siemens metre squared per mole' : MolarConductivityUnit = S*m^2/mol;
281
+ attribute <'S/m'> 'siemens per metre' : ConductivityUnit = S/m;
282
+ attribute <'s⁻¹'> 'second to the power minus 1' : AngularVelocityUnit = s^-1;
283
+ attribute <'s⁻¹⋅sr⁻¹'> 'second to the power minus 1 steradian to the power minus 1' : PhotonIntensityUnit = s^-1*sr^-1;
284
+ attribute <'s⁻²'> 'second to the power minus 2' : AngularAccelerationUnit = s^-2;
285
+ attribute <'Sh/s'> 'shannon per second' : AverageInformationRateUnit = Sh/s;
286
+ attribute <'Sv/s'> 'sievert per second' : DoseEquivalentUnit = Sv/s;
287
+ attribute <'V⋅A'> 'volt ampere' : PowerUnit = V*A;
288
+ attribute <'V/K'> 'volt per kelvin' : SeebeckCoefficientForSubstancesAAndBUnit = V/K;
289
+ attribute <'V/m'> 'volt per metre' : ElectricFieldStrengthUnit = V/m;
290
+ attribute <'V²/K²'> 'volt to the power 2 per kelvin to the power 2' : LorenzCoefficientUnit = V^2/K^2;
291
+ attribute <'W⋅h'> 'watt hour' : EnergyUnit = W*h;
292
+ attribute <'W/(m⋅K)'> 'watt per metre kelvin' : ThermalConductivityUnit = W/(m*K);
293
+ attribute <'W/(m²⋅K)'> 'watt per square metre kelvin' : CoefficientOfHeatTransferUnit = W/(m^2*K);
294
+ attribute <'W/(m²⋅nm)'> 'watt per square metre nm' : SpectralIrradianceUnit = W/(m^2*nm);
295
+ attribute <'W/(sr⋅m²)'> 'watt per steradian square metre' : RadianceUnit = W/(sr*m^2);
296
+ attribute <'W/(sr⋅m²⋅nm)'> 'watt per steradian square metre nm' : SpectralRadianceUnit = W/(sr*m^2*nm);
297
+ attribute <'W/(sr⋅nm)'> 'watt per steradian nm' : SpectralRadiantIntensityUnit = W/(sr*nm);
298
+ attribute <'W/K'> 'watt per kelvin' : ThermalConductanceUnit = W/K;
299
+ attribute <'W/kg'> 'watt per kilogram' : DoseEquivalentUnit = W/kg;
300
+ attribute <'W/m²'> 'watt per square metre' : DensityOfHeatFlowRateUnit = W/m^2;
301
+ attribute <'W/nm'> 'watt per nm' : SpectralRadiantFluxUnit = W/nm;
302
+ attribute <'W/sr'> 'watt per steradian' : RadiantIntensityUnit = W/sr;
303
+ attribute <'Wb⋅m'> 'weber metre' : MagneticDipoleMomentUnit = Wb*m;
304
+ attribute <'Wb/m'> 'weber per metre' : MagneticVectorPotentialUnit = Wb/m;
305
+ attribute <'Ω⋅m'> 'ohm metre' : ResistivityUnit = 'Ω'*m;
306
+
307
+ alias 'm/s²' for 'm⋅s⁻²';
308
+
309
+ /*
310
+ * Prefixed units
311
+ */
312
+
313
+ /* Length */
314
+ attribute <nm> nanometre : LengthUnit { :>> unitConversion: ConversionByPrefix { :>> prefix = nano; :>> referenceUnit = m; } }
315
+ attribute <mm> millimetre : LengthUnit { :>> unitConversion: ConversionByPrefix { :>> prefix = milli; :>> referenceUnit = m; } }
316
+ attribute <cm> centimetre : LengthUnit { :>> unitConversion: ConversionByPrefix { :>> prefix = centi; :>> referenceUnit = m; } }
317
+ attribute <km> kilometre : LengthUnit { :>> unitConversion: ConversionByPrefix { :>> prefix = kilo; :>> referenceUnit = m; } }
318
+
319
+ /* Volume */
320
+ attribute <mL> millilitre : VolumeUnit { :>> unitConversion: ConversionByPrefix { :>> prefix = milli; :>> referenceUnit = L; } }
321
+
322
+ /* Force */
323
+ attribute <mN> millinewton : ForceUnit { :>> unitConversion: ConversionByPrefix { :>> prefix = milli; :>> referenceUnit = N; } }
324
+
325
+ /* Energy */
326
+ attribute <kJ> kilojoule : EnergyUnit { :>> unitConversion: ConversionByPrefix { :>> prefix = kilo; :>> referenceUnit = J; } }
327
+ attribute <MJ> megajoule : EnergyUnit { :>> unitConversion: ConversionByPrefix { :>> prefix = mega; :>> referenceUnit = J; } }
328
+ attribute <GJ> gigajoule : EnergyUnit { :>> unitConversion: ConversionByPrefix { :>> prefix = giga; :>> referenceUnit = J; } }
329
+
330
+ /* Power */
331
+ attribute <kW> kilowatt : PowerUnit { :>> unitConversion: ConversionByPrefix { :>> prefix = kilo; :>> referenceUnit = W; } }
332
+
333
+ /* Speed */
334
+ attribute <'km/h'> 'kilometre per hour': SpeedUnit = km/h;
335
+
336
+ /*
337
+ * Celsius units
338
+ */
339
+
340
+ attribute <'°C'> 'degree celsius (temperature difference)' : TemperatureDifferenceUnit {
341
+ doc
342
+ /*
343
+ * degree Celsius unit for temperature interval (i.e. temperature difference) quantities
344
+ */
345
+
346
+ attribute :>> unitConversion: ConversionByConvention { :>> referenceUnit = K; :>> conversionFactor = 1; }
347
+ }
348
+
349
+ attribute <'°C_abs'> 'degree celsius (absolute temperature scale)' : IntervalScale {
350
+ doc
351
+ /*
352
+ * degree Celsius interval scale for absolute (thermodynamic) temperature quantities
353
+ *
354
+ * The interval scale is defined with an explicit transformation with respect to
355
+ * the kelvin thermodynamic temperature scale that specifies the zero shift.
356
+ */
357
+
358
+ attribute :>> unit = '°C';
359
+ attribute temperatureWaterAtFreezingPointInC: DefinitionalQuantityValue {
360
+ :>> num = 0; :>> definition = "temperature in degree Celsius of pure water at freezing point";
361
+ }
362
+ private attribute temperatureWaterAtTriplePointInC: DefinitionalQuantityValue {
363
+ :>> num = 1/100; :>> definition = "temperature in degree Celsius of pure water at the triple point";
364
+ }
365
+ private attribute celsiusToKelvinScaleMapping: QuantityValueMapping {
366
+ :>> mappedQuantityValue = temperatureWaterAtTriplePointInC;
367
+ :>> referenceQuantityValue = K.temperatureOfWaterAtTriplePointInK;
368
+ }
369
+ attribute :>> definitionalQuantityValues = (temperatureWaterAtTriplePointInC, temperatureWaterAtFreezingPointInC);
370
+ attribute :>> quantityValueMapping = celsiusToKelvinScaleMapping;
371
+
372
+ /* CoordinateFramePlacement (zero shift) w.r.t. the kelvin thermodynamic temperature scale */
373
+ private attribute zeroDegreeCelsiusInKelvin: ThermodynamicTemperatureValue = 273.15 [K];
374
+ attribute zeroDegreeCelsiusToKelvinShift : CoordinateFramePlacement :>> transformation {
375
+ :>> source = K; :>> origin = zeroDegreeCelsiusInKelvin;
376
+ }
377
+ }
378
+ }