The number or INPUTFlux and OUTPUTFlux are parameters model.
Be careful to set the number of ports consistency with NbInputFlux and NbOutputFlux.
Flows are of two types:
Input flux : unit system = [Power or Flowrate, Energy or Mass], with
type “Electrical”, “Thermal” or “Fluid”, named INPUTFluxI where I is a number between 1 and NbInputFlux
Output flux : input efficiency (unit system = [Power or Flowrate,
Energy or Mass], with type “Electrical”, “Thermal” or “Fluid”, named OUTPUTFluxJ where J is a number between 1 and NbOutputFlux
INPUTFluxI and OUTPUTFluxJ are linked by the matrices A and B, defined as A [X Y]^T = B
Where A is a block matrix : [A1 A2, A3 A4], X the vector of INPUTFlux (size NbInputFlux) and Y the vector of OUTPUTFlux (size NbOutputFlux), and B a vector [B1 B2]^T that can be seen as an offset
It defines the set of equations : A1 X + A2 Y = B1 (NbInput equations) and A3 X + A4 Y = B2.
An option is available to define also the set of equations C [X Y]^T <= D in the same principle.
Sizing is done relative to the first ouput OUTPUTFlux1 for MaxPower and Capex.