-
Notifications
You must be signed in to change notification settings - Fork 92
/
Copy pathmeasure_mapping.py
61 lines (58 loc) · 2.91 KB
/
measure_mapping.py
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
"""
Based on the table https://github.com/buildingSMART/IDS/blob/master/Documentation/units.md
Numerical values of physical quantities are represented using SI units. The following table lists the physical quantities and their units.
A full list of IFC Defined types can be found in the IFC documentation. For example for IFC 4ADD2TC1 it is here: https://standards.buildingsmart.org/IFC/RELEASE/IFC4/ADD2_TC1/HTML/link/alphabeticalorder-defined-types.htm
"""
MEASURE_MAPPING = {
# Ifc Defined Type name --> Dimensional exponents
'IfcAmountOfSubstanceMeasure': '0 0 0 0 0 1 0',
'IfcAreaDensityMeasure': '-2 1 0 0 0 0 0',
'IfcAreaMeasure': '2 0 0 0 0 0 0',
'IfcDynamicViscosityMeasure': '-1 1 -1 0 0 0 0',
'IfcElectricCapacitanceMeasure': '-2 1 4 1 0 0 0',
'IfcElectricChargeMeasure': '0 0 1 1 0 0 0',
'IfcElectricConductanceMeasure': '-2 -1 3 2 0 0 0',
'IfcElectricCurrentMeasure': '0 0 0 1 0 0 0',
'IfcElectricResistanceMeasure': '2 1 -3 -2 0 0 0',
'IfcElectricVoltageMeasure': '2 1 -3 -1 0 0 0',
'IfcEnergyMeasure': '2 1 -2 0 0 0 0',
'IfcForceMeasure': '1 1 -2 0 0 0 0',
'IfcFrequencyMeasure': '0 0 -1 0 0 0 0',
'IfcHeatFluxDensityMeasure': '0 1 -3 0 0 0 0',
'IfcHeatingValueMeasure': '2 1 -2 0 -1 0 0',
'IfcIlluminanceMeasure': '-2 0 0 0 0 0 1',
'IfcIonConcentrationMeasure': '-3 1 0 0 0 0 0',
'IfcIsothermalMoistureCapacityMeasure': '3 -1 0 0 0 0 0',
'IfcLengthMeasure': '1 0 0 0 0 0 0',
'IfcLinearVelocityMeasure': '1 0 -1 0 0 0 0',
'IfcLuminousFluxMeasure': '0 0 0 0 0 0 1',
'IfcLuminousIntensityMeasure': '0 0 0 0 0 0 1',
'IfcMassDensityMeasure': '-3 1 0 0 0 0 0',
'IfcMassFlowRateMeasure': '0 1 -1 0 0 0 0',
'IfcMassMeasure': '0 1 0 0 0 0 0',
'IfcMassPerLengthMeasure': '-1 1 0 0 0 0 0',
'IfcModulusOfElasticityMeasure': '-1 1 -2 0 0 0 0',
'IfcMoistureDiffusivityMeasure': '3 0 -1 0 0 0 0',
'IfcMolecularWeightMeasure': '0 1 0 0 0 -1 0',
'IfcMomentOfInertiaMeasure': '4 0 0 0 0 0 0',
'IfcPHMeasure': '0 0 0 0 0 0 0',
'IfcPlanarForceMeasure': '-1 1 -2 0 0 0 0',
'IfcPlaneAngleMeasure': '0 0 0 0 0 0 0',
'IfcPowerMeasure': '2 1 -3 0 0 0 0',
'IfcPressureMeasure': '-1 1 -2 0 0 0 0',
'IfcRadioActivityMeasure': '0 0 -1 0 0 0 0',
'IfcRatioMeasure': '0 0 0 0 0 0 0',
'IfcRotationalFrequencyMeasure': '0 0 -1 0 0 0 0',
'IfcSectionModulusMeasure': '3 0 0 0 0 0 0',
'IfcSoundPowerMeasure': '0 0 0 0 0 0 0',
'IfcSoundPressureMeasure': '0 0 0 0 0 0 0',
'IfcSpecificHeatCapacityMeasure': '2 0 -2 0 -1 0 0',
'IfcTemperatureRateOfChangeMeasure': '0 0 -1 0 1 0 0',
'IfcThermalConductivityMeasure': '1 1 -3 0 -1 0 0',
'IfcThermodynamicTemperatureMeasure': '0 0 0 0 1 0 0',
'IfcTimeMeasure': '0 0 1 0 0 0 0',
'IfcTorqueMeasure': '2 1 -2 0 0 0 0',
'IfcVaporPermeabilityMeasure': '0 0 1 0 0 0 0',
'IfcVolumeMeasure': '3 0 0 0 0 0 0',
'IfcVolumetricFlowRateMeasure': '3 0 -1 0 0 0 0',
}