modelSimpleConsumer
Simple Consumer
Extends from AixLib.Fluid.Interfaces.PartialTwoPort (Partial component with two ports).
Information
Model with a simple consumer. The consumed power depends either on the temperature (T_fixed or T_input) and the convective coefficient kA or the power is prescribed (Q_flow_input or _Q_flow_fixed). It is possible to choose between these options with the parameter "functionality".
- August 31, 2020, by Alexander Kümpel:
Remove pipes - October 31, 2019, by Alexander Kümpel:
Add more options - October 25, 2017, by Alexander Kümpel:
Transfer from ZUGABE to AixLib -
2016-03-06 by Peter Matthes:
added documentation -
2016-02-17 by Rohit Lad:
implemented simple consumers model
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | kA | 1 | Heat transfer coefficient times area [W/K] |
| SI.Temperature | T_fixed | 293.15 | Ambient temperature for convection |
| SI.HeatCapacity | capacity | 1 | Capacity of the material |
| SI.Volume | V | 0.001 | Volume of water |
| SI.HeatFlowRate | Q_flow_fixed | 0 | Prescribed heat flow |
| SI.MassFlowRate | m_flow_nominal | Nominal mass flow rate | |
| String | functionality | Choose between different functionalities | |
| Assumptions | |||
| Boolean | allowFlowReversal (from PartialTwoPort) | true | = false to simplify equations, assuming, but not enforcing, no flow reversal |
| Advanced | |||
| SI.Temperature | T_start | 293.15 | Initialization temperature |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.Interfaces.FluidPort_a | port_a (from PartialTwoPort) | Fluid connector a (positive design flow direction is from port_a to port_b) | |
| Modelica.Fluid.Interfaces.FluidPort_b | port_b (from PartialTwoPort) | Fluid connector b (positive design flow direction is from port_a to port_b) | |
| Modelica.Blocks.Interfaces.RealInput | T | ||
| Modelica.Blocks.Interfaces.RealInput | Q_flow |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Fluid.MixingVolumes.MixingVolume | volume | ||
| Modelica.Thermal.HeatTransfer.Components.HeatCapacitor | heatCapacitor | ||
| Modelica.Thermal.HeatTransfer.Components.Convection | convection | ||
| Modelica.Thermal.HeatTransfer.Sources.PrescribedTemperature | prescribedTemperature | ||
| Modelica.Blocks.Sources.RealExpression | realExpression | ||
| Modelica.Blocks.Sources.RealExpression | realExpression1 | ||
| Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlow | prescribedHeatFlow | ||
| Modelica.Blocks.Sources.RealExpression | realExpression2 |