Simple Unit Conversion
Translating units of measurement.
blockType: SimpleUnitConversion
Path in the library:
|
Description
Block Simple Unit Conversion translates the input value of the physical quantity specified in the parameter Physical Quantity, from units of measurement Input Unit in units of measurement Output Unit. The list of measurement units depends on the selected physical quantity.
Read more about the accepted designations for units of measurement in the article. Units of measurement of the Engee Physical Modeling language.
It is convenient to use the block in combination with the input and output ports of physical modeling, which in most cases have SI values (the units of measurement of ports are specified in the documentation for the corresponding block). It should be noted that the validation of the consistency of units of measurement in the input/output ports of the physical modeling units and the block Simple Unit Conversion No.
Also, the block does not set any attributes related to units of measurement to the input and output signals, but only converts the input value to the output value according to the selected units of measurement.
Ports
Input
#
IN_1
—
Input signal
scalar | vector | the matrix
Details
The input value of the value specified by the parameter Physical Quantity, in units of measurement specified by the parameter Input Unit.
| Data types |
|
| Complex numbers support |
I don’t |
Output
#
OUT_1
—
Output signal
scalar | vector | the matrix
Details
The converted value of the value specified by the parameter Physical Quantity, in units of measurement specified by the parameter Output Unit.
| Data types |
|
| Complex numbers support |
I don’t |
Parameters
# Physical Quantity — physical quantity
Details
Select the physical value of the input signal.
| Values |
|
| Default value |
|
| A name for programmatic use |
|
| Configurable |
None |
| Calculated |
None |
# Input Unit — units of measurement of the input signal
Details
Select the units of measurement for the input signal. The available units of measurement depend on the physical quantity.
| A name for programmatic use |
|
| Configurable |
None |
| Calculated |
None |
# Output Unit — units of measurement of the output signal
Details
Select the units of measurement for the output signal. The available units of measurement depend on the physical quantity.
| A name for programmatic use |
|
| Configurable |
None |
| Calculated |
None |