functiongetPortSubIndex
Returns index of control volumes fluid port for input fluid connectors
Information
1. Purpose of model
Returns index of control volumes fluid port for input fluid connectors.
2. Level of detail, physical effects considered, and physical insight
(no remarks)
3. Limits of validity
(no remarks)
4. Interfaces
(no remarks)
5. Nomenclature
(no remarks)
6. Governing Equations
(no remarks)
7. Remarks for Usage
(no remarks)
8. Validation
(no validation necessary)
9. References
(none)
10. Version History
Model modified (extended so that it works for vectors i_xxx as well) by Carsten Bode (c.bode@tuhh.de), Nov 2018
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | N | ||
| Integer[:] | i_prodIn | ||
| Integer[:] | i_prodOut | ||
| Integer[:] | i_gridIn | ||
| Integer[:] | i_gridOut |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer[4,max({size(i_prodIn, 1), size(i_prodOut, 1), size(i_gridIn, 1), size(i_gridOut, 1)})] | portSubIdx |