How to define an efficiency

relationships between the inputs and outputs of a unit

The image below shows an overview of the possible relationships between the inputs and outputs of a unit.

image

image

The key capability requirements are:

  • Easily define arbitrary numbers of input and output flows
  • Easily create piecewise affine linear relationships between any two flows
  • Anything more complicated can be done via user_constraints

unit_flow__unit_flow relationship

image (NOTE! The figure uses the old input data structure)

The flow_ratio_equality_coefficient parameter of the unit_flow__unit_flow relationship class allows you to constrain two unit_flow relationships to each other. Ordering of the unit_flow entities in the unit_flow__unit_flow relationship matters:

input_flow < flow_ratio_less_than_coefficient * output_flow + flow_ratio_less_than_online_coefficient * units_on

real world example: Compressed Air Energy Storage

To give a feeling for why these functionalities are useful, consider the following real world example for Compressed Air Energy Storage:

image