Ideal one port trace substances sensor
This model outputs the trace substances contained in the fluid
connected to its port. The sensor is ideal, i.e., it does not
influence the fluid.
To measure trace substances in a duct or pipe, use Buildings.Fluid.Sensors.TraceSubstancesTwoPort
rather than this sensor. Read the Buildings.Fluid.Sensors.UsersGuide
prior to using this model to see about potential numerical problems
if this sensor is used incorrectly in a system model.
- September 21, 2020, by Michael Wetter:
Introduced parameter warnAboutOnePortConnection and
updated documentation.
This is for #1399.
- February 25, 2020, by Michael Wetter:
Changed icon to display its operating state.
This is for #1294.
- June 10, 2015, by Michael Wetter:
Reformulated assignment of s and assert
statement. The reformulation of the assignment of s
was done to allow a model check in non-pedantic mode. This is for
issue
268.
- September 10, 2013, by Michael Wetter:
Corrected a syntax error in setting the nominal value for the
output signal. This eliminates a compilation error in
OpenModelica.
- February 22, by Michael Wetter:
Improved code that searches for index of trace substance in medium
model.
- March 22, 2010 by Michael Wetter:
Changed assignment for C so that Dymola 7.4 can find
the analytic derivative.
- September 29, 2009, by Michael Wetter:
First implementation.
Generated at 2026-04-01T18:18:38Z by OpenModelicaOpenModelica 1.26.3 using
GenerateDoc.mos