modelSimpleConsumer

Simple Consumer

Extends from AixLib.Fluid.Interfaces.PartialTwoPort.

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

TypeNameDefaultDescription
RealkA1Heat transfer coefficient times area [W/K]
SI.TemperatureT_fixed293.15Ambient temperature for convection
SI.HeatCapacitycapacity1Capacity of the material
SI.VolumeV0.001Volume of water
SI.HeatFlowRateQ_flow_fixed0Prescribed heat flow
SI.MassFlowRatem_flow_nominalNominal mass flow rate
StringfunctionalityChoose between different functionalities
Assumptions
BooleanallowFlowReversaltrue= true to allow flow reversal, false restricts to design direction (port_a -> port_b)
Advanced
SI.TemperatureT_start293.15Initialization temperature

Components

TypeNameDefaultDescription
Fluid.MixingVolumes.MixingVolumevolume
Modelica.Thermal.HeatTransfer.Components.HeatCapacitorheatCapacitor
Modelica.Thermal.HeatTransfer.Components.Convectionconvection
Modelica.Thermal.HeatTransfer.Sources.PrescribedTemperatureprescribedTemperature
Modelica.Blocks.Sources.RealExpressionrealExpression
Modelica.Blocks.Sources.RealExpressionrealExpression1
Modelica.Blocks.Interfaces.RealInputT
Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlowprescribedHeatFlow
Modelica.Blocks.Sources.RealExpressionrealExpression2
Modelica.Blocks.Interfaces.RealInputQ_flow