Connector

The purpose of the Connector class is to link components between each other. There are three different types of connectors that represent different types of energy transfer within the system:

  • Mass Connector: energy transfer in the form of mass flow (\(\dot{m} \cdot h\)).

  • Heat Connector: energy transfer in the form of heat flow (\(\dot{Q}\)).

  • Work Connector: energy transfer in the form of work flow (\(\dot{W}\)).

Connectors description.

Example

Consider a compressor connected to a motor. The compressor is connected with connectors:

Connectors for a compressor model.
  • Two mass connectors: supply and exhaust mass flow that can be connected to an evaporator and a condenser, for example.
  • One heat connector: heat flow is connected to the ambient air.
  • One work connector: work flow is connected to a motor.