Skip to content

Commit

Permalink
ignore docs build problems
Browse files Browse the repository at this point in the history
  • Loading branch information
NLaws committed Nov 17, 2023
1 parent aed0294 commit 58b40ff
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/devdeploy.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ e.g.
```julia
[~/.julia/dev/BranchFlowModel/docs]
(BranchFlowModel) pkg> activate .
(BranchFlowModel) pkg> dev BranchFlowModel
(BranchFlowModel) pkg> dev ../../BranchFlowModel
julia> include("devdeploy.jl")
[ Info: Precompiling BranchFlowModel [73c867df-75f8-459f-abd8-059b58de1e18]
...
Expand Down
1 change: 1 addition & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ makedocs(
"Decomposition" => "decomposition.md",
"Math" => "math.md"
],
warnonly = true, # TODO rm this and fix all the docs
)

# Documenter can also automatically deploy documentation to gh-pages.
Expand Down
4 changes: 2 additions & 2 deletions docs/src/decomposition.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Methods to decompose and solve the `SinglePhase` Branch Flow Model are provided based on the work in
[[1]](@ref). These methods are most advantageous when solving the non-linear (unrelaxed) power flow
[[2]](@ref). These methods are most advantageous when solving the non-linear (unrelaxed) power flow
equations and are only valid(?) in radial networks.

```@docs
Expand All @@ -13,5 +13,5 @@ split_inputs
build_metagraph
```

### [1]
### [2]
Sadnan, Rabayet, and Anamika Dubey. "Distributed optimization using reduced network equivalents for radial power distribution systems." IEEE Transactions on Power Systems 36.4 (2021): 3645-3656.
2 changes: 1 addition & 1 deletion docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,5 @@ See the [JuMP documentation](https://jump.dev/JuMP.jl/stable/manual/constraints/

# Results
```@docs
Results(m::AbstractModel, p::Inputs{SinglePhase})
Results(m::JuMP.AbstractModel, p::Inputs{SinglePhase}; digits=8)
```
2 changes: 1 addition & 1 deletion docs/src/methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,5 @@ has_vreg
combine_parallel_lines!
remove_bus!
paths_between
Results(m::JuMP.AbstractModel, p::Inputs{BranchFlowModel.SinglePhase})
Results(m::JuMP.AbstractModel, p::Inputs{SinglePhase}; digits=8)
```
4 changes: 2 additions & 2 deletions src/results.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ end


"""
Results(m::AbstractModel, p::Inputs{SinglePhase}; digits=8)
Results(m::JuMP.AbstractModel, p::Inputs{SinglePhase}; digits=8)
return a `Results` struct with fieldnames:
Expand All @@ -27,7 +27,7 @@ return a `Results` struct with fieldnames:
reactive_sending_end_powers
"""
function Results(m::AbstractModel, p::Inputs{SinglePhase}; digits=8)
function Results(m::JuMP.AbstractModel, p::Inputs{SinglePhase}; digits=8)

vs = get_variable_values(:vsqrd, m, p, digits=digits)
Pj = get_variable_values(:Pj, m, p, digits=digits)
Expand Down

0 comments on commit 58b40ff

Please sign in to comment.