The idxSta.y trace ranges from 1 to 4 across 101 saved checkpoints. It begins at 1 and finishes at 1 after 20,000 s of test time. The source identifies the channel scale as integer or state code. Its first saved maximum occurs at 12,400 s.
The system being tested
Lawrence Berkeley National Laboratory publishes the Buildings test named StageChangeCommandPolyvalent. 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 selMod (Select Mode State), staPhp (Staging Parameters), extStaCoo (Extract Staging Matrix). The source declares capHeaHp_nominal = 1E5, capHeaPhp_nominal = 0.9E5. 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
At 9,400 s, idxSta.y reads 2 and chaSta.capSta.y reads 371,314.3. Across the run, the second channel ranges from 100,000 to 385,657.2. 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.
Reproduce the calculation
The largest absolute change between consecutive stored points appears from 9,200 to 9,400 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 (integer) | chaSta.capSta.y (source units) |
|---|---|---|
0 | 1 | 100000 |
4000 | 1 | 100000 |
8000 | 1 | 185657.1 |
9200 | 1 | 185657.1 |
9400 | 2 | 371314.3 |
12000 | 3 | 385657.2 |
12400 | 4 | 380000 |
16000 | 3 | 290000 |
20000 | 1 | 100000 |
What to check on site
Read the evaporator, condenser and electrical channels at the same duty. The water or air temperatures entering the equipment constrain capacity and efficiency. A compressor command does not specify how much heat actually crosses the useful-load boundary.
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.
Units in the source model
The component declarations identify the scale of the exported variables. In this run, idxSta.y uses integer or state code. Keep the exact channel name and unit together when exporting data to a historian. Read the component definition.
Data and source model
Published model and component definitions. Numerical reference series. Simulation and plot commands. Download the worked checkpoints in CSV format.


