The recorded relCon.yDif channel spans -0.998 to 0.998 source units in this reference run. It starts at 0 and ends at 0. The first recorded maximum occurs at 0.62 seconds and the first minimum at 0.87 seconds.
The system being tested
Lawrence Berkeley National Laboratory publishes the Buildings test named Controller. The source file places it under Controls, OBC, Utilities, PID With Autotuning, Relay. We used the 101 stored values for relCon.yDif over the interval 0 to 1 seconds. This is a simulated test with specified inputs and boundaries.
The component declarations name relCon (Controller), sin (Sin), con (Constant), enaSig (Pulse). 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 enaSig.y covers 0 to 1 source units. At 0.87 s, the primary value is -0.998 and the companion is 1. Their signed difference is -1.998 source units, the largest absolute separation on the common grid. Check the two channels’ physical roles before interpreting that difference as any kind of error.

Reproduce the calculation
The largest absolute change between consecutive stored points appears from 0.74 to 0.75 seconds. Subtracting 0.1253 from 0 gives -0.1253 source units. Its location brackets the change within one saved interval of 0.01 seconds. It does not identify an unobserved instantaneous peak or the exact crossing time.
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) | relCon.yDif (source units) | enaSig.y (source units) |
|---|---|---|
0 | 0 | 0 |
0.2 | 0 | 0 |
0.4 | 0 | 0 |
0.6 | 0.9510564 | 1 |
0.62 | 0.9980267 | 1 |
0.74 | 0.1253334 | 1 |
0.75 | 0 | 1 |
0.8 | -0.5877851 | 1 |
0.87 | -0.9980267 | 1 |
1 | 0 | 1 |
What to check on site
Record each condition, calculated request and issued output as separate tags. Keep timestamps and the sample or event rule with the export. A stable displayed value may be held by logic after the measured input has changed.
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.
