modelHysteresisHeating
Partial model for a heating system using a hysteresis controller
Extends from IDEAS.Templates.Interfaces.BaseClasses.HeatingSystem (Partial heating/cooling system).
Information
This model represents an ideal heating system with a hysteresis controller.
It reacts instantly when the zone temperature input TSensor is
below TSet by supplying the nominal
heat flow rate QNom.
This heat flow rate is maintained until TSensor is above TSet+dTHys.
The COP is used to compute the electric power that is drawn from
the elecrical grid. It can be ignored if it is not of interest.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nZones (from PartialSystem) | Number of conditioned thermal zones in the building | |
| Integer | nLoads (from PartialSystem) | 0 | Number of electric loads. If zero, all electric equations disappear. |
| Boolean | isDH (from HeatingSystem) | false | =true, if the system is connected to a DH grid |
| Modelica.Units.SI.Power | Q_design (from HeatingSystem) | Total design heat load for heating system based on heat losses | |
| Integer | nTemSen (from HeatingSystem) | nZones | number of temperature inputs for the system |
| Real | dTHys | 2 | Temperature difference for hysteresis controller |
| Modelica.Units.SI.Power | QNom | fill(5000, nZones) | Nominal power, power that is injected when the heating system is on |
| Real | COP | 3 | Coefficient of performance, conversion factor for thermal power to electrical power |
| Advanced | |||
| Integer | nConvPorts (from HeatingSystem) | nZones | Number of ports in building for convective heating/cooling |
| Integer | nRadPorts (from HeatingSystem) | nZones | Number of ports in building for radiative heating/cooling |
| Integer | nEmbPorts (from HeatingSystem) | nZones | Number of ports in building for embedded systems |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Electrical.QuasiStatic.Polyphase.Interfaces.PositivePlug | plugLoad (from PartialSystem) | Electricity connection to the Inhome feeder | |
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatPortCon (from HeatingSystem) | Nodes for convective heat gains | |
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatPortRad (from HeatingSystem) | Nodes for radiative heat gains | |
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_b | heatPortEmb (from HeatingSystem) | Construction nodes for heat gains by embedded layers | |
| Modelica.Blocks.Interfaces.RealInput | TSensor (from HeatingSystem) | Sensor temperature | |
| Modelica.Blocks.Interfaces.RealInput | TSet (from HeatingSystem) | Setpoint temperature for the zones | |
| Modelica.Fluid.Interfaces.FluidPort_a | port_a (from HeatingSystem) | Supply water connection to the DH grid | |
| Modelica.Fluid.Interfaces.FluidPort_b | port_b (from HeatingSystem) | Return water connection to the DH grid |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| IDEAS.BoundaryConditions.SimInfoManager | sim (from PartialSystem) | Simulation information manager for climate data | |
| IDEAS.Experimental.Electric.BaseClasses.AC.WattsLawPlug | wattsLawPlug (from PartialSystem) | ||
| Modelica.Units.SI.Power | QHeaSys (from HeatingSystem) | sum({max(0, -heatPortCon[i].Q_flow) for i in 1:nConvPorts}) + sum({max(0, -heatPortRad[i].Q_flow) for i in 1:nRadPorts}) + sum({max(0, -heatPortEmb[i].Q_flow) for i in 1:nEmbPorts}) | Total thermal power use for space heating |
| Modelica.Units.SI.Power | QCooTotal (from HeatingSystem) | sum({max(0, heatPortCon[i].Q_flow) for i in 1:nConvPorts}) + sum({max(0, heatPortRad[i].Q_flow) for i in 1:nRadPorts}) + sum({max(0, heatPortEmb[i].Q_flow) for i in 1:nEmbPorts}) | Total thermal power use for cooling |
Revisions
-
June 5, 2018 by Filip Jorissen:
Cleaned up implementation for #821. -
January 23, 2017 by Filip Jorissen and Glenn Reynders:
Revised implementation and documentation. - 2013 June, Roel De Coninck: reworking interface and documentation
- 2011, Roel De Coninck: first version