modelElectricalFollowing

Validate model ElectricalFollowing

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This example validates Buildings.Fluid.CHPs.ThermalElectricalFollowing for the CHP unit simulation with the electricity demand priority.

Components

TypeNameDefaultDescription
Buildings.Fluid.CHPs.ThermalElectricalFollowingeleFolCHP unit with the electricity demand priority
Modelica.Blocks.Sources.BooleanTableavaSigPlant availability signal
Buildings.Fluid.Sources.Boundary_pTsinCooling water sink
Buildings.Fluid.Sources.MassFlowSource_TcooWatCooling water source
Buildings.Controls.OBC.CDL.Reals.SubtractdPEleNetAbsolute error for electric power generaton
Buildings.Controls.OBC.CDL.Reals.SubtractdQGenAbsolute error for heat generaton
Buildings.Controls.OBC.CDL.Reals.SubtractdQWatAbsolute error for heat transfer to water control volume
Buildings.Controls.OBC.CDL.Reals.SubtractdQLosAbsolute error for heat loss to the surroundings
Buildings.Controls.OBC.CDL.Reals.SubtractdTWatOutAbsolute error for water outlet temperature
Buildings.Controls.OBC.CDL.Reals.SubtractdTEngAbsolute error for engine temperature
Modelica.Blocks.Sources.RealExpressionPEleNetElectric power generation
Modelica.Blocks.Sources.RealExpressionQGenHeat generation
Modelica.Blocks.Sources.RealExpressionQWatHeat transfer to the water control volume
Modelica.Blocks.Sources.RealExpressionQLosHeat loss to the surrounding
Modelica.Blocks.Sources.RealExpressionTWatOutWater outlet temperature
Modelica.Blocks.Sources.RealExpressionTEngEngine temperature
Buildings.HeatTransfer.Sources.PrescribedTemperaturepreTemVariable temperature boundary condition in Kelvin
Modelica.Blocks.Sources.CombiTimeTablevalDatValidation data from EnergyPlus simulation
Buildings.Controls.OBC.UnitConversions.From_degCTWatInConvert cooling water inlet temperature from degC to kelvin
Buildings.Controls.OBC.UnitConversions.From_degCTRooConvert zone temperature from degC to kelvin
Buildings.Controls.OBC.UnitConversions.From_degCTWatOutValConvert cooling water outplet temperature from degC to kelvin
Buildings.Controls.OBC.UnitConversions.From_degCTEngValConvert engine temperature from degC to kelvin
Modelica.Blocks.Routing.RealPassThroughPEleNetValValidation data for power output
Modelica.Blocks.Routing.RealPassThroughQGenVal_flowValidation data for heat generation rate
Modelica.Blocks.Routing.RealPassThroughQWatVal_flowValidation data for heat flow rate to water
Modelica.Blocks.Routing.RealPassThroughQLosVal_flowValidation data for heat flow rate to ambient
Modelica.Blocks.Continuous.IntegratorEEleElectrical energy generated
Modelica.Blocks.Continuous.IntegratorETheThermal energy recovered
Modelica.Blocks.Continuous.IntegratorEEleValValidation data for electrical energy generated
Modelica.Blocks.Continuous.IntegratorETheValValidation data for thermal energy recovered

Contents

NameDescription
Medium

Revisions

  • October 31, 2019, by Jianjun Hu:
    Refactored implementation.
  • July 01 2019, by Tea Zakula:
    First implementation.