Mux_3_in_1_out Icon
WIP.Mux_3_in_1_out
Mux_3_in_1_out()Multiplexes three real-valued input signals into a single connector output.
Variables
u1(t): First real-valued input signalu2(t): Second real-valued input signalu3(t): Third real-valued input signaly: Connector output containing all three input signals
Description
Accepts 3 real type inputs and multiplexes them together to a single connector. The output connector has three fields (u1, u2, u3) corresponding to the three inputs.
Usage
PrimitiveComponents.WIP.Mux_3_in_1_out()
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)y- connector3output
A connector type with three real-valued output signals.
Variables
u1: First real output signalu2: Second real output signalu3: Third real output signal
Description
This connector bundles three real-valued output signals together, allowing them to be connected as a single unit in block diagrams. (connector_3_output)
Behavior
\[ \begin{align} \mathtt{y.u1}\left( t \right) &= \mathtt{u1}\left( t \right) \\ \mathtt{y.u2}\left( t \right) &= \mathtt{u2}\left( t \right) \\ \mathtt{y.u3}\left( t \right) &= \mathtt{u3}\left( t \right) \end{align} \]
Source
"""
Mux_3_in_1_out()
Multiplexes three real-valued input signals into a single connector output.
# Variables
- `u1(t)`: First real-valued input signal
- `u2(t)`: Second real-valued input signal
- `u3(t)`: Third real-valued input signal
- `y`: Connector output containing all three input signals
# Description
Accepts 3 real type inputs and multiplexes them together to a single connector.
The output connector has three fields (u1, u2, u3) corresponding to the three inputs.
"""
component Mux_3_in_1_out
u1 = Dyad.RealInput() {
"Dyad": {
"placement": {
"icon": {"iconName": "default", "x1": -50, "y1": 130, "x2": -10, "y2": 170, "rot": 0},
"diagram": {"iconName": "default", "x1": -50, "y1": 130, "x2": -10, "y2": 170, "rot": 0}
}
}
}
u2 = Dyad.RealInput() {
"Dyad": {
"placement": {
"icon": {"iconName": "default", "x1": -40, "y1": 480, "x2": 0, "y2": 520, "rot": 0},
"diagram": {"iconName": "default", "x1": -40, "y1": 480, "x2": 0, "y2": 520, "rot": 0}
}
}
}
u3 = Dyad.RealInput() {
"Dyad": {
"placement": {
"icon": {"iconName": "default", "x1": -50, "y1": 830, "x2": -10, "y2": 870, "rot": 0},
"diagram": {"iconName": "default", "x1": -50, "y1": 830, "x2": -10, "y2": 870, "rot": 0}
}
}
}
y = PrimitiveComponents.Connectors.connector_3_output() {
"Dyad": {
"placement": {
"icon": {"iconName": "default", "x1": 980, "y1": 460, "x2": 1060, "y2": 540, "rot": 0},
"diagram": {"iconName": "default", "x1": 980, "y1": 460, "x2": 1060, "y2": 540, "rot": 0}
}
}
}
relations
y.u1 = u1
y.u2 = u2
y.u3 = u3
metadata {
"Dyad": {
"labels": [{"label": "$(instance)", "x": 500, "y": 1100}],
"icons": {"default": "dyad://PrimitiveComponents/Mux_3.svg"}
}
}
end
Flattened Source
"""
Mux_3_in_1_out()
Multiplexes three real-valued input signals into a single connector output.
# Variables
- `u1(t)`: First real-valued input signal
- `u2(t)`: Second real-valued input signal
- `u3(t)`: Third real-valued input signal
- `y`: Connector output containing all three input signals
# Description
Accepts 3 real type inputs and multiplexes them together to a single connector.
The output connector has three fields (u1, u2, u3) corresponding to the three inputs.
"""
component Mux_3_in_1_out
u1 = Dyad.RealInput() {
"Dyad": {
"placement": {
"icon": {"iconName": "default", "x1": -50, "y1": 130, "x2": -10, "y2": 170, "rot": 0},
"diagram": {"iconName": "default", "x1": -50, "y1": 130, "x2": -10, "y2": 170, "rot": 0}
}
}
}
u2 = Dyad.RealInput() {
"Dyad": {
"placement": {
"icon": {"iconName": "default", "x1": -40, "y1": 480, "x2": 0, "y2": 520, "rot": 0},
"diagram": {"iconName": "default", "x1": -40, "y1": 480, "x2": 0, "y2": 520, "rot": 0}
}
}
}
u3 = Dyad.RealInput() {
"Dyad": {
"placement": {
"icon": {"iconName": "default", "x1": -50, "y1": 830, "x2": -10, "y2": 870, "rot": 0},
"diagram": {"iconName": "default", "x1": -50, "y1": 830, "x2": -10, "y2": 870, "rot": 0}
}
}
}
y = PrimitiveComponents.Connectors.connector_3_output() {
"Dyad": {
"placement": {
"icon": {"iconName": "default", "x1": 980, "y1": 460, "x2": 1060, "y2": 540, "rot": 0},
"diagram": {"iconName": "default", "x1": 980, "y1": 460, "x2": 1060, "y2": 540, "rot": 0}
}
}
}
relations
y.u1 = u1
y.u2 = u2
y.u3 = u3
metadata {
"Dyad": {
"labels": [{"label": "$(instance)", "x": 500, "y": 1100}],
"icons": {"default": "dyad://PrimitiveComponents/Mux_3.svg"}
}
}
endTest Cases
No test cases defined.
Related
- Examples
- Experiments
- Analyses