blockNum2Qty
Convert a number to a quantity using a lambda unit
Information
To convert a number to a quantity using a scalar unit, instead use Modelica.Blocks.Math.Gain with k set to the unit.
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | n | Connector for the number | |
| Modelica.Blocks.Interfaces.RealOutput | q | Connector for the quantity |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| QCalc.Units.Interfaces.degC | u |