modelCHP

Table based CHP model

Extends from AixLib.Fluid.BoilerCHP.BaseClasses.PartialHeatGenerator.

Information

Overview

A table based combined heat and power (CHP) model. Depending on the user choice, this model can be both heat and electricity driven.

Concept

When controlled by heat demand, the CHP is controlled either by flow temperature or by return temperature. When electricity control is activated, an electricity profile needs to be connected to the model. During electricity controlled operation, heat controllers act as emergency systems.

A complete On/Off controller is implemented which takes charge of the timing of each turning on and off command. For example it can be set that between each on and off command, the CHP needs 300 seconds (set in parameter SD_delay) to be able to execute the other command. During this time a PI controller controls the temperature continuously.

Minimum possible capacity can be set to prevent the CHP working in lower capacities. If the timing does not allow a shut down at times lower capacities are required, the CHP works on minimum capacity until the shut down is permitted. This can result in the rise of water temperature higher than setpoint and may in some cases result in temperatures higher than boiling point of water.

The dimension of thermal and electrical power outputs and fuel input as well as the electricity profile should be in kW. The dimension of fuel consumption depends on the user's data.

Assumptions

The combustion temperature T_sorce is at the moment set to a constant value of 1748 K. The value is relevant for exergy analysis.

Parameters

TypeNameDefaultDescription
Unit properties
AixLib.DataBase.CHP.CHPDataSimple.CHPBaseDataDefinitionparamCHP data set
RealminCapacityMinimum allowable working capacity in percent
Control system
BooleanelectricityDrivenfalseIf the CHP is controlled by electricity demand (external table required)
BooleanTSetIntrueInput temperature setpoint from outside (Otherwise max temp in database)
BooleanctrlStrategytrueTrue for flow-, false for return- temperature control strategy
Modelica.Units.SI.TemperatureDifferenceminDeltaT10Minimum flow and return temperature difference
Modelica.Units.SI.TemperatureDifferenceTFlowRange2Range of allowable flow temperature
Modelica.Units.SI.TimedelayTime3600Shutdown/Startup delay
RealKc1Gain of the controller
Modelica.Units.SI.TimeTc60Time Constant (T>0 required)
Modelica.Units.SI.TimedelayUnit60Delay measurement of the controller output

Components

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputTSetTemperature setpoint
Modelica.Blocks.Interfaces.RealInputelSetElectrical power setpoint
Modelica.Blocks.Interfaces.BooleanInputonFalse for shut down
Modelica.Blocks.Interfaces.RealOutputTSourceCombustion temperature
Modelica.Blocks.Interfaces.RealOutputelectricalPowerElectrical power
Modelica.Blocks.Interfaces.RealOutputthermalPowerThermal power
Modelica.Blocks.Interfaces.RealOutputfuelInputFuel input
Modelica.Blocks.Interfaces.RealOutputfuelConsumptionFuel consumption
BaseClasses.Controllers.DelayedOnOffControllerdelayedOnOffControllerOnOff controller to swicht between the modes
BaseClasses.Controllers.PIControllerthControlThermal controller
Modelica.Blocks.Math.MinminDetermines the min value of both PI controllers
Modelica.Blocks.Tables.CombiTable1DscombiTable1DsTime table to read CHP performance data
Modelica.Blocks.Continuous.LimPIDelControlElectrical controller
Modelica.Blocks.Sources.ConstantconstSetpointConstant setpoint if utilized
Modelica.Blocks.Sources.ConstantconstAdds safety value on min capacity
Modelica.Blocks.Logical.SwitchctrlSwitchChanges the measured temperature source
Modelica.Blocks.Sources.BooleanConstantbooleanConstantDetermines control strategy
Modelica.Blocks.Math.GaingainConversion factor
Modelica.Blocks.Sources.ConstantexothermicTemperatureExothermic temperature

Revisions

  • December 08, 2016  by Moritz Lauster:
    Adapted to AixLib conventions
  • October 11, 2016  by Pooyan Jahangiri:
    Merged with AixLib
  • January 09, 2006  by Peter Matthes:
    V0.1: Initial configuration.
  • November 28, 2014  by Roozbeh Sangi:
    Output for source Temperature added.
  • October 7, 2013  by Ole Odendahl:
    Formatted documentation appropriately
  • by Pooyan Jahangiri:
    First implementation.