modelControllerHeatLed

Controller that gets target temperatures from simCenter and has an input for storage Temperature

Extends from TransiEnt.Producer.Combined.SmallScaleCHP.Base.PartialCHPController (Partial CHP controller model).

Information

1. Purpose of model

Model for heat-led control of CHP.

2. Level of detail, physical effects considered, and physical insight

(no remarks)

3. Limits of validity

(no remarks)

4. Interfaces

controlBus

T_stor_in: input for temperature in [K]

5. Nomenclature

(no remarks)

6. Governing Equations

(no remarks)

7. Remarks for Usage

(no remarks)

8. Validation

(no validation or testing necessary)

9. References

(no remarks)

10. Version History

Created by Arne Koeppen (arne.koeppen@tuhh.de), Jun 2013

Revised by Lisa Andresen (andresen@tuhh.de), Aug 2013

Parameters

TypeNameDefaultDescription
TransiEnt.Producer.Combined.SmallScaleCHP.Base.BaseCHPSpecificationSpecification (from PartialCHPController)
SI.Timet_OnOff (from PartialCHPController)1800Minimum time between switching
BooleanuseGridTemperatures (from PartialCHPController)falseWhether or not to use target grid temperatures
SI.TemperatureT_supply_const (from PartialCHPController)363.15Target temperature of CHP
SI.TemperatureT_return_max (from PartialCHPController)Specification.T_return_maxMaximum allowed return temperature
IntegernDevices1Number of CHP Units
Modelica.Units.SI.TemperatureT_turnOn333.15Minimal allowed return/storage temperature
Modelica.Units.SI.TemperatureT_turnOff363.15Maximum allowed Storage temperature
BooleanuseT_storfalseif false T_return will be used
Modelica.Units.SI.TemperatureT_stor_target363.15Target Storage Temperature
Controller
Modelica.Blocks.Types.SimpleControllercontrollerTypeModelica.Blocks.Types.SimpleController.PIDType of controller
Realk1Gain of controller
Modelica.Units.SI.TimeTi0.1Time constant of Integrator block
Modelica.Units.SI.TimeTd0Time constant of Derivative block
RealyMaxnDevices*Specification.P_el_maxUpper limit of output
RealyMinSpecification.P_el_minLower limit of output
Realwp1Set-point weight for Proportional block (0..1)
Realwd0Set-point weight for Derivative block (0..1)
RealNi0.9Ni*Ti is time constant of anti-windup compensation
RealNd10The higher Nd, the more ideal the derivative block
Controller › Initialization
Modelica.Blocks.Types.InitinitTypeModelica.Blocks.Types.Init.InitialStateType of initialization (1: no init, 2: steady state, 3: initial state, 4: initial output)
BooleanlimitsAtInittrue= false, if limits are ignored during initializiation
Realxi_start0Initial or guess value value for integrator output (= integrator state)
Realxd_start0Initial or guess value for state of derivative block
Realy_startSpecification.P_el_maxInitial value of output

Connectors

TypeNameDefaultDescription
TransiEnt.Producer.Combined.SmallScaleCHP.Base.ControlBuscontrolBus (from PartialCHPController)
TransiEnt.Basics.Interfaces.General.TemperatureInT_stor_in

Components

TypeNameDefaultDescription
TransiEnt.SimCentersimCenter (from PartialCHPController)
Realsigma (from PartialCHPController)Heat fraction
SI.TimerunningTime (from PartialCHPController)Total time running
SI.TimestartTime (from PartialCHPController)Time since last start
SI.TimestopTime (from PartialCHPController)Time since last stop
IntegerstartCounter (from PartialCHPController)Counter to start on/off cycles
SI.TemperatureDifferencedT (from PartialCHPController)Target temperature difference
SI.Pressuredp (from PartialCHPController)Measured pressure difference in CHP
Modelica.Units.NonSI.Temperature_degCT_supply_target (from PartialCHPController)Target supply temperature
Realrunningtime (from PartialCHPController)if switch then 1 else 0
Modelica.Blocks.Logical.Timertimer (from PartialCHPController)
BooleanoffCondition
BooleanonCondition
Modelica.Units.SI.TemperatureT_return_target
Modelica.Blocks.Continuous.LimPIDPID
Modelica.Blocks.Math.GainsignChanger