CompatHelper: bump compat for Symbolics to 6, (keep existing compat) #546
Triggered via pull request
November 19, 2024 01:49
Status
Failure
Total duration
10m 19s
Artifacts
–
Annotations
10 errors and 1 warning
build:
../../../.julia/packages/Documenter/Bs999/src/utilities/utilities.jl#L44
failed to run `@example` block in src/generated/gas_network.md:259-262
```@example gas_network
@nAmed v1_mtk = ConstantPressureNode(p_set=p₁_set)
v1 = VertexFunction(v1_mtk, [:q̃_nw], [:p]; name=:v1, vidx=1)
```
exception =
ArgumentError: Output p(t) was neither foundin states nor in observed equations.
Stacktrace:
[1] (::MTKExt.var"#43#53"{Vector{Equation}, Vector{Any}})(out::SymbolicUtils.BasicSymbolic{Real})
@ MTKExt ~/work/NetworkDynamics.jl/NetworkDynamics.jl/ext/MTKExt.jl:278
[2] iterate
@ ./generator.jl:48 [inlined]
[3] grow_to!
@ ./array.jl:853 [inlined]
[4] collect(itr::Base.Generator{Base.Iterators.Flatten{Tuple{Vector{SymbolicUtils.BasicSymbolic{Real}}}}, MTKExt.var"#43#53"{Vector{Equation}, Vector{Any}}})
@ Base ./array.jl:777
[5] map(f::Function, A::Base.Iterators.Flatten{Tuple{Vector{SymbolicUtils.BasicSymbolic{Real}}}})
@ Base ./abstractarray.jl:3399
[6] generate_io_function(_sys::ODESystem, inputss::Tuple{Vector{Symbol}}, outputss::Tuple{Vector{Symbol}}; expression::Type, verbose::Bool)
@ MTKExt ~/work/NetworkDynamics.jl/NetworkDynamics.jl/ext/MTKExt.jl:272
[7] generate_io_function
@ ~/work/NetworkDynamics.jl/NetworkDynamics.jl/ext/MTKExt.jl:194 [inlined]
[8] VertexFunction(sys::ODESystem, inputs::Vector{Symbol}, outputs::Vector{Symbol}; verbose::Bool, name::Symbol, kwargs::@kwargs{vidx::Int64})
@ MTKExt ~/work/NetworkDynamics.jl/NetworkDynamics.jl/ext/MTKExt.jl:30
[9] top-level scope
@ gas_network.md:261
[10] eval
@ ./boot.jl:430 [inlined]
[11] #60
@ ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:803 [inlined]
[12] cd(f::Documenter.var"#60#62"{Module, Expr}, dir::String)
@ Base.Filesystem ./file.jl:112
[13] (::Documenter.var"#59#61"{Documenter.Page, Module, Expr})()
@ Documenter ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:802
[14] (::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})()
@ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170
[15] with_logstate(f::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}}, logstate::Base.CoreLogging.LogState)
@ Base.CoreLogging ./logging/logging.jl:522
[16] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger)
@ Base.CoreLogging ./logging/logging.jl:632
[17] capture(f::Documenter.var"#59#61"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any})
@ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167
[18] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document)
@ Documenter ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:801
|
build:
../../../.julia/packages/Documenter/Bs999/src/utilities/utilities.jl#L44
failed to run `@example` block in src/generated/gas_network.md:264-267
```@example gas_network
@nAmed v2_mtk = VariablePressureNode(C=C₂, load_profile=load2)
v2 = VertexFunction(v2_mtk, [:q̃_nw], [:p]; name=:v2, vidx=2)
```
exception =
ExtraVariablesSystemException: The system is unbalanced. There are 3 highest order derivative variables and 2 equations.
More variables than equations, here are the potential extra variable(s):
In particular, the unset input(s) are:
q̃_nw(t)
The rest of potentially unset variable(s) are:
p(t)
q̃_nw(t)
Note that the process of determining extra variables is a best-effort heuristic. The true extra variables are dependent on the model and may not be in this list.
Stacktrace:
[1] error_reporting(state::TearingState{ODESystem}, bad_idxs::Vector{Int64}, n_highest_vars::Int64, iseqs::Bool, orig_inputs::Set{Any})
@ ModelingToolkit.StructuralTransformations ~/.julia/packages/ModelingToolkit/89pF2/src/structural_transformation/utils.jl:50
[2] check_consistency(state::TearingState{ODESystem}, orig_inputs::Set{Any})
@ ModelingToolkit.StructuralTransformations ~/.julia/packages/ModelingToolkit/89pF2/src/structural_transformation/utils.jl:85
[3] _structural_simplify!(state::TearingState{ODESystem}, io::Tuple{Vector{Any}, Vector{SymbolicUtils.BasicSymbolic{Real}}}; simplify::Bool, check_consistency::Bool, fully_determined::Bool, warn_initialize_determined::Bool, dummy_derivative::Bool, kwargs::@kwargs{allow_symbolic::Bool, allow_parameter::Bool, conservative::Bool})
@ ModelingToolkit ~/.julia/packages/ModelingToolkit/89pF2/src/systems/systemstructure.jl:693
[4] _structural_simplify!
@ ~/.julia/packages/ModelingToolkit/89pF2/src/systems/systemstructure.jl:676 [inlined]
[5] structural_simplify!(state::TearingState{ODESystem}, io::Tuple{Vector{Any}, Vector{SymbolicUtils.BasicSymbolic{Real}}}; simplify::Bool, check_consistency::Bool, fully_determined::Bool, warn_initialize_determined::Bool, kwargs::@kwargs{allow_symbolic::Bool, allow_parameter::Bool, conservative::Bool})
@ ModelingToolkit ~/.julia/packages/ModelingToolkit/89pF2/src/systems/systemstructure.jl:635
[6] __structural_simplify(sys::ODESystem, io::Tuple{Vector{Any}, Vector{SymbolicUtils.BasicSymbolic{Real}}}; simplify::Bool, kwargs::@kwargs{allow_symbolic::Bool, allow_parameter::Bool, conservative::Bool, fully_determined::Bool})
@ ModelingToolkit ~/.julia/packages/ModelingToolkit/89pF2/src/systems/systems.jl:94
[7] structural_simplify(sys::ODESystem, io::Tuple{Vector{Any}, Vector{SymbolicUtils.BasicSymbolic{Real}}}; simplify::Bool, split::Bool, allow_symbolic::Bool, allow_parameter::Bool, conservative::Bool, fully_determined::Bool, kwargs::@kwargs{})
@ ModelingToolkit ~/.julia/packages/ModelingToolkit/89pF2/src/systems/systems.jl:33
[8] generate_io_function(_sys::ODESystem, inputss::Tuple{Vector{Symbol}}, outputss::Tuple{Vector{Symbol}}; expression::Type, verbose::Bool)
@ MTKExt ~/work/NetworkDynamics.jl/NetworkDynamics.jl/ext/MTKExt.jl:220
[9] generate_io_function
@ ~/work/NetworkDynamics.jl/NetworkDynamics.jl/ext/MTKExt.jl:194 [inlined]
[10] VertexFunction(sys::ODESystem, inputs::Vector{Symbol}, outputs::Vector{Symbol}; verbose::Bool, name::Symbol, kwargs::@kwargs{vidx::Int64})
@ MTKExt ~/work/NetworkDynamics.jl/NetworkDynamics.jl/ext/MTKExt.jl:30
[11] top-level scope
@ gas_network.md:266
[12] eval
@ ./boot.jl:430 [inlined]
[13] #60
@ ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:803 [inlined]
[14] cd(f::Documenter.var"#60#62"{Module, Expr}, dir::String)
@ Base.Filesystem ./file.jl:112
[15] (::Documenter.var"#59#61"{Documenter.Page, Module, Expr})()
@ Documenter ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:802
[16] (::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{
|
build:
../../../.julia/packages/Documenter/Bs999/src/utilities/utilities.jl#L44
failed to run `@example` block in src/generated/gas_network.md:269-272
```@example gas_network
@nAmed v3_mtk = VariablePressureNode(C=C₃, load_profile=load3)
v3 = VertexFunction(v3_mtk, [:q̃_nw], [:p]; name=:v3, vidx=3)
```
exception =
ExtraVariablesSystemException: The system is unbalanced. There are 3 highest order derivative variables and 2 equations.
More variables than equations, here are the potential extra variable(s):
In particular, the unset input(s) are:
q̃_nw(t)
The rest of potentially unset variable(s) are:
p(t)
q̃_nw(t)
Note that the process of determining extra variables is a best-effort heuristic. The true extra variables are dependent on the model and may not be in this list.
Stacktrace:
[1] error_reporting(state::TearingState{ODESystem}, bad_idxs::Vector{Int64}, n_highest_vars::Int64, iseqs::Bool, orig_inputs::Set{Any})
@ ModelingToolkit.StructuralTransformations ~/.julia/packages/ModelingToolkit/89pF2/src/structural_transformation/utils.jl:50
[2] check_consistency(state::TearingState{ODESystem}, orig_inputs::Set{Any})
@ ModelingToolkit.StructuralTransformations ~/.julia/packages/ModelingToolkit/89pF2/src/structural_transformation/utils.jl:85
[3] _structural_simplify!(state::TearingState{ODESystem}, io::Tuple{Vector{Any}, Vector{SymbolicUtils.BasicSymbolic{Real}}}; simplify::Bool, check_consistency::Bool, fully_determined::Bool, warn_initialize_determined::Bool, dummy_derivative::Bool, kwargs::@kwargs{allow_symbolic::Bool, allow_parameter::Bool, conservative::Bool})
@ ModelingToolkit ~/.julia/packages/ModelingToolkit/89pF2/src/systems/systemstructure.jl:693
[4] _structural_simplify!
@ ~/.julia/packages/ModelingToolkit/89pF2/src/systems/systemstructure.jl:676 [inlined]
[5] structural_simplify!(state::TearingState{ODESystem}, io::Tuple{Vector{Any}, Vector{SymbolicUtils.BasicSymbolic{Real}}}; simplify::Bool, check_consistency::Bool, fully_determined::Bool, warn_initialize_determined::Bool, kwargs::@kwargs{allow_symbolic::Bool, allow_parameter::Bool, conservative::Bool})
@ ModelingToolkit ~/.julia/packages/ModelingToolkit/89pF2/src/systems/systemstructure.jl:635
[6] __structural_simplify(sys::ODESystem, io::Tuple{Vector{Any}, Vector{SymbolicUtils.BasicSymbolic{Real}}}; simplify::Bool, kwargs::@kwargs{allow_symbolic::Bool, allow_parameter::Bool, conservative::Bool, fully_determined::Bool})
@ ModelingToolkit ~/.julia/packages/ModelingToolkit/89pF2/src/systems/systems.jl:94
[7] structural_simplify(sys::ODESystem, io::Tuple{Vector{Any}, Vector{SymbolicUtils.BasicSymbolic{Real}}}; simplify::Bool, split::Bool, allow_symbolic::Bool, allow_parameter::Bool, conservative::Bool, fully_determined::Bool, kwargs::@kwargs{})
@ ModelingToolkit ~/.julia/packages/ModelingToolkit/89pF2/src/systems/systems.jl:33
[8] generate_io_function(_sys::ODESystem, inputss::Tuple{Vector{Symbol}}, outputss::Tuple{Vector{Symbol}}; expression::Type, verbose::Bool)
@ MTKExt ~/work/NetworkDynamics.jl/NetworkDynamics.jl/ext/MTKExt.jl:220
[9] generate_io_function
@ ~/work/NetworkDynamics.jl/NetworkDynamics.jl/ext/MTKExt.jl:194 [inlined]
[10] VertexFunction(sys::ODESystem, inputs::Vector{Symbol}, outputs::Vector{Symbol}; verbose::Bool, name::Symbol, kwargs::@kwargs{vidx::Int64})
@ MTKExt ~/work/NetworkDynamics.jl/NetworkDynamics.jl/ext/MTKExt.jl:30
[11] top-level scope
@ gas_network.md:271
[12] eval
@ ./boot.jl:430 [inlined]
[13] #60
@ ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:803 [inlined]
[14] cd(f::Documenter.var"#60#62"{Module, Expr}, dir::String)
@ Base.Filesystem ./file.jl:112
[15] (::Documenter.var"#59#61"{Documenter.Page, Module, Expr})()
@ Documenter ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:802
[16] (::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{
|
build:
../../../.julia/packages/Documenter/Bs999/src/utilities/utilities.jl#L44
failed to run `@example` block in src/generated/gas_network.md:279-287
```@example gas_network
@nAmed e12_mtk = Pipe(; L=L₁₂, sinθ=sinθ₁₂, D, A, γ, η, r, g, T, Tc, pc, Rs, c̃, ρ̃, p̃)
@nAmed e13_mtk = Pipe(; L=L₁₃, sinθ=sinθ₁₃, D, A, γ, η, r, g, T, Tc, pc, Rs, c̃, ρ̃, p̃)
@nAmed e23_mtk = Pipe(; L=L₂₃, sinθ=sinθ₂₃, D, A, γ, η, r, g, T, Tc, pc, Rs, c̃, ρ̃, p̃)
e12 = EdgeFunction(e12_mtk, [:p_src], [:p_dst], AntiSymmetric([:q̃]); name=:e12, src=1, dst=2)
e13 = EdgeFunction(e13_mtk, [:p_src], [:p_dst], AntiSymmetric([:q̃]); name=:e13, src=1, dst=3)
e23 = EdgeFunction(e23_mtk, [:p_src], [:p_dst], AntiSymmetric([:q̃]); name=:e23, src=2, dst=3)
```
exception =
ExtraVariablesSystemException: The system is unbalanced. There are 10 highest order derivative variables and 8 equations.
More variables than equations, here are the potential extra variable(s):
In particular, the unset input(s) are:
p_dst(t)
The rest of potentially unset variable(s) are:
q̃(t)
λe(t)
p_dst(t)
Note that the process of determining extra variables is a best-effort heuristic. The true extra variables are dependent on the model and may not be in this list.
Stacktrace:
[1] error_reporting(state::TearingState{ODESystem}, bad_idxs::Vector{Int64}, n_highest_vars::Int64, iseqs::Bool, orig_inputs::Set{Any})
@ ModelingToolkit.StructuralTransformations ~/.julia/packages/ModelingToolkit/89pF2/src/structural_transformation/utils.jl:50
[2] check_consistency(state::TearingState{ODESystem}, orig_inputs::Set{Any})
@ ModelingToolkit.StructuralTransformations ~/.julia/packages/ModelingToolkit/89pF2/src/structural_transformation/utils.jl:85
[3] _structural_simplify!(state::TearingState{ODESystem}, io::Tuple{Vector{Any}, Vector{SymbolicUtils.BasicSymbolic{Real}}}; simplify::Bool, check_consistency::Bool, fully_determined::Bool, warn_initialize_determined::Bool, dummy_derivative::Bool, kwargs::@kwargs{allow_symbolic::Bool, allow_parameter::Bool, conservative::Bool})
@ ModelingToolkit ~/.julia/packages/ModelingToolkit/89pF2/src/systems/systemstructure.jl:693
[4] _structural_simplify!
@ ~/.julia/packages/ModelingToolkit/89pF2/src/systems/systemstructure.jl:676 [inlined]
[5] structural_simplify!(state::TearingState{ODESystem}, io::Tuple{Vector{Any}, Vector{SymbolicUtils.BasicSymbolic{Real}}}; simplify::Bool, check_consistency::Bool, fully_determined::Bool, warn_initialize_determined::Bool, kwargs::@kwargs{allow_symbolic::Bool, allow_parameter::Bool, conservative::Bool})
@ ModelingToolkit ~/.julia/packages/ModelingToolkit/89pF2/src/systems/systemstructure.jl:635
[6] __structural_simplify(sys::ODESystem, io::Tuple{Vector{Any}, Vector{SymbolicUtils.BasicSymbolic{Real}}}; simplify::Bool, kwargs::@kwargs{allow_symbolic::Bool, allow_parameter::Bool, conservative::Bool, fully_determined::Bool})
@ ModelingToolkit ~/.julia/packages/ModelingToolkit/89pF2/src/systems/systems.jl:94
[7] structural_simplify(sys::ODESystem, io::Tuple{Vector{Any}, Vector{SymbolicUtils.BasicSymbolic{Real}}}; simplify::Bool, split::Bool, allow_symbolic::Bool, allow_parameter::Bool, conservative::Bool, fully_determined::Bool, kwargs::@kwargs{})
@ ModelingToolkit ~/.julia/packages/ModelingToolkit/89pF2/src/systems/systems.jl:33
[8] generate_io_function(_sys::ODESystem, inputss::Tuple{Vector{Symbol}, Vector{Symbol}}, outputss::Tuple{Vector{Symbol}}; expression::Type, verbose::Bool)
@ MTKExt ~/work/NetworkDynamics.jl/NetworkDynamics.jl/ext/MTKExt.jl:220
[9] generate_io_function
@ ~/work/NetworkDynamics.jl/NetworkDynamics.jl/ext/MTKExt.jl:194 [inlined]
[10] EdgeFunction(sys::ODESystem, srcin::Vector{Symbol}, dstin::Vector{Symbol}, srcout::Nothing, dstout::NetworkDynamics.AnnotatedSym{AntiSymmetric}; verbose::Bool, name::Symbol, kwargs::@kwargs{src::Int64, dst::Int64})
@ MTKExt ~/work/NetworkDynamics.jl/NetworkDynamics.jl/ext/MTKExt.jl:106
[11] EdgeFunction
@ ~/work/NetworkDynamics.jl/NetworkDynamics.jl/ext/MTKExt.jl:84 [in
|
build:
../../../.julia/packages/Documenter/Bs999/src/utilities/utilities.jl#L44
failed to run `@example` block in src/generated/gas_network.md:297-299
```@example gas_network
nw = Network([v1, v2, v3], [e12, e13, e23])
```
exception =
UndefVarError: `v1` not defined in `Main.__atexample__named__gas_network`
Suggestion: check for spelling errors or missing imports.
Stacktrace:
[1] top-level scope
@ gas_network.md:298
[2] eval
@ ./boot.jl:430 [inlined]
[3] #60
@ ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:803 [inlined]
[4] cd(f::Documenter.var"#60#62"{Module, Expr}, dir::String)
@ Base.Filesystem ./file.jl:112
[5] (::Documenter.var"#59#61"{Documenter.Page, Module, Expr})()
@ Documenter ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:802
[6] (::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})()
@ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170
[7] with_logstate(f::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}}, logstate::Base.CoreLogging.LogState)
@ Base.CoreLogging ./logging/logging.jl:522
[8] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger)
@ Base.CoreLogging ./logging/logging.jl:632
[9] capture(f::Documenter.var"#59#61"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any})
@ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167
[10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document)
@ Documenter ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:801
|
build:
../../../.julia/packages/Documenter/Bs999/src/utilities/utilities.jl#L44
failed to run `@example` block in src/generated/gas_network.md:311-313
```@example gas_network
uguess = NWState(nw)
```
exception =
UndefVarError: `nw` not defined in `Main.__atexample__named__gas_network`
Suggestion: check for spelling errors or missing imports.
Stacktrace:
[1] top-level scope
@ gas_network.md:312
[2] eval
@ ./boot.jl:430 [inlined]
[3] #60
@ ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:803 [inlined]
[4] cd(f::Documenter.var"#60#62"{Module, Expr}, dir::String)
@ Base.Filesystem ./file.jl:112
[5] (::Documenter.var"#59#61"{Documenter.Page, Module, Expr})()
@ Documenter ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:802
[6] (::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})()
@ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170
[7] with_logstate(f::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}}, logstate::Base.CoreLogging.LogState)
@ Base.CoreLogging ./logging/logging.jl:522
[8] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger)
@ Base.CoreLogging ./logging/logging.jl:632
[9] capture(f::Documenter.var"#59#61"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any})
@ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167
[10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document)
@ Documenter ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:801
|
build:
../../../.julia/packages/Documenter/Bs999/src/utilities/utilities.jl#L44
failed to run `@example` block in src/generated/gas_network.md:321-328
```@example gas_network
nwwrap = (du, u, p) -> begin
nw(du, u, p, 0)
nothing
end
initprob = NonlinearProblem(nwwrap, uflat(uguess), pflat(uguess))
initsol = solve(initprob)
```
exception =
UndefVarError: `uguess` not defined in `Main.__atexample__named__gas_network`
Suggestion: check for spelling errors or missing imports.
Stacktrace:
[1] top-level scope
@ gas_network.md:326
[2] eval
@ ./boot.jl:430 [inlined]
[3] #60
@ ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:803 [inlined]
[4] cd(f::Documenter.var"#60#62"{Module, Expr}, dir::String)
@ Base.Filesystem ./file.jl:112
[5] (::Documenter.var"#59#61"{Documenter.Page, Module, Expr})()
@ Documenter ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:802
[6] (::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})()
@ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170
[7] with_logstate(f::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}}, logstate::Base.CoreLogging.LogState)
@ Base.CoreLogging ./logging/logging.jl:522
[8] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger)
@ Base.CoreLogging ./logging/logging.jl:632
[9] capture(f::Documenter.var"#59#61"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any})
@ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167
[10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document)
@ Documenter ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:801
|
build:
../../../.julia/packages/Documenter/Bs999/src/utilities/utilities.jl#L44
failed to run `@example` block in src/generated/gas_network.md:333-335
```@example gas_network
u0 = NWState(nw, initsol.u, uguess.p)
```
exception =
UndefVarError: `nw` not defined in `Main.__atexample__named__gas_network`
Suggestion: check for spelling errors or missing imports.
Stacktrace:
[1] top-level scope
@ gas_network.md:334
[2] eval
@ ./boot.jl:430 [inlined]
[3] #60
@ ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:803 [inlined]
[4] cd(f::Documenter.var"#60#62"{Module, Expr}, dir::String)
@ Base.Filesystem ./file.jl:112
[5] (::Documenter.var"#59#61"{Documenter.Page, Module, Expr})()
@ Documenter ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:802
[6] (::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})()
@ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170
[7] with_logstate(f::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}}, logstate::Base.CoreLogging.LogState)
@ Base.CoreLogging ./logging/logging.jl:522
[8] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger)
@ Base.CoreLogging ./logging/logging.jl:632
[9] capture(f::Documenter.var"#59#61"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any})
@ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167
[10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document)
@ Documenter ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:801
|
build:
../../../.julia/packages/Documenter/Bs999/src/utilities/utilities.jl#L44
failed to run `@example` block in src/generated/gas_network.md:342-346
```@example gas_network
prob = ODEProblem(nw, uflat(u0), (0.0,24*3600), copy(pflat(u0)))
sol = solve(prob, Tsit5(), tstops=[0,4,12,20,24]*3600)
nothing #hide
```
exception =
UndefVarError: `nw` not defined in `Main.__atexample__named__gas_network`
Suggestion: check for spelling errors or missing imports.
Stacktrace:
[1] top-level scope
@ gas_network.md:343
[2] eval
@ ./boot.jl:430 [inlined]
[3] #60
@ ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:803 [inlined]
[4] cd(f::Documenter.var"#60#62"{Module, Expr}, dir::String)
@ Base.Filesystem ./file.jl:112
[5] (::Documenter.var"#59#61"{Documenter.Page, Module, Expr})()
@ Documenter ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:802
[6] (::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})()
@ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170
[7] with_logstate(f::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}}, logstate::Base.CoreLogging.LogState)
@ Base.CoreLogging ./logging/logging.jl:522
[8] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger)
@ Base.CoreLogging ./logging/logging.jl:632
[9] capture(f::Documenter.var"#59#61"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any})
@ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167
[10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document)
@ Documenter ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:801
|
build:
../../../.julia/packages/Documenter/Bs999/src/utilities/utilities.jl#L44
failed to run `@example` block in src/generated/gas_network.md:352-376
```@example gas_network
xticks = ((0:4:24)*3600, string.(0:4:24)) # its nice to display hours
fig = begin
_fig = Figure()
row = 1
ax = Axis(_fig[row, 1]; xlabel="time [h]", ylabel="pressure [Pa]", title="Pressure at nodes", xticks)
xlims!(ax, sol.t[begin], sol.t[end])
ylims!(ax, 47.9e5, 49.9e5)
for i in 1:3
lines!(ax, sol, idxs=vidxs(nw, i, :p); label="v$i", color=Cycled(i))
end
axislegend(ax)
row += 1
ax = Axis(_fig[row, 1]; xlabel="time [h]", ylabel="flow [m³/s]", title="Flow through pipes", xticks)
xlims!(ax, sol.t[begin], sol.t[end])
ylims!(ax, 16, 44)
for i in 1:2
lines!(ax, sol, idxs=eidxs(nw, i, :q̃); label="e$i flow", color=Cycled(i))
end
axislegend(ax, position=:rb)
row += 1
_fig
end
```
exception =
UndefVarError: `sol` not defined in `Main.__atexample__named__gas_network`
Suggestion: check for spelling errors or missing imports.
Stacktrace:
[1] top-level scope
@ ./gas_network.md:358
[2] eval
@ ./boot.jl:430 [inlined]
[3] #60
@ ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:803 [inlined]
[4] cd(f::Documenter.var"#60#62"{Module, Expr}, dir::String)
@ Base.Filesystem ./file.jl:112
[5] (::Documenter.var"#59#61"{Documenter.Page, Module, Expr})()
@ Documenter ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:802
[6] (::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})()
@ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170
[7] with_logstate(f::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}}, logstate::Base.CoreLogging.LogState)
@ Base.CoreLogging ./logging/logging.jl:522
[8] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger)
@ Base.CoreLogging ./logging/logging.jl:632
[9] capture(f::Documenter.var"#59#61"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any})
@ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167
[10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document)
@ Documenter ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:801
|
build:
../../../.julia/packages/Documenter/Bs999/src/utilities/utilities.jl#L46
25 docstrings not included in the manual:
NetworkDynamics.aliasgroups :: Union{Tuple{Vector{T}}, Tuple{T}} where T<:NetworkDynamics.ComponentFunction
MTKExt.eq_type :: Tuple{Equation}
NetworkDynamics.unique_mappings :: Tuple{Any, Any}
NetworkDynamics.obsf :: Tuple{NetworkDynamics.ComponentFunction}
NetworkDynamics.extract_nw :: Tuple{Any}
NetworkDynamics.AnnotatedSym
NetworkDynamics.filltype :: Tuple{Type{<:AbstractVector}}
NetworkDynamics.hasfftype :: Tuple{Any}
NetworkDynamics.equal_fields :: Union{Tuple{T}, Tuple{T, T}} where T
NetworkDynamics._fill_defaults :: Tuple{Any, Any}
NetworkDynamics.get_default_or_init :: Tuple{NetworkDynamics.ComponentFunction, Symbol}
MTKExt._get_metadata :: Tuple{Any, Any}
MTKExt.getproperty_symbolic :: Tuple{Any, Any}
NetworkDynamics.compf :: Tuple{NetworkDynamics.ComponentFunction}
NetworkDynamics.get_default_or_guess :: Tuple{NetworkDynamics.ComponentFunction, Symbol}
MTKExt.lhs_var :: Tuple{Equation}
NetworkDynamics.has_default_or_init :: Tuple{NetworkDynamics.ComponentFunction, Symbol}
NetworkDynamics.dealias! :: Tuple{Vector{<:NetworkDynamics.ComponentFunction}}
NetworkDynamics.compg :: Tuple{NetworkDynamics.ComponentFunction}
NetworkDynamics.hash_fields :: Union{Tuple{T}, Tuple{T, UInt64}} where T
NetworkDynamics._construct_comp :: Union{Tuple{T}, Tuple{Type{T}, Any}} where T
MTKExt.MultipleOutputWrapper
NetworkDynamics.dispatchT :: Tuple{T} where T<:NetworkDynamics.ComponentFunction
NetworkDynamics.has_default_or_guess :: Tuple{NetworkDynamics.ComponentFunction, Symbol}
NetworkDynamics._maybewrap! :: Tuple{Any, Any, Any}
These are docstrings in the checked modules (configured with the modules keyword)
that are not included in canonical @docs or @autodocs blocks.
|