Skip to content
Blocks.Multiplex6.md

Blocks.Multiplex6 ​

Usage ​

TranslatedComponents.Blocks.Multiplex6(n1=1, n2=1, n3=1, n4=1, n5=1, n6=1)

Parameters: ​

NameDescriptionUnitsDefault value
n1–1
n2–1
n3–1
n4–1
n5–1
n6–1

Connectors ​

  • u1 - This connector represents a real signal as an input to a component (RealInput)

  • u2 - This connector represents a real signal as an input to a component (RealInput)

  • u3 - This connector represents a real signal as an input to a component (RealInput)

  • u4 - This connector represents a real signal as an input to a component (RealInput)

  • u5 - This connector represents a real signal as an input to a component (RealInput)

  • u6 - This connector represents a real signal as an input to a component (RealInput)

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

Behavior ​

julia
using TranslatedComponents #hide
using ModelingToolkit #hide
@variables n1 #hide
@variables n2 #hide
@variables n3 #hide
@variables n4 #hide
@variables n5 #hide
@variables n6 #hide
@named sys = TranslatedComponents.Blocks.Multiplex6(n1=n1, n2=n2, n3=n3, n4=n4, n5=n5, n6=n6) #hide
full_equations(sys) #hide
<< @example-block not executed in draft mode >>

Source ​

dyad
component Multiplex6
  u1 = RealInput()
  u2 = RealInput()
  u3 = RealInput()
  u4 = RealInput()
  u5 = RealInput()
  u6 = RealInput()
  y = RealOutput()
  parameter n1::Integer = 1
  parameter n2::Integer = 1
  parameter n3::Integer = 1
  parameter n4::Integer = 1
  parameter n5::Integer = 1
  parameter n6::Integer = 1
relations
  y = [u1, u2, u3, u4, u5, u6]
end
Flattened Source
dyad
component Multiplex6
  u1 = RealInput()
  u2 = RealInput()
  u3 = RealInput()
  u4 = RealInput()
  u5 = RealInput()
  u6 = RealInput()
  y = RealOutput()
  parameter n1::Integer = 1
  parameter n2::Integer = 1
  parameter n3::Integer = 1
  parameter n4::Integer = 1
  parameter n5::Integer = 1
  parameter n6::Integer = 1
relations
  y = [u1, u2, u3, u4, u5, u6]
metadata {}
end


Test Cases ​

No test cases defined.

  • Examples

  • Experiments

  • Analyses