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

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
BooleanallowFlowReversal (from PartialTwoPort)true= false to simplify equations, assuming, but not enforcing, no flow reversal
Advanced
SI.TemperatureT_start293.15Initialization temperature

Connectors

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPort_aport_a (from PartialTwoPort)Fluid connector a (positive design flow direction is from port_a to port_b)
Modelica.Fluid.Interfaces.FluidPort_bport_b (from PartialTwoPort)Fluid connector b (positive design flow direction is from port_a to port_b)
Modelica.Blocks.Interfaces.RealInputT
Modelica.Blocks.Interfaces.RealInputQ_flow

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.Thermal.HeatTransfer.Sources.PrescribedHeatFlowprescribedHeatFlow
Modelica.Blocks.Sources.RealExpressionrealExpression2