
modelFixedReturn
Extends from BaseClasses.BaseDemand.
Information
This demand model has a fixed return temperature in case the supply temperature is above the return temperature set-point. Otherwise the return temperature equals the supply temperature.
Parameters
| Type | Name | Default | Description |
| Boolean | show_radiator (from BaseDemand) | false | |
| Assumptions |
| Boolean | allowFlowReversal (from PartialTwoPort) | true | = false to simplify equations, assuming, but not enforcing, no flow reversal |
| Nominal condition |
| Modelica.SIunits.MassFlowRate | m_flow_nominal (from PartialTwoPortInterface) | | Nominal mass flow rate |
| Modelica.SIunits.Power | Q_flow_nominal (from BaseDemand) | | Nominal heat flow rate |
| Modelica.SIunits.Temperature | TemSup_nominal (from BaseDemand) | 60.0 + 273.15 | Nominal supply temperature |
| Modelica.SIunits.Temperature | TemRet_nominal (from BaseDemand) | 35.0 + 273.15 | Nominal return temperature |
| Advanced |
| Modelica.SIunits.MassFlowRate | m_flow_small (from PartialTwoPortInterface) | 1E-4*abs(m_flow_nominal) | Small mass flow rate for regularization of zero flow |
| Advanced › Diagnostics |
| Boolean | show_T (from PartialTwoPortInterface) | false | = true, if actual temperature at port is computed |
| Return temperature |
| DisHeatLib.Demand.BaseClasses.InputTypeTret | returnTemperature | DisHeatLib.Demand.BaseClasses.InputTypeTret.Constant | Fixed return temperature |
| Return temperature - From file |
| String | tableName | "NoName" | Table name on file or in function usertab (see docu) |
| String | fileName | "NoName" | File where matrix is stored |
| Integer[:] | columns | {2} | Columns of table to be interpolated |
Components
| Type | Name | Default | Description |
| Modelica.SIunits.MassFlowRate | m_flow (from PartialTwoPortInterface) | port_a.m_flow | Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction) |
| Modelica.SIunits.PressureDifference | dp (from PartialTwoPortInterface) | port_a.p - port_b.p | Pressure difference between port_a and port_b |
| Medium.ThermodynamicState | sta_a (from PartialTwoPortInterface) | Medium.setState_phX(port_a.p, noEvent(actualStream(port_a.h_outflow)), noEvent(actualStream(port_a.Xi_outflow))) | Medium properties in port_a |
| Medium.ThermodynamicState | sta_b (from PartialTwoPortInterface) | Medium.setState_phX(port_b.p, noEvent(actualStream(port_b.h_outflow)), noEvent(actualStream(port_b.Xi_outflow))) | Medium properties in port_b |
Revisions
- Feburary 27, 2019, by Benedikt Leitner:
Implementation and added User's guide.