Class ModelPredictiveController.QualityConstraint
java.lang.Object
neqsim.process.controllerdevice.ModelPredictiveController.QualityConstraint
- Enclosing class:
ModelPredictiveController
Representation of a quality constraint handled by the MPC. Each constraint
links a measurement device with linear sensitivities describing how the
quality responds to control actions, feed composition shifts and feed rate
changes. Inequality limits are enforced softly by the quadratic program to
keep the process within specification while still penalising unnecessary control effort.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder forModelPredictiveController.QualityConstraintinstances. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final double[]private doubleprivate final doubleprivate final doubleprivate final MeasurementDeviceInterfaceprivate final Stringprivate doubleprivate final doubleprivate final String -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate -
Method Summary
Modifier and TypeMethodDescriptionCreate a builder for aModelPredictiveController.QualityConstraint.(package private) doublecomputeFeedEffect(Map<String, Double> deltaComposition, double deltaRate) (package private) double[](package private) double(package private) doublegetLimit()(package private) double(package private) MeasurementDeviceInterface(package private) StringgetName()(package private) double(package private) StringgetUnit()(package private) voidsetLastMeasurement(double value) (package private) voidsetPredictedValue(double value)
-
Field Details
-
name
-
measurement
-
unit
-
limit
private final double limit -
margin
private final double margin -
controlSensitivity
private final double[] controlSensitivity -
compositionSensitivity
-
rateSensitivity
private final double rateSensitivity -
lastMeasurement
private double lastMeasurement -
predictedValue
private double predictedValue
-
-
Constructor Details
-
QualityConstraint
-
-
Method Details
-
builder
Create a builder for aModelPredictiveController.QualityConstraint.- Parameters:
name- identifier for the constraint- Returns:
- builder instance
-
getControlSensitivity
double[] getControlSensitivity() -
computeFeedEffect
-
getMeasurement
MeasurementDeviceInterface getMeasurement() -
getUnit
String getUnit() -
getLimit
double getLimit() -
getMargin
double getMargin() -
getName
String getName() -
getLastMeasurement
double getLastMeasurement() -
setLastMeasurement
void setLastMeasurement(double value) -
getPredictedValue
double getPredictedValue() -
setPredictedValue
void setPredictedValue(double value)
-