Skip to content
Blocks.MinMax.md

Blocks.MinMax ​

Usage ​

TranslatedComponents.Blocks.MinMax(nu=0)

Parameters: ​

NameDescriptionUnitsDefault value
nu–0

Connectors ​

  • u - (RealVectorInput)

  • yMax - This connector represents a real signal as an output from a component (RealOutput)

  • yMin - This connector represents a real signal as an output from a component (RealOutput)

Behavior ​

yMax(t)=u(t)yMin(t)=u(t)

Source ​

dyad
component MinMax
  u = RealVectorInput()
  yMax = RealOutput()
  yMin = RealOutput()
  parameter nu::Integer(min = 0) = 0
relations
  yMax = max(u)
  yMin = min(u)
end
Flattened Source
dyad
component MinMax
  u = RealVectorInput()
  yMax = RealOutput()
  yMin = RealOutput()
  parameter nu::Integer(min = 0) = 0
relations
  yMax = max(u)
  yMin = min(u)
metadata {}
end


Test Cases ​

No test cases defined.

  • Examples

  • Experiments

  • Analyses