The published onCounter.y signal spans 0 to 5 count in the reference run. It starts at 0 and finishes at 5. The signed change between those endpoint samples is +5 count.

What the reference test measures

The Buildings model named OnCounter comes from Lawrence Berkeley National Laboratory. The saved result covers simulation time 0 to 2 seconds. Industry Applied extracted 101 checkpoints for onCounter.y and kept the original signed values. The regular output spacing is 0.02 seconds. The solver may take different internal steps.

The model definition identifies onCounter (On Counter), booPul (Pulse), reset (Pulse). These component names let a reader trace the plotted tags to their owning blocks before reproducing the result.

Settings to preserve when repeating the experiment

The published test declares booPul.width = 0.5, booPul.period = 0.1, reset.width = 0.5. Those numbers use the units and component definitions in the linked model. Start with the declared configuration when reproducing the reference result, then vary one setting at a time. Changing the input waveform and the component response in the same comparison makes it difficult to identify the source of a difference.

Reading the two channels

The companion channel onCounter.trigger spans 0 to 1 encoded state across its 101 stored values. The primary trace first reaches its recorded maximum at 0.92 seconds and its minimum at 0 seconds. A time-aligned comparison preserves the meaning and units of each channel.

Event counter output. In the simulated OnCounter case, onCounter.y ranges from 0 to 5 count over 2 seconds.
Event counter output. In the simulated OnCounter case, onCounter.y ranges from 0 to 5 count over 2 seconds. Figure by Industry Applied.

Reproducing the largest recorded change

Between the stored points at 1 and 1.02 seconds, onCounter.y changes from 5 to 0. Subtracting the earlier reading gives -5 count. This interval contains the largest absolute point-to-point change in the saved primary channel. A faster excursion followed by recovery could fit entirely between the two records.

The extrema in the table and figure are extrema of the stored series. A solver’s internal peak, a field logger’s alarm value and a maximum derived from this export can differ. Preserve the sampling settings when comparing results.

Worked data

Simulation time (s)

onCounter.y (count)

onCounter.trigger (state)

0

0

1

0.5

0

0

0.92

5

1

1

5

0

1.02

0

1

1.5

0

0

2

5

0

Applying the result to an operating site

A counter increments on qualifying events. A long active period is still a single event if it contains no fresh edge. Record reset details and define contact debouncing at the acquisition point when comparing with physical cycle counts.

For an Australian monitoring project, write the intended sample interval, timestamp convention, tag units and missed-update policy into the acceptance record. Re-run this comparison on the installed signal path and retain the raw export so a later dashboard change can be checked against the same baseline.

Model and data sources

Model definition. Original numerical reference series. Simulation and plotting script. Source project. Download the worked checkpoints as CSV.

Cover photograph by ed br, via Pexels. The photograph illustrates the subject. Industry Applied produced the figure and calculations from the linked source.