Skip to content

Commit 754fb6a

Browse files
committed
change ordering of examples
1 parent 054adc3 commit 754fb6a

File tree

3 files changed

+6
-14
lines changed

3 files changed

+6
-14
lines changed

docs/examples/gas_network.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#=
2-
# Dynamic Flow in Simple Gas Network
2+
# [Dynamic Flow in Simple Gas Network](@id gas-example)
33
44
This example is based on the paper
55

docs/examples/init_tutorial.jl

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
# [Tutorial on Stepwise Initialization of a Complex Model](@id init-tutorial)
33
44
This example demonstrates how to initialize a complex network model with both static
5-
and dynamic components. We'll create a simple gas network model with three nodes
5+
and dynamic components.
6+
The models are closely related to the ones used in the [gas network example](@ref gas-network),
7+
but greatly simplified for the sake of this tutorial.
8+
We'll create a gas network model with three nodes
69
and pipes connecting them, and show how to:
710
811
1. Create static models for initialization
@@ -361,14 +364,3 @@ let
361364

362365
fig
363366
end
364-
365-
#=
366-
## Interactive Visualization
367-
368-
You can also visualize the results interactively using NetworkDynamicsInspector:
369-
370-
```julia
371-
using NetworkDynamicsInspector
372-
inspect(sol)
373-
```
374-
=#

docs/make.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ kwargs = (;
6363
# "Delay differential equations" => "generated/kuramoto_delay.md",
6464
"Cascading Failure" => "generated/cascading_failure.md",
6565
"Stress on Truss" => "generated/stress_on_truss.md",
66-
"Gas Network" => "generated/gas_network.md",
6766
"Initialization" => "generated/init_tutorial.md",
67+
"Gas Network" => "generated/gas_network.md",
6868
]
6969
],
7070
draft=false,

0 commit comments

Comments
 (0)