modelCarnot_TEva_2ndLaw
Test model to verify that the 2nd law is not violated
Extends from Modelica.Icons.Example.
Information
This example verifies that the 2nd law of thermodynamics is not violated despite of a very small temperature lift.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.TemperatureDifference | dTEva_nominal | -4 | Temperature difference evaporator outlet-inlet |
| Modelica.SIunits.TemperatureDifference | dTCon_nominal | 4 | Temperature difference condenser outlet-inlet |
| Real | COPc_nominal | 3 | Chiller COP |
| Modelica.SIunits.HeatFlowRate | QEva_flow_nominal | -100E3 | Evaporator heat flow rate |
| Modelica.SIunits.MassFlowRate | m2_flow_nominal | QEva_flow_nominal/dTEva_nominal/4200 | Nominal mass flow rate at chilled water side |
| Modelica.SIunits.MassFlowRate | m1_flow_nominal | -m2_flow_nominal/dTCon_nominal*dTEva_nominal | Nominal mass flow rate at condeser water side |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Sources.Constant | TEvaIn | Evaporator inlet temperature | |
| Modelica.Blocks.Sources.Constant | dTEva | Temperature difference over evaporator | |
| Modelica.Blocks.Math.Add | TSetEvaLvg | Set point for evaporator leaving temperature | |
| Modelica.Blocks.Sources.Ramp | dTConEva | Temperature lift condenser inlet minus evaporator outlet | |
| Modelica.Blocks.Math.Add | TConIn | Condenser inlet temperature | |
| Chiller | chi_b | Chiller model that uses port_b to compute Carnot efficiency |
Contents
| Name | Description |
|---|---|
| Medium | Medium model |
| Chillerprotected | Subsystem model with the chiller |
Revisions
-
January 9, 2017, by Michael Wetter:
Renamed internal protected classChillerto be upper-case. -
January 3, 2017, by Michael Wetter:
Updated model because the option to use the inlet temperatures to compute the COP has been removed. -
November 18, 2016, by Michael Wetter:
First implementation.