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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | q | Connector for the quantity | |
| Modelica.Blocks.Interfaces.RealOutput | n | Connector for the number |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| QCalc.Units.Interfaces.degC | u |