blockX_w_toX

Conversion from Xi to X

Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).

Information

Block that converts a scalar input for the water mass fraction Xi to a vector output X. This is needed for models in which a scalar input signal Xi that may be conditionally removed is to be connected to a model with a vector input X, because the conversion from scalar to vector needs to access the conditional connector, but conditional connectors can only be used in connect statements.

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputX_wWater mass fraction per total air mass
Modelica.Blocks.Interfaces.RealOutput[Medium.nX]XPrescribed fluid composition

Contents

NameDescription
MediumMedium model within the source

Revisions

  • April 15, 2016, by Michael Wetter:
    First implementation.