The recorded m_flow channel spans -0.9899 to 0.9899 kg/s in this reference run. It starts at -0.9899 and ends at 0.9899. The first recorded maximum occurs at 2 seconds and the first minimum at -2 seconds.

The system being tested

Lawrence Berkeley National Laboratory publishes the Buildings test named BasicFlowFunction_m_flow_inv_DerivativeCheck2. The source file places it under Fluid, Flow Models. We used the 101 stored values for m_flow over the interval -2 to 2 seconds. This is a simulated test with specified inputs and boundaries.

The component declarations name m_flow (Mass Flow Rate), m_flow_comp (Mass Flow Rate), der_m_flow (Real), der_m_flow_comp (Real). The source declares k = 0.35, m_flow_turbulent = 0.36. These identifiers can be found in the linked model definition. Check how they connect to the plotted quantity before comparing it with a field meter or a differently named controller tag.

Compare the recorded channels

The companion channel der_m_flow covers 0 to 0.7425 kg/s. At -2 s, the primary value is -0.9899 and the companion is 0.7425. Their signed difference is -1.732 kg/s, the largest absolute separation on the common grid. Check the two channels’ physical roles before interpreting that difference as any kind of error.

Basic flow function mass flow inv derivative check2. The simulated m_flow channel runs from -0.9899 to 0.9899 kg/s over 4 seconds.
Basic flow function mass flow inv derivative check2. The simulated m_flow channel runs from -0.9899 to 0.9899 kg/s over 4 seconds. Figure by Industry Applied.

Reproduce the calculation

Integrating the signed rate over 4 seconds gives a net 0 kg. This estimate averages neighbouring stored rates and multiplies by their time separation. Reverse flow reduces the net total. If a process requires gross throughput, calculate forward and reverse transfers separately at the appropriate boundary.

The worked table retains the first and last points, the primary maximum and minimum, the largest adjacent change and a spread of checkpoints across the run. Rounding is for presentation. Use the full linked reference series to repeat integrals or compare events between checkpoints. The archived sampling interval need not match the simulation solver’s internal step.

Worked data

Simulation time (s)

m_flow (kg/s)

der_m_flow (kg/s)

-2

-0.9899495

0.7424621

-1.96

-0.9604

0.735

-1.2

-0.4600869

0.5751087

-0.4

-0.055453

0.3815895

0.4

0.055453

0.3815895

1.2

0.4600869

0.5751087

2

0.9899495

0.7424621

What to check on site

Identify which part of the system the selected output represents, and retain the surrounding boundary conditions. Compare the same event and operating duty in both records. Record the equipment configuration if a later change could alter the test result.

State the operating duty, measurement location and expected tolerance before evaluating a local trend. Re-run the comparison with the installed controls and instruments during a representative operating period. Retain the native units and the raw export so that a later change in software or presentation can be investigated.

Data and source model

Published model and component definitions. Numerical reference series. Simulation and plot commands. Download the worked checkpoints in CSV format.

Cover photograph by Mikhail Nilov, via Pexels. The photograph illustrates the subject. Industry Applied produced the figure and calculations from the linked source.