blockQty2Num

Convert a quantity to a number using a lambda unit

Information

To convert a quantity to a number using a scalar unit, instead use Modelica.Blocks.Math.Gain with k set to the reciprocal of the unit.

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputqConnector for the quantity
Modelica.Blocks.Interfaces.RealOutputnConnector for the number

Components

TypeNameDefaultDescription
QCalc.Units.Interfaces.degCu