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