@@ -245,8 +245,8 @@ set_default!(nw_dyn[VIndex(1)], :q̃_nw, u_static.v[1, :q̃_nw])
245
245
nothing # hide
246
246
247
247
#=
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 :
250
250
=#
251
251
set_interface_defaults! (nw_dyn, u_static; verbose= true )
252
252
nothing # hide
@@ -259,8 +259,8 @@ For example, let's inspect the state of our first vertex:
259
259
nw_dyn[VIndex (1 )]
260
260
261
261
#=
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
264
264
"free" states and parameters such that the interface constraints are fulfilled.
265
265
=#
266
266
initialize_component! (nw_dyn[VIndex (1 )])
@@ -271,15 +271,15 @@ dump_initial_state(nw_dyn[VIndex(1)])
271
271
nothing # hide
272
272
273
273
#=
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:
276
276
=#
277
277
initialize_component! (nw_dyn[VIndex (2 )])
278
278
initialize_component! (nw_dyn[VIndex (3 )])
279
279
nothing # hide
280
280
281
281
#=
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
283
283
equals the output, once again there is nothing to initialize.
284
284
=#
285
285
initialize_component! (nw_dyn[EIndex (1 )])
@@ -289,7 +289,7 @@ nothing #hide
289
289
290
290
#=
291
291
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`
293
293
for this network, it will be filled with all those values which should now correspond
294
294
to a steady state of the system:
295
295
=#
0 commit comments