Class StepwiseControlStrategy
Stepwise control - incremental changes with deadband threshold. Values change gradually rather than jumping directly to target.
Implements
Inherited Members
Namespace: MOSAIC.Components.Manager.ControlAlgorithm
Assembly: MOSAIC.dll
Syntax
public class StepwiseControlStrategy : ControlStrategyBase, IControlAlgorithmStrategy
Fields
Deadband
Declaration
private const double Deadband = 0.3
Field Value
| Type | Description |
|---|---|
| double |
StepSize
Declaration
private const double StepSize = 4
Field Value
| Type | Description |
|---|---|
| double |
Properties
Name
Name of this strategy (used for JSON export and UI display).
Declaration
public override string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
InitializeDefaults()
Initialize DOA default values. Override this in derived classes.
Declaration
protected override void InitializeDefaults()
Overrides
ProcessPrediction(Vector<double>)
Processes a prediction vector and updates actuation values.
Declaration
public override void ProcessPrediction(Vector<double> prediction)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector<double> | prediction |