The recorded idxSta.y channel spans 1 to 5 source units in this reference run. It starts at 1 and ends at 1. The first recorded maximum occurs at 11,800 seconds and the first minimum at 0 seconds.

The system being tested

Lawrence Berkeley National Laboratory publishes the Buildings test named StageChangeCommand. The source file places it under Templates, Plants, Controls, Staging Rotation. We used the 101 stored values for idxSta.y over the interval 0 to 20,000 seconds. This is a simulated test with specified inputs and boundaries.

The component declarations name TSupSet (Constant), TRet (Constant), idxSta (Stage Index), u1Lea (Constant). 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 chaSta.capSta.y covers 100,000 to 1,000,000 source units. At 11,800 s, the primary value is 5 and the companion is 1,000,000. Their signed difference is -999,995 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.

Stage change logic. The simulated idxSta.y channel runs from 1 to 5 source units over 20,000 seconds.
Stage change logic. The simulated idxSta.y channel runs from 1 to 5 source units over 20,000 seconds. Figure by Industry Applied.

Reproduce the calculation

The largest absolute change between consecutive stored points appears from 3,800 to 4,000 seconds. Subtracting 1 from 2 gives 1 source units. Its location brackets the change within one saved interval of 200 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)

idxSta.y (source units)

chaSta.capSta.y (source units)

0

1

100000

3800

1

100000

4000

2

450000

8000

2

450000

11800

5

1000000

12000

5

1000000

16000

4

900000

20000

1

100000

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.