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
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.Producer.Combined.SmallScaleCHP.Base.BaseCHPSpecification | Specification (from PartialCHPController) | ||
| SI.Time | t_OnOff (from PartialCHPController) | 1800 | Minimum time between switching |
| Boolean | useGridTemperatures (from PartialCHPController) | false | Whether or not to use target grid temperatures |
| SI.Temperature | T_supply_const (from PartialCHPController) | 363.15 | Target temperature of CHP |
| SI.Temperature | T_return_max (from PartialCHPController) | Specification.T_return_max | Maximum allowed return temperature |
| Integer | nDevices | 1 | Number of CHP Units |
| Modelica.Units.SI.Temperature | T_turnOn | 333.15 | Minimal allowed return/storage temperature |
| Modelica.Units.SI.Temperature | T_turnOff | 363.15 | Maximum allowed Storage temperature |
| Boolean | useT_stor | false | if false T_return will be used |
| Modelica.Units.SI.Temperature | T_stor_target | 363.15 | Target Storage Temperature |
| Controller | |||
| Modelica.Blocks.Types.SimpleController | controllerType | Modelica.Blocks.Types.SimpleController.PID | Type of controller |
| Real | k | 1 | Gain of controller |
| Modelica.Units.SI.Time | Ti | 0.1 | Time constant of Integrator block |
| Modelica.Units.SI.Time | Td | 0 | Time constant of Derivative block |
| Real | yMax | nDevices*Specification.P_el_max | Upper limit of output |
| Real | yMin | Specification.P_el_min | Lower limit of output |
| Real | wp | 1 | Set-point weight for Proportional block (0..1) |
| Real | wd | 0 | Set-point weight for Derivative block (0..1) |
| Real | Ni | 0.9 | Ni*Ti is time constant of anti-windup compensation |
| Real | Nd | 10 | The higher Nd, the more ideal the derivative block |
| Controller › Initialization | |||
| Modelica.Blocks.Types.Init | initType | Modelica.Blocks.Types.Init.InitialState | Type of initialization (1: no init, 2: steady state, 3: initial state, 4: initial output) |
| Boolean | limitsAtInit | true | = false, if limits are ignored during initializiation |
| Real | xi_start | 0 | Initial or guess value value for integrator output (= integrator state) |
| Real | xd_start | 0 | Initial or guess value for state of derivative block |
| Real | y_start | Specification.P_el_max | Initial value of output |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.Producer.Combined.SmallScaleCHP.Base.ControlBus | controlBus (from PartialCHPController) | ||
| TransiEnt.Basics.Interfaces.General.TemperatureIn | T_stor_in |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.SimCenter | simCenter (from PartialCHPController) | ||
| Real | sigma (from PartialCHPController) | Heat fraction | |
| SI.Time | runningTime (from PartialCHPController) | Total time running | |
| SI.Time | startTime (from PartialCHPController) | Time since last start | |
| SI.Time | stopTime (from PartialCHPController) | Time since last stop | |
| Integer | startCounter (from PartialCHPController) | Counter to start on/off cycles | |
| SI.TemperatureDifference | dT (from PartialCHPController) | Target temperature difference | |
| SI.Pressure | dp (from PartialCHPController) | Measured pressure difference in CHP | |
| Modelica.Units.NonSI.Temperature_degC | T_supply_target (from PartialCHPController) | Target supply temperature | |
| Real | runningtime (from PartialCHPController) | if switch then 1 else 0 | |
| Modelica.Blocks.Logical.Timer | timer (from PartialCHPController) | ||
| Boolean | offCondition | ||
| Boolean | onCondition | ||
| Modelica.Units.SI.Temperature | T_return_target | ||
| Modelica.Blocks.Continuous.LimPID | PID | ||
| Modelica.Blocks.Math.Gain | signChanger |