from_kvar function
Requirements.Units.Conversions.from_kvar
ยท source
Convert from kilovar to var
Extends Modelica.Units.Icons.Conversion
Convert from kilovar to var: var := 1000*kvar. The input kvar is the value in kilovar (type NonSI.ReactivePower_kvar), the output var the value in var (type Modelica.Units.SI.ReactivePower). The inverse is to_kvar.
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_kvar(<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_kvar(from_kvar(7)).
Copyright © 2026 Model Based Innovation LLC. All rights reserved.
Inputs
| Name | Type | Description |
|---|---|---|
kvar input | NonSI.ReactivePower_kvar | Value in kilovar |
Outputs
| Name | Type | Description |
|---|---|---|
var output | SI.ReactivePower | Value in var |