We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b518c2d commit 25d23a2Copy full SHA for 25d23a2
docs/examples/init_tutorial.jl
@@ -61,15 +61,19 @@ end
61
nothing #hide
62
63
#=
64
-**B) A static prosumer node which forces a certain flow (pressure is fully implicit)**
+**B) A static prosumer node which forces a certain flow**
65
+
66
+!!! note "Fully Implicit Output"
67
+ We need to use `implicit_output(p)` to handle the fully implicit pressure
68
+ output. See [Fully Implicit Outputs](@ref) for details.
69
=#
70
@mtkmodel StaticProsumerNode begin
71
@extend GasNode()
72
@parameters begin
73
q̃_prosumer, [description="flow injected by prosumer"]
74
end
75
@equations begin
- -q̃_nw ~ q̃_prosumer
76
+ -q̃_nw ~ q̃_prosumer + implicit_output(p)
77
78
79
0 commit comments