The signed flow trace gives a net 8.94e-10 kg over 10 s, using the trapezoidal rule between saved samples. The smallest and largest reported rates are -2 kg/s and 2 kg/s. Check the positive flow direction in the model before using the sign to describe delivery or return.
The system being tested
Lawrence Berkeley National Laboratory publishes the Buildings test named MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate. The source file places it under Fluid, Mixing Volumes. We used the 101 stored values for volDyn.ports[1].m_flow over the interval 0 to 10 seconds. This is a simulated test with specified inputs and boundaries.
The reference file contains 4 recorded variables. Alongside the primary output there are volDyn.ports[1].m_flow, gain.y, volSte.Xi[1], volDyn.Xi[1]. The source and the export are linked independently below so that each reading can be traced back to its calculated channel.
Compare the recorded channels
At 9.9 s, volDyn.ports[1].m_flow reads -1.96 kg/s and gain.y reads -0.0098. Across the run, the second channel ranges from -0.01 to 0.01. Compare the timing of changes on the two traces. A numerical difference between these channels has no demonstrated physical meaning without matching quantity definitions and units.
![Mixing volume with moisture input and flow reversal and prescribed heat flow rate. The simulated volDyn.ports[1].m_flow channel runs from -2 to 2 kg/s over 10 seconds.](https://static.wixstatic.com/media/21e41b_7941bb3bf7fb464a85ed51ce28857149~mv2.png/v1/fill/w_616,h_345,al_c,q_85,enc_auto/21e41b_7941bb3bf7fb464a85ed51ce28857149~mv2.png)
Reproduce the calculation
Integrating the signed rate over 10 seconds gives a net 8.94e-10 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) | volDyn.ports[1].m_flow (kg/s) | gain.y (source units) |
|---|---|---|
0 | 2 | 0.01 |
2 | 1.2 | 0.006 |
4 | 0.4 | 0.002 |
6 | -0.4 | -0.002 |
8 | -1.2 | -0.006 |
9.8 | -1.92 | -0.0096 |
9.9 | -1.96 | -0.009800001 |
10 | -2 | -0.01 |
What to check on site
Distinguish the component characteristic from the installed system response. Record the pressure or temperature on both sides as applicable, the direction of flow and the actuator command. Compare a change at constant demand with one caused by a different load.
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.

![Mixing volume with moisture input and flow reversal and prescribed heat flow rate. volDyn.ports[1].m_flow (kg/s) ranges from −2 to 2 across the recorded simulation time (s) interval of 0 to 10. Bands show the minimum and maximum per group of samples. Crossbars mark the median.](/story-art/8932deba441d922ff.webp)