modelControllerPumpSolarCollectorTandG
Model for controlling the pump drive supplying of the collector field
Extends from TransiEnt.Basics.Icons.Controller (Icon for controller).
Information
1. Purpose of model
Controller model to control the pump drive supplying of the collector field according to collector temperature and total irradiance
2. Level of detail, physical effects considered, and physical insight
(Purely technical component without physical modeling.)
3. Limits of validity
(Purely technical component without physical modeling.)
4. Interfaces
(no remarks)
5. Nomenclature
(no elements)
6. Governing Equations
(no equations)
7. Remarks for Usage
(no remarks)
8. Validation
Tested in TransiEnt.Producer.Heat.SolarThermal.Check.TestCollectorFluidCycle_constProp.
9. References
(no remarks)
10. Version History
Created by Sascha Guddusch (sascha.guddusch@tuhh.de), May 2016
Modified by Anne Senkel (anne.senkel@tuhh.de), Mar 2017
Modified by Lisa Andresen (andresen@tuhh.de), Apr. 2017
Modified by Anne Senkel (anne.senkel@tuhh.de), Dec 2017
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| General › General | |||
| SI.Irradiance | G_min | 0 | minimum Irradiance before collector is working |
| SI.Temperature | T_set | 323.15 | Temperature set point for controller |
| SI.MassFlowRate | m_flow_min | 0.01 | minimum massflow |
| SI.Pressure | Delta_p | 0 | Pressure loss of the system at minimum massflow |
| SI.Efficiency | eta_mech | 0.98 | mechanic efficiency of the drive |
| SI.Density | rho_m | 1000 | Fluid Density - mean value |
| SI.Temperature | T_stor_max | 273.15 + 90 | Maximum Temperature at which collector is turned off |
| SI.Temperature | T_min | 273.15 | MinimumTemperature at which collector is turned off |
| General › first order transfer function | |||
| Real | k_first | 1 | Gain |
| SI.Time | T | Time Constant | |
| Modelica.Blocks.Types.Init | initType_first | Modelica.Blocks.Types.Init.NoInit | Type of initialization (1: no init, 2: steady state, 3/4: initial output) |
| Real | y_start_first | 0 | Initial or guess value of output (= state) |
| PID › Parameters | |||
| Modelica.Blocks.Types.SimpleController | controllerType | Modelica.Blocks.Types.SimpleController.PID | Type of controller |
| Real | k_PID | 1 | Gain of controller |
| SI.Time | Ti | 0.5 | Time constant of Integrator block |
| SI.Time | Td | 0.1 | Time constant of Derivative block |
| Real | yMax | Upper limit of output | |
| Real | yMin | 0 | 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 |
| PID › Initialization | |||
| Modelica.Blocks.Types.Init | initType_PID | 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 initialization |
| 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_PID | 0 | Initial value of output |
| PID › Advanced | |||
| Boolean | strict | false | = true, if strict limits with noEvent(..) |
| Expert Settings | |||
| Real | eps | 1e-6 | smallest output |
| General › Hysteresis | |||
| SI.TemperatureDifference | Delta_T_db | 1 | Deadband of maximum storage temperature hysteresis |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.Basics.Interfaces.General.TemperatureIn | T_out | ||
| Modelica.Blocks.Interfaces.RealInput | G_total | ||
| TransiEnt.Basics.Interfaces.Electrical.ElectricPowerOut | P_drive | ||
| TransiEnt.Basics.Interfaces.General.TemperatureIn | T_stor | ||
| TransiEnt.Basics.Interfaces.General.TemperatureIn | T_in |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Continuous.LimPID | PID | ||
| Modelica.Blocks.Sources.Constant | set_point_temp | ||
| Modelica.Blocks.Continuous.FirstOrder | firstOrder | ||
| Modelica.Blocks.Logical.GreaterEqual | greaterEqual | ||
| Modelica.Blocks.Sources.Constant | min_irradiance | ||
| Modelica.Blocks.Logical.Switch | switch2 | ||
| Modelica.Blocks.Sources.Constant | zero | ||
| Modelica.Blocks.Sources.Constant | P_drive_min | ||
| Modelica.Blocks.Math.Add | add | ||
| Modelica.Blocks.Logical.Hysteresis | Hysteresis_T_stor | ||
| Modelica.Blocks.Logical.And | and1 | ||
| Modelica.Blocks.Logical.GreaterThreshold | greaterThreshold_freezingPoint | ||
| Modelica.Blocks.Logical.And | and2 | ||
| Modelica.Blocks.Logical.Not | not1 |