to_pF function
Requirements.Units.Conversions.to_pF
ยท source
Convert from farad to picofarad
Extends Modelica.Units.Icons.Conversion
Convert from farad to picofarad: pF := 1000000000000*F. The input F is the value in farad (type Modelica.Units.SI.Capacitance), the output pF the value in picofarad (type NonSI.Capacitance_pF). The inverse is from_pF.
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_pF(from_pF(7)).
Copyright © 2026 Model Based Innovation LLC. All rights reserved.
Inputs
| Name | Type | Description |
|---|---|---|
F input | SI.Capacitance | Value in farad |
Outputs
| Name | Type | Description |
|---|---|---|
pF output | NonSI.Capacitance_pF | Value in picofarad |