Skip to content

Commit 4a67925

Browse files
committed
fix spelling
1 parent 8d338ac commit 4a67925

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/examples/init_tutorial.jl

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,8 @@ set_default!(nw_dyn[VIndex(1)], :q̃_nw, u_static.v[1, :q̃_nw])
245245
nothing #hide
246246

247247
#=
248-
But there is also a built in method [`set_interface_defaults!`](@ref) which we can use
249-
automaticially:
248+
But there is also a built-in method [`set_interface_defaults!`](@ref) which we can use
249+
automatically:
250250
=#
251251
set_interface_defaults!(nw_dyn, u_static; verbose=true)
252252
nothing #hide
@@ -259,8 +259,8 @@ For example, let's inspect the state of our first vertex:
259259
nw_dyn[VIndex(1)]
260260

261261
#=
262-
We observe, that both the initial state `ξ` as well as the pressure setpoint `p_set`
263-
is left "free". Using [`initialize_component!`](@ref), we can try to find values for the
262+
We observe that both the initial state `ξ` as well as the pressure setpoint `p_set`
263+
are left "free". Using [`initialize_component!`](@ref), we can try to find values for the
264264
"free" states and parameters such that the interface constraints are fulfilled.
265265
=#
266266
initialize_component!(nw_dyn[VIndex(1)])
@@ -271,15 +271,15 @@ dump_initial_state(nw_dyn[VIndex(1)])
271271
nothing #hide
272272

273273
#=
274-
We can also initialize the other two vertices, however it is a bit useless
275-
since their state is allready completely determined by the fixed input/output:
274+
We can also initialize the other two vertices, however it is unnecessary
275+
since their state is already completely determined by the fixed input/output:
276276
=#
277277
initialize_component!(nw_dyn[VIndex(2)])
278278
initialize_component!(nw_dyn[VIndex(3)])
279279
nothing #hide
280280

281281
#=
282-
Similarily, we can initialize the dynamic pipe models. However since their dynamic state
282+
Similarly, we can initialize the dynamic pipe models. However, since their dynamic state
283283
equals the output, once again there is nothing to initialize.
284284
=#
285285
initialize_component!(nw_dyn[EIndex(1)])
@@ -289,7 +289,7 @@ nothing #hide
289289

290290
#=
291291
Now, everything is initialized, which means every input, output, state and parameter
292-
either has a `default` metadata or a `init` metadate. When constructing the `NWState`
292+
either has a `default` metadata or an `init` metadata. When constructing the `NWState`
293293
for this network, it will be filled with all those values which should now correspond
294294
to a steady state of the system:
295295
=#

0 commit comments

Comments
 (0)