Search Results for

    Show / Hide Table of Contents

    Class PidIdentifier

    Class that attempts to identify the parameters (such as Kp and Ti) of a PID-controller from a given set of time-series of the input and output of said controller.

    Inheritance
    object
    PidIdentifier
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: TimeSeriesAnalysis.Dynamic
    Assembly: TimeSeriesAnalysis.dll
    Syntax
    public class PidIdentifier

    Constructors

    | Edit this page View Source

    PidIdentifier(PidScaling, double, double, PidControllerType)

    Default constructor

    Declaration
    public PidIdentifier(PidScaling pidScaling = null, double maxExpectedTc_s = 0, double badValueIndicatingValue = -9999, PidControllerType type = PidControllerType.Unset)
    Parameters
    Type Name Description
    PidScaling pidScaling
    double maxExpectedTc_s
    double badValueIndicatingValue
    PidControllerType type

    Methods

    | Edit this page View Source

    GetSimulatedU(PidParameters, UnitDataSet, bool, List<int>)

    Returns the simulated time series of the manipulated variable u as given by the PID-controller.

    Declaration
    public double[] GetSimulatedU(PidParameters pidParams, UnitDataSet dataset, bool isPIDoutputDelayOneSample, List<int> indToIgnore = null)
    Parameters
    Type Name Description
    PidParameters pidParams
    UnitDataSet dataset
    bool isPIDoutputDelayOneSample
    List<int> indToIgnore
    Returns
    Type Description
    double[]
    | Edit this page View Source

    Identify(ref UnitDataSet, bool, bool)

    Identifies a PID-controller from a UnitDataSet

    Declaration
    public PidParameters Identify(ref UnitDataSet dataSet, bool downsampleOversampledData = true, bool ignoreFlatLines = true)
    Parameters
    Type Name Description
    UnitDataSet dataSet

    a UnitDataSet, where .Y_meas, .Y_setpoint and .U are analyzed

    bool downsampleOversampledData

    Boolean, whether to do internal oversample identification and attempt downsampling. Defaults to true.

    bool ignoreFlatLines

    Boolean, whether to do internal flatline identification and ignore their indices. Defaults to true.

    Returns
    Type Description
    PidParameters

    the identified parameters of the PID-controller

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX