modelMassAccumulation

Mass of the contaminants capatured by the filter

Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).

Information

This model mimics the process for a filter to capture the contaminants. The mass of the contaminants, mCon, increases over time. However, when the input signal uRep changes from false to true, mCon is reset to mCon_start.

Parameters

TypeNameDefaultDescription
IntegernConSub1Total number of contaminant substance types
Modelica.Units.SI.MassmCon_maxMaximum mass of the contaminant that can be captured by the filter
Modelica.Units.SI.MassmCon_startInitial contaminant mass of the filter after replacement

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.RealInput[nConSub]mCon_flowContaminant mass flow rate
Buildings.Controls.OBC.CDL.Interfaces.BooleanInputuRepSwitch to true to replace the filter and reset the accumulation
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutputyRepTrue if the filter is full and should be replaced
Buildings.Controls.OBC.CDL.Interfaces.RealOutputmConMass of the contaminant captured by the filter

Revisions

  • December 22, 2023, by Sen Huang:
    First implementation.