Class ProcessDerivativeCalculator.VariableSpec

java.lang.Object
neqsim.process.mpc.ProcessDerivativeCalculator.VariableSpec
Enclosing class:
ProcessDerivativeCalculator

public static class ProcessDerivativeCalculator.VariableSpec extends Object
Specification for an input or output variable.
Version:
1.0
Author:
NeqSim Development Team
  • Field Details

    • path

      public String path
      Variable path (e.g., "Feed.flowRate").
    • unit

      public String unit
      Unit of measurement.
    • customStepSize

      public double customStepSize
      Custom step size (optional, 0 means use default).
    • type

      Variable type hint for step size calculation.
  • Constructor Details

    • VariableSpec

      public VariableSpec(String path, String unit)
      Constructor.
      Parameters:
      path - variable path
      unit - unit of measurement
  • Method Details

    • inferVariableType

      private ProcessDerivativeCalculator.VariableType inferVariableType(String path)
      Infer variable type from path for optimal step sizing.
      Parameters:
      path - the variable path to analyze
      Returns:
      the inferred variable type