The les.y output changes state across 2 adjacent pairs in the saved test. Its first transition is bounded by 1.8 and 1.9 seconds. It is high at 68 of 101 checkpoints. A checkpoint count and a precise duration are different quantities when transitions occur between stored times.
The system being tested
Lawrence Berkeley National Laboratory publishes the Buildings test named LessThreshold. The source file places it under Controls, OBC, CDL, Reals. We used the 101 stored values for les.y over the interval 0 to 10 seconds. This is a simulated test with specified inputs and boundaries.
The component declarations name les (Less Threshold), lesHys (Less Threshold), sin (Sin). 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 lesHys.y covers 0 to 1 source units. At 1.9 s, the primary value is 0 and the companion is 1. Their signed difference is -1 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 1.8 to 1.9 seconds. Subtracting 1 from 0 gives -1 source units. Its location brackets the change within one saved interval of 0.1 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) | les.y (source units) | lesHys.y (source units) |
|---|---|---|
0 | 1 | 1 |
1.8 | 1 | 1 |
1.9 | 0 | 1 |
2 | 0 | 1 |
4 | 0 | 0 |
6 | 1 | 1 |
8 | 1 | 1 |
10 | 1 | 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.
