from_uF function
Requirements.Units.Conversions.from_uF
ยท source
Convert from microfarad to farad
Extends Modelica.Units.Icons.Conversion
Convert from microfarad to farad: F := (1/1000000)*uF. The input uF is the value in microfarad (type NonSI.Capacitance_uF), the output F the value in farad (type Modelica.Units.SI.Capacitance). The inverse is to_uF.
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_uF(<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_uF(from_uF(7)).
Copyright © 2026 Model Based Innovation LLC. All rights reserved.
Inputs
| Name | Type | Description |
|---|---|---|
uF input | NonSI.Capacitance_uF | Value in microfarad |
Outputs
| Name | Type | Description |
|---|---|---|
F output | SI.Capacitance | Value in farad |