modelMoistSplitter

A simple model which weights a given set of mass fraction inputs to calculate an average mass fraction

Information

This model is used to weight outputs according to given split factors per input port.

The model needs the dimensions of the splitted ports (for input and output ports resp.) and the split factors, which are between 0 and 1. Each row of the split factor matrix gives the split factors for one output port. The number of columns need to align with the number of input ports.

  • April, 2019, by Martin Kremer:
    First Implementation.

Parameters

TypeNameDefaultDescription
IntegernOutNumber of splitter outputs
IntegernInNumber of splitter inputs
Real[nIn,nOut]splitFactorfill(1/nOut, nOut, nIn)Matrix of split factor for outputs (between 0 and 1 for each row)

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInput[nIn]portInSingle mass fraction input
Modelica.Blocks.Interfaces.RealOutput[nOut]portOutSet of mass fraction outputs