from_nF function

Requirements.Units.Conversions.from_nF  ยท source

Icon of from_nF

Convert from nanofarad to farad

Extends Modelica.Units.Icons.Conversion

Convert from nanofarad to farad: F := (1/1000000000)*nF. The input nF is the value in nanofarad (type NonSI.Capacitance_nF), the output F the value in farad (type Modelica.Units.SI.Capacitance). The inverse is to_nF.

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_nF(<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_nF(from_nF(7)).

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

Inputs

NameTypeDescription
nF inputNonSI.Capacitance_nFValue in nanofarad

Outputs

NameTypeDescription
F outputSI.CapacitanceValue in farad