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 in the component

Revisions

  • January 18, 2019, by Jianjun Hu:
    Limited the media choice to moist air only. See #1050.
  • March 17, 2017, by Michael Wetter:
    Changed assignment of X.
    This is for Annex 60, #675.
  • April 15, 2016, by Michael Wetter:
    First implementation.