Annex60.Fluid.Chillers.BaseClasses.PartialCarnot_y

# .Annex60.Fluid.Chillers.BaseClasses.PartialCarnot_y

Partial chiller model with performance curve adjusted based on Carnot efficiency

## Information

This is a partial model of a chiller whose coefficient of performance (COP) changes with temperatures in the same way as the Carnot efficiency changes. This base class is used for the Carnot chiller and Carnot heat pump that uses the leaving fluid temperature as the control signal.

## Revisions

- January 26, 2016, by Michael Wetter:
  Implemented in the Annex 60 library the models Annex60.Fluid.Chillers.Carnot_y and Annex60.Fluid.HeatPumps.Carnot_y and refactored these models to use the same base class.
  Implemented the removal of the flow direction dependency of `staA1`, `staB1`, `staA2` and `staB2` as the efficiency of the Carnot machine should only be computed in the design flow direction, as corrected by Damien Picard.
- December 18, 2015, by Michael Wetter:
  Corrected wrong computation of `staB1` and `staB2` which mistakenly used the `inStream` operator for the configuration without flow reversal. This is for issue 476.
- November 25, 2015 by Michael Wetter:
  Changed sign convention for `dTEva_nominal` to be consistent with other models. The model will still work with the old values for `dTEva_nominal`, but it will write a warning so that users can transition their models.
  Corrected `assert` statement for the efficiency curve. This is for issue 468.
- September 3, 2015 by Michael Wetter:
  Expanded documentation.
- May 6, 2015 by Michael Wetter:
  Added `prescribedHeatFlowRate=true` for `vol2`.
- October 9, 2013 by Michael Wetter:
  Reimplemented the computation of the port states to avoid using the conditionally removed variables `sta_a1`, `sta_a2`, `sta_b1` and `sta_b2`.
- May 10, 2013 by Michael Wetter:
  Added electric power `P` as an output signal.
- October 11, 2010 by Michael Wetter:
  Fixed bug in energy balance.
- March 3, 2009 by Michael Wetter:
  First implementation.

Generated at 2026-05-09T18:18:56Z by OpenModelicaOpenModelica 1.26.7 using GenerateDoc.mos