| 55 | | <p>This block implements the Modelica.SIunits unit conversion functions as a fixed causality block to |
| 56 | | simplify their use. The block contains a replaceable function class <b>convert</b> that can be |
| 57 | | changed to be any of the functions defined in Modelica.SIunits.Conversions, and more generally, any |
| 58 | | functions that extend from Modelica.SIunits.Conversions.ConversionIcon. The output <b>y</b> is optained |
| 59 | | applying the unit conversion function to the input <b>u</b>:</p> |
| 60 | | <pre> |
| 61 | | y = <b>convert</b>( u ); |
| 62 | | </pre> |
| | 55 | <p>This block implements the Modelica.SIunits.Conversions functions as a fixed causality block to |
| | 56 | simplify their use. The block contains a replaceable block class <b>ConversionBlock</b> that can be |
| | 57 | changed to be any of the blocks defined in Modelica.Blocks.Math.UnitConversions, and more generally, any |
| | 58 | blocks that extend from Modelica.Blocks.Interfaces.PartialConversionBlock.</p> |