Value Streams

Value Stream Functions

rate_of_change(value_stream)

Creates the time derivative (seconds)

accumulated_value(value_stream):

The definite (in the time period) integral over time (seconds)

note: Cannot be stored

get_material_flow_time(value_stream, timestamptz[], accumulation_target, direction)

Returns a value stream for the time to the accumulated value for every timestamptz[]

time_shift(attribute_referenceoffset_attribute_reference)

Offsets one value stream with another value stream (in seconds)

Uses get_value_stream_with_offset(attribute_id, offset_attribute_idstart_timestampend_timestampmax_samples, flags)

time_shift(attribute_referenceoffset_scalar)

Offsets one value stream with another value stream (in seconds)

Uses get_value_stream_with_offset(attribute_id, offset_scalarstart_timestampend_timestampmax_samples, flags)

resample(value_stream, timestamptz[]):

Resample_from_value_stream(value_stream, timestamp_value_stream)

Resample_from_interval(value_stream, interval)

Given a value stream, resample the data to match the provided timestamps

remove_duplicates(value_stream)

Removes sequential duplicate values in the value stream

evenly_averaged_sample(value_stream, window) or (value_stream, count)

Averages over window for every point

compress_linear(value_stream, max_value_error)

Swinging door and more. Guarantees that no point has an error of more than max_value_error

Contact Us

ThinkIQ

65 Enterprise
Aliso Viejo, CA  92656
United States

phone: 844-THINKIQ (844)844-6547
email: support@thinkiq.com
websitewww.thinkiq.com