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
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nOut | Number of splitter outputs | |
| Integer | nIn | Number of splitter inputs | |
| Real[nIn,nOut] | splitFactor | fill(1/nOut, nOut, nIn) | Matrix of split factor for outputs (between 0 and 1 for each row) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput[nIn] | portIn | Single mass fraction input | |
| Modelica.Blocks.Interfaces.RealOutput[nOut] | portOut | Set of mass fraction outputs |