The recorded u.y channel spans -0.5 to 0.5 source units in this reference run. It starts at 0.5 and ends at -0.5. The first recorded maximum occurs at 0 seconds and the first minimum at 0.36 seconds.

The system being tested

Lawrence Berkeley National Laboratory publishes the Buildings test named SamplerWithResetThreshold. The source file places it under Controls, OBC, Utilities, PID With Autotuning, Relay. We used the 101 stored values for u.y over the interval 0 to 1 seconds. This is a simulated test with specified inputs and boundaries.

The component declarations name sam (Sampler With Reset Threshold), resSig (Pulse), u (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 sam.y covers 0 to 0.5 source units. At 0.86 s, the primary value is -0.5 and the companion is 0.5. 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.

Sampler with a reset and a threshold. The simulated u.y channel runs from -0.5 to 0.5 source units over 1 seconds.
Sampler with a reset and a threshold. The simulated u.y channel runs from -0.5 to 0.5 source units over 1 seconds. Figure by Industry Applied.

Reproduce the calculation

The largest absolute change between consecutive stored points appears from 0.5 to 0.51 seconds. Subtracting -0.5 from 0.5 gives 1 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)

u.y (source units)

sam.y (source units)

0

0.5

0

0.2

0.5

0

0.36

-0.5

0

0.4

-0.5

0

0.5

-0.5

0

0.51

0.5

0.5

0.6

0.5

0.5

0.8

0.5

0.5

1

-0.5

0

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.