from_kft function

Requirements.Units.Conversions.from_kft  ยท source

Icon of from_kft

Convert from thousands of feet to metre

Extends Modelica.Units.Icons.Conversion

Convert from thousands of feet to metre: m := kft*304.8. The input kft is the value in thousands of feet (type NonSI.Length_kft), the output m the value in metre (type Modelica.Units.SI.Length). The inverse is to_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 write a value of a requirement in the unit in which the requirement states it, from_kft(<value as written>), so that the model reads like the statement; see Conversions. Examples.Elementary.Units.Conversions asserts its factor and the round trip to_kft(from_kft(7)).

Copyright © 2026 Model Based Innovation LLC. All rights reserved.

Inputs

NameTypeDescription
kft inputNonSI.Length_kftValue in thousands of feet

Outputs

NameTypeDescription
m outputSI.LengthValue in metre