to_kft function
Requirements.Units.Conversions.to_kft
ยท source
Convert from metre to thousands of feet
Extends Modelica.Units.Icons.Conversion
Convert from metre to thousands of feet: kft := m/304.8. The input m is the value in metre (type Modelica.Units.SI.Length), the output kft the value in thousands of feet (type NonSI.Length_kft). The inverse is from_kft.
The conversion is a multiplication by a constant factor, without offset, so it converts differences and rates alike; it is exact up to floating-point rounding and has no limits on the input. The function is inlined. A check model uses it to give a variable of the model in the unit in which the requirement states it; see Conversions. Examples.Elementary.Units.Conversions asserts it through the round trip to_kft(from_kft(7)).
Copyright © 2026 Model Based Innovation LLC. All rights reserved.
Inputs
| Name | Type | Description |
|---|---|---|
m input | SI.Length | Value in metre |
Outputs
| Name | Type | Description |
|---|---|---|
kft output | NonSI.Length_kft | Value in thousands of feet |