sfxCalculusExt

Use Calculus on History Grids in SkySpark
sfxCalculusExt

Registered users on StackHub may elect to receive email notifications whenever new package versions are released.

v1.4.0

Overview

Welcome to SkySpark's Calculus Extension! As of today, there are 5 calculus functions and 5 support functions in this package.

sfxFindIntervals(hisGrid)

Find Intervals

  • Return the ts, interval of a hisGrid
  • Side Effects: Lose first ts of hisGrid
  • Input: ts, val grid
  • Output: Transmuted history grid of ts, interval
  • readAll(temp and discharge).hisRead(yesterday).sfxHisFindIntervals()

sfxHisAddRectIntegral(hisGrid)

Cumulative Integral/Area under the Curve from Rectangle Method Approximation

  • Supports a true History Grid with multiple V columns
  • Should be exact for COV Points
  • Side Effect: Data interpolated
  • Input: ts, val*n grid where val*n can be multiple V columns with numbers and/or booleans
  • Output: Transmuted history grid of ts, V*n columns
  • readAll(temp and discharge).hisRead(yesterday).sfxHisAddRectIntegral()

sfxHisAddTrapIntegral(hisGrid)

Cumulative Integral/Area under the Curve from Trapezoid Method Approximation

  • Supports a true History Grid with multiple V columns
  • Should be exact for Linear Points
  • Side Effect: Data interpolated
  • Input: ts, val*n grid where val*n can be multiple V columns with numbers and/or booleans
  • Output: Transmuted history grid of ts, V*n columns
  • readAll(temp and discharge).hisRead(yesterday).sfxHisAddTrapIntegral()

sfxHisDelta(hisGrid)

Rolling Delta

  • Supports a true History Grid with multiple V columns
  • Side Effect: Data interpolated
  • Input: ts, val*n grid where val*n can be multiple V columns with numbers
  • Output: Transmuted history grid of ts, V*n columns
  • Example: Get change between samples
  • readAll(temp and discharge).hisRead(yesterday).sfxHisDelta()

sfxHisDerivative(hisGrid)

Derivative

  • Supports a true History Grid with multiple V columns
  • Slope going to ts data-point is used as derivative of ts data-point
  • Side Effects: Lose first ts of hisGrid; data interpolated
  • Input: ts, val*n grid where val*n can be multiple V columns with numbers and/or booleans
  • Output: Transmuted history grid of ts, V*n columns
  • readAll(temp and discharge).hisRead(yesterday).sfxHisDerivative()

sfxHisRectIntegral(hisGrid)

Integral from Rectangle Method Approximation

  • Supports a true History Grid with multiple V columns
  • Should be exact for COV Points
  • Side Effects: Lose first ts of hisGrid; data interpolated
  • Input: ts, val*n grid where val*n can be multiple V columns with numbers and/or booleans
  • Output: Transmuted history grid of ts, V*n columns
  • readAll(temp and discharge).hisRead(yesterday).sfxHisRectIntegral()

sfxHisSum(hisGrid)

Rolling Sum

  • Supports a true History Grid with multiple V columns
  • Side Effect: Data interpolated
  • Input: ts, val*n grid where val*n can be multiple V columns with numbers
  • Output: Transmuted history grid of ts, V*n columns
  • Example: Turn energy differentials to totalized values
  • readAll(temp and discharge).hisRead(yesterday).sfxHisSum()

sfxHisTrapIntegral(hisGrid)

Integral from Trapezoid Method Approximation

  • Supports a true History Grid with multiple V columns
  • Should be exact for linear Points
  • Side Effects: Lose first ts of hisGrid; data interpolated
  • Input: ts, val*n grid where val*n can be multiple V columns with numbers and/or booleans
  • Output: Transmuted history grid of ts, V*n columns
  • readAll(temp and discharge).hisRead(yesterday).sfxHisTrapIntegral()

sfxPreUnitFixer(value)

Function used to convert booleans and fix null units

  • Fixes input units
  • Inputs: Number or boolean
  • Output: Number with units

sfxPostUnitFixer(value)

Function used to fix time units in calculus functions.

  • Fixes resultant units
  • Inputs: Number with units
  • Output: Number with clean units

Please contact [email protected] with any questions.

Published by SkyFoundry

Products & Services by SkyFoundry

Packages by SkyFoundry

Free packages

Pricing options
sfxCalculusExt
Use Calculus on History Grids in SkySpark
FREE
Download now
Also available via SkyArc Install Manager
Package details
Version1.4.0
Licensen/a
Build date1 year ago
on 26th Apr 2017 20:11:53 UTC
Depends on
File namesfxCalculusExt.pod
File size17.87 kB
MD5f8df42edd54e3b7540a15dbda212a852
SHA1 f6b7338eb9fa9a68e60a6ee23efb74d942a26d9c
Published by
SkyFoundryDownload now
Also available via SkyArc Install Manager
Tags
Fantom Pod