Class PidParameters
- Namespace
- TimeSeriesAnalysis.Dynamic
- Assembly
- TimeSeriesAnalysis.dll
Parameters of the PIDModel PidModel PidController
public class PidParameters : ModelParametersBaseClass
- Inheritance
-
PidParameters
- Inherited Members
Constructors
PidParameters()
Default constructor
public PidParameters()
PidParameters(PidParameters)
Constructor that copies an existing paramter set into a new object
public PidParameters(PidParameters existingParam)
Parameters
existingParamPidParameters
Fields
DelayOutputOneSample
If true, the model will set u[k] based on the error term e[k-1], if false it will be set from e[k]
public bool DelayOutputOneSample
Field Value
Properties
AntiSurgeParams
PID anti-surge parameters object. This is optional, set to null if not anti-surge PID
public PidAntiSurgeParams AntiSurgeParams { get; set; }
Property Value
FeedForward
Feed-forward parameters object. This is optional, set to null when feedforward is not in use.
public PidFeedForward FeedForward { get; set; }
Property Value
Filtering
PID-filtering object. This is optional
public PidFilterParams Filtering { get; set; }
Property Value
GainScheduling
Gain-scheduling object. This is optional, set to null gain-scheduling is not in use.
public PidGainScheduling GainScheduling { get; set; }
Property Value
Kp
Proportional gain of controller
public double Kp { get; set; }
Property Value
NanValue
If the PID-controller is to be protected from a specific value that is used to identify bad or missing data, specify here
public double NanValue { get; set; }
Property Value
Scaling
PID-scaling object. This is optional, set to null to use unscaled PID.
public PidScaling Scaling { get; set; }
Property Value
Td_s
Derivative term time constant[in seconds], 0 = no derivative term
public double Td_s { get; set; }
Property Value
Ti_s
Integral time constant [in seconds], 0 = no integral term
public double Ti_s { get; set; }
Property Value
u0
Output value when e=0, used only for P-only controllers, u = Kp*e + u0
public double u0 { get; set; }
Property Value
Methods
AddWarning(PidIdentWarning)
Store a warning that arouse during identification
public void AddWarning(PidIdentWarning warning)
Parameters
warningPidIdentWarning
GetWarnings()
Gives any warnings that occured during identification
public PidIdentWarning[] GetWarnings()
Returns
ToString()
Creates a string summarizing the content of the paramters(useful for unit testing and debugging)
public override string ToString()