Class ControllerDataExchange.ControllerOutput

java.lang.Object
neqsim.process.mpc.ControllerDataExchange.ControllerOutput
All Implemented Interfaces:
Serializable
Enclosing class:
ControllerDataExchange

public static class ControllerDataExchange.ControllerOutput extends Object implements Serializable
Container for controller output data.
Since:
3.0
Version:
1.0
Author:
Even Solbraa
See Also:
  • Field Details

  • Constructor Details

    • ControllerOutput

      public ControllerOutput(double[] mvTargets, double[][] cvPredictions, ControllerDataExchange.ExecutionStatus status, String message, Instant timestamp)
      Construct a controller output.
      Parameters:
      mvTargets - the MV target values
      cvPredictions - the CV prediction trajectories
      status - the execution status
      message - the execution message
      timestamp - the execution timestamp
  • Method Details

    • getMvTargets

      public double[] getMvTargets()
      Get MV target values.
      Returns:
      copy of MV targets
    • getCvPredictions

      public double[][] getCvPredictions()
      Get CV predictions.
      Returns:
      copy of CV predictions
    • getStatus

      Get execution status.
      Returns:
      the status
    • getMessage

      public String getMessage()
      Get execution message.
      Returns:
      the message
    • getTimestamp

      public Instant getTimestamp()
      Get execution timestamp.
      Returns:
      the timestamp
    • isSuccess

      public boolean isSuccess()
      Check if execution was successful.
      Returns:
      true if status is SUCCESS