Skip to content

Software to compare time series within user-specified tolerances

License

Notifications You must be signed in to change notification settings

AntoineGautier/funnel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

funnel

Build Status

Software to compare time series within user-specified tolerances.

A funnel is generated around the reference curve and the other curve is checked to verify if it is inside the funnel. The funnel can be reshaped by resetting tolerance. One potential application is to verify the development of building HVAC control sequence. It compares data curves from real operation with data curves from simulation using developed control sequences, to verify if the developed control sequences have been implemented correctly so the same behavior being achieved.

How to run

To compile the C files, run

make build

To see usage information, start the tool with command line argument --help

bin/funnel --help

You can set the arguments as:

Usage: funnel [OPTIONS...]
  Compares time series within user-specified tolerances.

  --test             Name of CSV file to be tested.
  --reference        Name of CSV file with reference data.
  --output           Directory to save outputs.
  --atolx            Absolute tolerance in x direction.
  --atoly            Absolute tolerance in y direction.
  --rtolx            Relative tolerance in x direction.
  --rtoly            Relative tolerance in y direction.
  --help             Print this help.

  At least one tolerance must be specified for x and y.

  Typical use:
    ./funnel --reference trended.csv --test simulated.csv --atolx 0.002 --atoly 0.002 --output results/

To run an example, with trended.csv as base data and simulated.csv as test data, run

./funnel --reference trended.csv --test simulated.csv --atolx 0.002 --atoly 0.002 --output results/

How to run tests

To run all tests, run

make build test

License

Modified 3-clause BSD, see LICENSE.md.

Copyright

See copyright notice.

About

Software to compare time series within user-specified tolerances

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 89.0%
  • Python 8.5%
  • Makefile 2.5%