The soc.SOC trace ranges from 0.29871 to 0.70129 across 101 saved checkpoints. It begins at 0.5 and finishes at 0.50002 after 3,600 s of test time. The source identifies the channel scale as dimensionless. Its first saved maximum occurs at 900 s.
The state-of-charge channel expresses stored condition as a fraction. The heat-flow channel describes transfer at an instant. Compare changes in the fraction with the direction and duration of heat transfer. Adding a fraction to a power value would mix incompatible quantities.
The system being tested
Lawrence Berkeley National Laboratory publishes the Buildings test named StateOfCharge. The source file places it under Fluid, Storage, Ice. We used the 101 stored values for soc.SOC over the interval 0 to 3,600 seconds. This is a simulated test with specified inputs and boundaries.
The component declarations name soc (State Of Charge), q (Cosine), hf (Gain). 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 3,600 s, soc.SOC reads 0.50002 and soc.Q_flow reads 333,550 W. Across the run, the second channel ranges from -333,550 W to 333,550 W. 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 3,564 to 3,600 seconds. Subtracting 0.4874 from 0.5 gives 0.01264 fraction. Its location brackets the change within one saved interval of 36 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) | soc.SOC (dimensionless) | soc.Q_flow (W) |
|---|---|---|
0 | 0.5 | 333550 |
720 | 0.6914361 | 103072.6 |
900 | 0.7012897 | -1.090521e-09 |
1440 | 0.6183103 | -269847.6 |
2160 | 0.3816727 | -269847.6 |
2700 | 0.2987061 | -4.208799e-09 |
2880 | 0.3085624 | 103072.6 |
3564 | 0.4873791 | 332891.8 |
3600 | 0.5000188 | 333550 |
What to check on site
Identify the stored quantity and the boundary through which energy or mass enters. A layer temperature, outlet temperature and volume mean describe different states. Preserve initial inventory and the sequence of charge or discharge when repeating the case.
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.

