Search Results for

    Show / Hide Table of Contents

    Class PidScaling

    Parameters describing PID-controller parameters for scaling PidModel PidController

    Inheritance
    object
    PidScaling
    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 PidScaling

    Constructors

    | Edit this page View Source

    PidScaling()

    Constructor

    Declaration
    public PidScaling()
    | Edit this page View Source

    PidScaling(double, double, double, double, bool)

    Constructor

    Declaration
    public PidScaling(double y_min, double y_max, double u_min, double u_max, bool isKpScalingKpOn)
    Parameters
    Type Name Description
    double y_min
    double y_max
    double u_min
    double u_max
    bool isKpScalingKpOn

    Fields

    | Edit this page View Source

    doesSasPidScaleKp

    Determines if the SAS scales Kp according to the scaling information in this object or not. Set this to match the reality in the SAS you are studying. For example: AIM "PIDcon": does not scale KP and TI AIM "PIDx" : DOES scale KP and TI

    Declaration
    public bool doesSasPidScaleKp
    Field Value
    Type Description
    bool
    | Edit this page View Source

    isDefault

    If true, then all min/max are at their default value

    Declaration
    public bool isDefault
    Field Value
    Type Description
    bool
    | Edit this page View Source

    isEstimated

    If true then these parameters have been guessed automatically from data

    Declaration
    public bool isEstimated
    Field Value
    Type Description
    bool
    | Edit this page View Source

    u_max

    The maximum pid output(mainipulatd-) value

    Declaration
    public double u_max
    Field Value
    Type Description
    double
    | Edit this page View Source

    u_min

    The minimum pid output(manipulated-) value

    Declaration
    public double u_min
    Field Value
    Type Description
    double
    | Edit this page View Source

    y_max

    The maximum pid input(process-) value

    Declaration
    public double y_max
    Field Value
    Type Description
    double
    | Edit this page View Source

    y_min

    the minimum pid input(process-) value

    Declaration
    public double y_min
    Field Value
    Type Description
    double

    Methods

    | Edit this page View Source

    GetKpScalingFactor()

    Get a scaling factor to convert and unscaled Kp

    Declaration
    public double GetKpScalingFactor()
    Returns
    Type Description
    double
    | Edit this page View Source

    GetUScaleFactor()

    Get the scaling factor of U

    Declaration
    public double GetUScaleFactor()
    Returns
    Type Description
    double
    | Edit this page View Source

    GetUmax()

    Get the maximum U

    Declaration
    public double GetUmax()
    Returns
    Type Description
    double
    | Edit this page View Source

    GetUmin()

    Get the minimum U

    Declaration
    public double GetUmin()
    Returns
    Type Description
    double
    | Edit this page View Source

    GetYScaleFactor()

    Get the scaling factor for Y

    Declaration
    public double GetYScaleFactor()
    Returns
    Type Description
    double
    | Edit this page View Source

    GetYmax()

    Get the maximum Y

    Declaration
    public double GetYmax()
    Returns
    Type Description
    double
    | Edit this page View Source

    GetYmin()

    Get the minumum Y

    Declaration
    public double GetYmin()
    Returns
    Type Description
    double
    | Edit this page View Source

    IsDefault()

    Ask if scaling is at defautl values

    Declaration
    public bool IsDefault()
    Returns
    Type Description
    bool
    | Edit this page View Source

    IsEstimated()

    Ask if the scaling is estimated from data or given a priori

    Declaration
    public bool IsEstimated()
    Returns
    Type Description
    bool
    | Edit this page View Source

    IsKpScalingOn()

    Ask if scaling of Kp is active

    Declaration
    public bool IsKpScalingOn()
    Returns
    Type Description
    bool
    | Edit this page View Source

    ScaleYValue(double)

    Get the scaled version of an absolute y

    Declaration
    public double ScaleYValue(double y_abs)
    Parameters
    Type Name Description
    double y_abs
    Returns
    Type Description
    double
    | Edit this page View Source

    Set(double, double, double, double, bool)

    Set scaling

    Declaration
    public void Set(double y_min, double y_max, double u_min, double u_max, bool isKpScalingKpOn)
    Parameters
    Type Name Description
    double y_min
    double y_max
    double u_min
    double u_max
    bool isKpScalingKpOn
    | Edit this page View Source

    SetDefault()

    Set scaling to default

    Declaration
    public void SetDefault()
    | Edit this page View Source

    SetEstimatedUminUmax(double, double)

    Set the estimated u_min and u_max (if it is not known, but guessed from data)

    Declaration
    public void SetEstimatedUminUmax(double u_min, double u_max)
    Parameters
    Type Name Description
    double u_min
    double u_max
    | Edit this page View Source

    SetKpScalingOn(bool)

    Turn scaling on or off

    Declaration
    public void SetKpScalingOn(bool isKpScalingKpOn)
    Parameters
    Type Name Description
    bool isKpScalingKpOn
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX