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.
Inherited Members
Namespace: TimeSeriesAnalysis.Dynamic
Assembly: TimeSeriesAnalysis.dll
Syntax
public class PidIdentifier
Constructors
| Edit this page View SourcePidIdentifier(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 SourceGetSimulatedU(PidParameters, UnitDataSet, bool)
Returns the simulated time series of the manipulated varialbe u as given by the PID-controller.
Declaration
public double[] GetSimulatedU(PidParameters pidParams, UnitDataSet dataset, bool isPIDoutputDelayOneSample)
Parameters
Type | Name | Description |
---|---|---|
PidParameters | pidParams | |
UnitDataSet | dataset | |
bool | isPIDoutputDelayOneSample |
Returns
Type | Description |
---|---|
double[] |
Identify(ref UnitDataSet)
Identifies a PID-controller from a UnitDataSet
Declaration
public PidParameters Identify(ref UnitDataSet dataSet)
Parameters
Type | Name | Description |
---|---|---|
UnitDataSet | dataSet | a UnitDataSet, where .Y_meas, .Y_setpoint and .U are analyzed |
Returns
Type | Description |
---|---|
PidParameters | the identified parameters of the PID-controller |