modelMediumColumnDynamic

Vertical shaft with no friction and storage of heat and mass

Extends from Annex60.Fluid.Interfaces.LumpedVolumeDeclarations (Declarations for lumped volumes).

Information

This model contains a completely mixed fluid volume and models that take into account the pressure difference of a medium column that is at the same temperature as the fluid volume. It can be used to model the pressure difference caused by a stack effect.

Set the parameter use_HeatTransfer=true to expose a heatPort. This heatPort can be used to add or subtract heat from the volume. This allows, for example, to use this model in conjunction with a model for heat transfer through walls to model a solar chimney that stores heat.

For a steady-state model, use Annex60.Airflow.Multizone.MediumColumn instead of this model.

In this model, the parameter h must always be positive, and the port port_a must be at the top of the column.

Parameters

TypeNameDefaultDescription
Modelica.SIunits.Lengthh3Height of shaft
Modelica.SIunits.VolumeVVolume in medium shaft
Dynamics › Equations
Modelica.Fluid.Types.DynamicsenergyDynamics (from LumpedVolumeDeclarations)Modelica.Fluid.Types.Dynamics.DynamicFreeInitialType of energy balance: dynamic (3 initialization options) or steady state
Modelica.Fluid.Types.DynamicsmassDynamics (from LumpedVolumeDeclarations)energyDynamicsType of mass balance: dynamic (3 initialization options) or steady state
Modelica.Fluid.Types.DynamicssubstanceDynamics (from LumpedVolumeDeclarations)energyDynamicsType of independent mass fraction balance: dynamic (3 initialization options) or steady state
Modelica.Fluid.Types.DynamicstraceDynamics (from LumpedVolumeDeclarations)energyDynamicsType of trace substance balance: dynamic (3 initialization options) or steady state
Initialization
Medium.AbsolutePressurep_start (from LumpedVolumeDeclarations)Medium.p_defaultStart value of pressure
Medium.TemperatureT_start (from LumpedVolumeDeclarations)Medium.T_defaultStart value of temperature
Medium.MassFraction[Medium.nX]X_start (from LumpedVolumeDeclarations)Medium.X_defaultStart value of mass fractions m_i/m
Medium.ExtraProperty[Medium.nC]C_start (from LumpedVolumeDeclarations)fill(0, Medium.nC)Start value of trace substances
Medium.ExtraProperty[Medium.nC]C_nominal (from LumpedVolumeDeclarations)fill(1E-2, Medium.nC)Nominal value of trace substances. (Set to typical order of magnitude.)
Dynamics
RealmSenFac (from LumpedVolumeDeclarations)1Factor for scaling the sensible thermal mass of the volume
Assumptions
BooleanallowFlowReversaltrue= false to simplify equations, assuming, but not enforcing, no flow reversal
Nominal condition, used only for steady-state model
Modelica.SIunits.MassFlowRatem_flow_nominalNominal mass flow rate
Assumptions › Heat transfer
Booleanuse_HeatTransferfalse= true to use the HeatTransfer model

Connectors

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPort_aport_aFluid connector a (positive design flow direction is from port_a to port_b)
Modelica.Fluid.Interfaces.FluidPort_bport_bFluid connector b (positive design flow direction is from port_a to port_b)
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aheatPortHeat port to exchange energy with the fluid volume

Components

TypeNameDefaultDescription
Annex60.Fluid.MixingVolumes.MixingVolumevolAir volume in the shaft
MediumColumncolTopMedium column that connects to top port
MediumColumncolBotMedium colum that connects to bottom port

Contents

NameDescription
MediumMedium in the component
HeatTransfer

Revisions

  • October 6, 2014 by Michael Wetter:
    Removed assignment of port_?.p.nominal to avoid a warning in OpenModelica because alias sets have different nominal values.
  • July 31, 2011 by Michael Wetter:
    Changed model to use new base class Annex60.Fluid.Interfaces.LumpedVolumeDeclarations.
  • May 25, 2011 by Michael Wetter:
    Added m_flow_nominal, which is used if component is configured as steady-state.
  • July 28, 2010 by Michael Wetter:
    Released first version.