pamoja for TypeScript - v0.1.17
    Preparing search index...

    The decision logic a profile assembles.

    A controller carries state between readings, because a level estimate and a rate of change both need the previous sample, so evaluate readings through one controller in the order they were taken.

    Index
    • Holds a reading near a setpoint by switching an output on and off.

      Parameters

      • setpoint: number

        the target reading.

      • hysteresis: number

        half the deadband width, which stops the output chattering at the threshold.

      • cooling: boolean

        whether the output cools rather than heats.

      • safeBand: number

      Returns profile.Controller

    • Warns when a reading changes faster than a limit.

      Parameters

      • rising: boolean

        watch a rapid rise rather than a rapid fall.

      • limit: number

        the largest safe change per sample.

      Returns profile.Controller