modelThermalFollowing
Validate model ThermalElectricalFollowing
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This example validates Buildings.Fluid.CHPs.ThermalElectricalFollowing for the CHP unit simulation with the thermal demand priority.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Fluid.CHPs.ThermalElectricalFollowing | theFol | CHP unit with the thermal demand priority | |
| Modelica.Blocks.Sources.BooleanTable | avaSig | Plant availability signal | |
| Buildings.Fluid.Sources.Boundary_pT | sin | Cooling water sink | |
| Buildings.Fluid.Sources.MassFlowSource_T | cooWat | Cooling water source | |
| Buildings.Controls.OBC.CDL.Reals.Subtract | dPEleNet | Absolute error for electric power generaton | |
| Buildings.Controls.OBC.CDL.Reals.Subtract | dQWat | Absolute error for heat transfer to water control volume | |
| Buildings.Controls.OBC.CDL.Reals.Subtract | dTWatOut | Absolute error for water outlet temperature | |
| Modelica.Blocks.Sources.RealExpression | PEleNet | Electric power generation | |
| Modelica.Blocks.Sources.RealExpression | QWat | Heat transfer to the water control volume | |
| Modelica.Blocks.Sources.RealExpression | TWatOut | Water outlet temperature | |
| HeatTransfer.Sources.PrescribedTemperature | preTem | Variable temperature boundary condition in Kelvin | |
| Buildings.Controls.OBC.CDL.Reals.Subtract | dTEng | Absolute error for engine temperature | |
| Modelica.Blocks.Sources.RealExpression | TEng | Engine temperature | |
| Buildings.Controls.OBC.CDL.Reals.Subtract | dQLos | Absolute error for heat loss to the surroundings | |
| Modelica.Blocks.Sources.RealExpression | QLos | Heat loss to the surrounding | |
| Buildings.Controls.OBC.CDL.Reals.Subtract | dQGen | Absolute error for heat generaton | |
| Modelica.Blocks.Sources.RealExpression | QGen | Heat generation | |
| Modelica.Blocks.Sources.CombiTimeTable | valDat | Validation data from EnergyPlus simulation | |
| Buildings.Controls.OBC.UnitConversions.From_degC | TRoo | Convert zone temperature from degC to kelvin | |
| Buildings.Controls.OBC.UnitConversions.From_degC | TWatIn | Convert cooling water inlet temperature from degC to kelvin | |
| Buildings.Controls.OBC.UnitConversions.From_degC | TWatOutSet | Convert outlet water setpoint temperature from degC to kelvin | |
| Buildings.Controls.OBC.UnitConversions.From_degC | TEngVal | Convert engine temperature from degC to kelvin | |
| Buildings.Controls.OBC.UnitConversions.From_degC | TWatOutVal | Convert cooling water outplet temperature from degC to kelvin | |
| Sources.MassFlowSource_T | cooWatNeg | Cooling water source | |
| ThermalElectricalFollowing | theFolNeg | CHP unit with the thermal demand priority and negative water mass flow rate | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant | mWat_flow_negative | Negative water mass flow rate for validation only | |
| Modelica.Blocks.Routing.RealPassThrough | PEleNetVal | Validation data for power output | |
| Modelica.Blocks.Routing.RealPassThrough | QGenVal_flow | Validation data for heat generation rate | |
| Modelica.Blocks.Routing.RealPassThrough | QWatVal_flow | Validation data for heat flow rate to water | |
| Modelica.Blocks.Routing.RealPassThrough | QLosVal_flow | Validation data for heat flow rate to ambient | |
| Modelica.Blocks.Continuous.Integrator | EEle | Electrical energy generated | |
| Modelica.Blocks.Continuous.Integrator | EThe | Thermal energy recovered | |
| Modelica.Blocks.Continuous.Integrator | EEleVal | Validation data for electrical energy generated | |
| Modelica.Blocks.Continuous.Integrator | ETheVal | Validation data for thermal energy recovered |
Contents
| Name | Description |
|---|---|
Revisions
-
December 04, 2019, by Jianjun Hu:
Refactored implementation. -
July 01 2019, by Tea Zakula:
First implementation.