# Representing Units like MPH

**URL:** <https://forums.buildingsmart.org/t/representing-units-like-mph/1636>\
**Category:** Developers\
**Created:** [July 30, 2019, 2:38pm UTC](https://forums.buildingsmart.org/t/representing-units-like-mph/1636 "2019-07-30T14:38:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nn1](https://avatars.discourse-cdn.com/v4/letter/n/ebca7d/32.png) [@nn1](https://forums.buildingsmart.org/u/nn1)\
**Post date:** [July 30, 2019, 2:38pm UTC](https://forums.buildingsmart.org/t/representing-units-like-mph/1636/1 "2019-07-30T14:38:21Z")

</div>

IFC can represent SI units, derived units and conversion based units.  
To represent mph as a unit, starting from metres and seconds as SI units, there are two possible methods:

(a) define a derived unit m(1)s(-1) and then create a conversion based unit. It can have a name ‘mph’ but currently conversion based units can not have a unit type ‘linear velocity unit’ (check out IfcUnitEnum) . DDS accepts ‘userdefined’ and displays the unit name nicely. No one else.

(b) define miles and hours as conversion based units with names and then create a derived unit which can have a unit type ‘linear velocity unit’ (check out IfcDerivedUnitEnum) but it can not have a name. So the fact the property is in mph is hidden from all users.

Solutions?

1. merge IfcUnitEnum with IfcderivedUnitEnum or at least make them identical
2. add a Name attribute to IfcDerivedUnit
3. stop using IFC in the UK and USA and Myanmar

---

<div class="post-metadata">

**Author:** ![Moult](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/moult/32/196_2.png) [@Moult](https://forums.buildingsmart.org/u/Moult)\
**Post date:** [June 23, 2021, 11:25pm UTC](https://forums.buildingsmart.org/t/representing-units-like-mph/1636/2 "2021-06-23T23:25:19Z")

</div>

Resurrected [here](https://github.com/buildingSMART/IFC4.3.x-development/issues/46).
