from_kVA function
Requirements.Units.Conversions.from_kVA
ยท source
Convert from kilovolt-ampere to volt-ampere
Extends Modelica.Units.Icons.Conversion
Convert from kilovolt-ampere to volt-ampere: VA := 1000*kVA. The input kVA is the value in kilovolt-ampere (type NonSI.ApparentPower_kVA), the output VA the value in volt-ampere (type Modelica.Units.SI.ApparentPower). The inverse is to_kVA.
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_kVA(<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_kVA(from_kVA(7)).
Copyright © 2026 Model Based Innovation LLC. All rights reserved.
Inputs
| Name | Type | Description |
|---|---|---|
kVA input | NonSI.ApparentPower_kVA | Value in kilovolt-ampere |
Outputs
| Name | Type | Description |
|---|---|---|
VA output | SI.ApparentPower | Value in volt-ampere |