You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each edge has two inputs: the node outputs of the source and destination end of the edge.
139
-
Similarily, they also have two outputs:
140
-
1. the `dst` output which is used as the input of the vertex at the destination end
141
-
2. the `src` output which is used as the input of the vertex at the source end.
138
+
Each edge has:
139
+
1. two inputs:
140
+
1. the node outputs of the source
141
+
2. the destination end of the edge
142
+
2. two outputs:
143
+
1. the `dst` output (which is used as the input of the vertex at the destination end)
144
+
2. the `src` output (which is used as the input of the vertex at the source end)
142
145
143
-
In general, the two edge outputs $y_{\mathrm{src}}$ and $y_{\mathrm{dst}}$ are **completely independent**. There is not implicit conservation law or something like that.
144
-
Examples for such unbalanced systems are power lines with losses, i.e. the power flowing into the line does not match the power flowing out of the line, because some energy is lost as heat. Another example would be a gas pipeline with some internal pressure: it es entirely possible to push in gas from both ends simultaneously, which would just result in increased pressure.
145
-
For the (important) special case where there is a strong correlation between source and destination output see the section on [Single Sided Edge Outputs](@ref) below.
146
+
In general, the two edge outputs $y_{\mathrm{src}}$ and $y_{\mathrm{dst}}$ are **completely independent** because there
147
+
is no implicit conservation law dictating that their values should be identical.
148
+
An example for such an unbalanced systems is power lines in an energy grid with losses, where the power flowing into a line
149
+
does not match the power flowing out of it, because some of the energy transported is lost in the form of heat.
150
+
Another example would be a gas pipeline with some internal pressure: it is entirely possible to push in gas from both
151
+
ends simultaneously. It would simply result in increased pressure within the pipe. For the (important) special cases
152
+
where there is a strong correlation between source and destination output see the section on [Single Sided Edge Outputs](@ref) below.
146
153
147
-
The vertex models connected to the edge do not know whether they are at the src or dst end of the edge.
148
-
Therefore, the sign convention for both outputs of an edge must be identical, typically, a positive flow represents a flow *into* the connected vertex.
154
+
The vertex models connected to the edge do not know whether they are at the 'src' or the 'dst' end of the edge.
155
+
Therefore, the sign convention for both outputs of an edge must be identical. Typically, a positive flow represents
156
+
a flow *into* the connected vertex, whereas a negative flow represents a flow *out of* the connected vertex.
149
157
```
150
158
y_src ┌───────────────────┐ y_dst
151
159
V_src o───←───┤ internal dynamics ├───→───o V_dst
152
160
└───────────────────┘
153
161
```
154
162
155
-
### Single Sided Edge Outputs
156
-
Often, the edge output functions $g_\mathrm{src}$ and $g_\mathrm{dst}$ are not independent, but rather one of them is a function of the other.
157
-
For example, in a system with a conservation law, the output at the source end is equal to the output at the destination end, i.e. $y_\mathrm{src} = -y_\mathrm{dst}$.
163
+
### Single Sided Edge Outputs
164
+
In cases where a conservation law is present in a system, the edge output functions $g_\mathrm{src}$ and
165
+
$g_\mathrm{dst}$ are not independent, but rather one of them is a function of the other. For example, in a system with
166
+
a conservation law, the output at the source end is equal to the output at the destination end, i.e. $y_\mathrm{src} = -y_\mathrm{dst}$.
158
167
159
168
To accommodate such cases, we can use the concept of **single sided edge output functions**.
160
-
A single sided output function only defines a founction for one of the outputs:
169
+
A single sided output function only defines a function for one of the outputs:
0 commit comments