Trending in Niagara 4: history extensions, capacity and archiving to the supervisor
How Niagara 4 histories work: interval vs change-of-value logging, capacity and full policy, viewing charts, and archiving JACE histories to the supervisor.
Trends are the most useful fault-finding tool a BMS has. They also turn into the most annoying gap when nobody set them up. In Niagara 4, trends are called histories, and getting them right is mostly about deciding what to log, how often, and where it ends up.
How histories work
You add a history extension to a point. It records the point’s value, with a timestamp and status, into a history stored on the station. The History Service under Services manages them all, and the history views let you chart, tabulate and export the data.
Interval or change of value?
There are two main kinds of extension.
Interval extensions record at a fixed period, every 15 minutes for example. They’re good for analogue values like temperatures, pressures and valve positions, and they make charts and comparisons straightforward.
Change of value (COV) extensions record only when the value changes, by more than a set tolerance for numeric points. They’re ideal for booleans and enums like run status, alarms and modes, because you capture the exact moment of each change without storing thousands of identical records.
A sensible starting standard for most sites:
| Point type | Logging |
|---|---|
| Temperatures, pressures, humidity | Interval, 5 or 15 minutes |
| Valve and damper positions, fan speeds | Interval, 5 or 15 minutes |
| Run status, enables, alarms, modes | COV |
| Meter totals | Interval, typically 15 or 30 minutes to line up with utility data |
| Setpoints | COV, so you can see when someone changed them |
Capacity and full policy
Each history has a capacity, either a set number of records or unlimited, and a full policy:
- Roll overwrites the oldest records once it’s full. This is usually what you want.
- Stop stops recording once it’s full. It’s rarely what you want, and easy to miss.
JACEs have limited storage, so don’t give every point unlimited capacity at a one-minute interval. Work out roughly how much history the JACE can hold. Here’s a rough example: 96 records a day (one every 15 minutes) kept for 30 days is under 3,000 records per point. Keep the long-term record on the supervisor instead.
Names and IDs
Every history gets an ID, normally built from the station name and the point name. Name points properly before you add histories, and keep station names unique. Renaming things after histories exist can leave a confusing trail of old and new history IDs.
Viewing the data
- History chart. A quick plot of one history.
- Charts with multiple series. Plot related values together. Setpoint, measured value and valve position on one chart tells you more about a control loop than all three separately.
- Table view and export. Raw records, exportable to CSV for analysis or reports.
Build a few standard charts for each plant type and put them on the graphics. Operators are far more likely to look at trends if they’re one click away.
Archiving to the supervisor
On a multi-station system, the long-term history store should be the supervisor. JACE histories can be moved up the Niagara network in two ways:
- Import on the supervisor. The supervisor pulls histories from the JACE on a schedule.
- Export from the JACE. The JACE pushes its histories to the supervisor.
Either way, the archive needs to run more often than the JACE’s histories roll over, or you’ll lose data. Check this as part of commissioning, not after someone asks for last month’s data. See the Web Supervisor and the Niagara network.
BACnet trend logs
Where controllers keep their own BACnet trend logs, Niagara can import them into histories through the device’s trend log extension. That’s useful for fast logging that would overload the network if Niagara polled it. See setting up the BACnet driver.
Make trends part of handover
Agree the trend list with the client, set it up from your station template, and check at handover that histories are recording, archiving and viewable. When a fault call comes in six months later, good trends often tell you the answer before you leave the office. See fault-finding a BMS without guessing.