Class ClosedLoopUnitIdentifier
Identification that attempts to identify a unit model jointly with estimating the additive signal acting on the output(disturbance signal) yet is counter-acted by closed-loop (feedback)control, such as with PID-control.
The approach requires combining information in the measured output signal with the information in the manipulated variable(determined by active control) that is inputted into the process
In order to accomplish this estimation, the process model and the disturbance signal are estimated together.
Inherited Members
Namespace: TimeSeriesAnalysis.Dynamic
Assembly: TimeSeriesAnalysis.dll
Syntax
public class ClosedLoopUnitIdentifier
Methods
| Edit this page View SourceClosedLoopSim(UnitDataSet, UnitParameters, PidParameters, double[], string)
Closed-loop simulation of a unit model and pid model, for a given unit data set
Declaration
public static bool ClosedLoopSim(UnitDataSet unitData, UnitParameters modelParams, PidParameters pidParams, double[] disturbance, string name = "")
Parameters
Type | Name | Description |
---|---|---|
UnitDataSet | unitData | unit dataset for simulation |
UnitParameters | modelParams | paramters or UnitModel |
PidParameters | pidParams | parameters of PidModel |
double[] | disturbance | disturbance vector |
string | name | optional name used for plotting |
Returns
Type | Description |
---|---|
bool |
Identify(UnitDataSet, PidParameters, int)
Identify the unit model of a closed-loop system and the distrubance (additive output signal)
Declaration
public static (UnitModel, double[]) Identify(UnitDataSet dataSet, PidParameters pidParams = null, int pidInputIdx = 0)
Parameters
Type | Name | Description |
---|---|---|
UnitDataSet | dataSet | the unit data set, containing both the input to the unit and the output |
PidParameters | pidParams | if the setpoint of the control changes in the time-set, then the paramters of pid control need to be given. |
int | pidInputIdx | the index of the PID-input to the unit model |
Returns
Type | Description |
---|---|
(UnitModel, double[]) | The unit model, with the name of the newly created disturbance added to the additiveInputSignals |
Remarks
Currently always assumes that PID-index is first index of unit model(can be improved)