blockX_w_toX

Conversion from Xi to X

Extends from Modelica.Blocks.Icons.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.

Components

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

  • March 17, 2017, by Michael Wetter:
    Changed assignment of X.
    This is for Annex 60, #675.
  • April 15, 2016, by Michael Wetter:
    First implementation.