Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add HydroPowerSimulations Docs #51

Open
wants to merge 27 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
bbb0172
update readme
rodrigomha Dec 24, 2024
337e3f8
update packages in docs toml
rodrigomha Dec 24, 2024
25d1d24
add docstrings for FF
rodrigomha Dec 24, 2024
bf3df7c
update doscstrings in constructors
rodrigomha Dec 24, 2024
946f5bb
add new exports
rodrigomha Dec 24, 2024
fae3da4
update docstrings for expressions
rodrigomha Dec 24, 2024
03d0a6a
add docstring for IC params and vars
rodrigomha Dec 24, 2024
f7f6642
add formulation page
rodrigomha Dec 24, 2024
f693d47
add quick start guide
rodrigomha Dec 24, 2024
1d79230
update api usage
rodrigomha Dec 24, 2024
b6c629a
complete index page
rodrigomha Dec 24, 2024
26f79a6
add tutorial for single step simulation
rodrigomha Dec 24, 2024
028742b
update make.jl
rodrigomha Dec 24, 2024
0e4927d
update readme
rodrigomha Dec 26, 2024
d81d474
add PSB and Interlinks to docs TOML
rodrigomha Dec 26, 2024
2d80bc3
add interlinks to make.jl
rodrigomha Dec 26, 2024
979e33b
export constraints
rodrigomha Dec 26, 2024
f878352
update constraint docstrings
rodrigomha Dec 26, 2024
7ba59f7
add links
rodrigomha Dec 26, 2024
35faf03
add links and false canonical docstring in formulations
rodrigomha Dec 26, 2024
66f469a
update links
rodrigomha Dec 26, 2024
5845ab2
update tutorial docs
rodrigomha Dec 26, 2024
2580b81
add formulations to API
rodrigomha Dec 26, 2024
61e034f
update PSI docs link
rodrigomha Dec 30, 2024
f446b65
update read_variable comment
rodrigomha Dec 30, 2024
9b034f0
update formatter
rodrigomha Dec 31, 2024
1a08f6a
new formatting
rodrigomha Dec 31, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,14 @@
[![Documentation Build](https://github.com/NREL-Sienna/HydroPowerSimulations.jl/actions/workflows/docs.yml/badge.svg)](https://nrel-sienna.github.io/HydroPowerSimulations.jl/dev/)
[<img src="https://img.shields.io/badge/slack-@Sienna/HydroPowerSimulations-sienna.svg?logo=slack">](https://join.slack.com/t/nrel-sienna/shared_invite/zt-glam9vdu-o8A9TwZTZqqNTKHa7q3BpQ)

`HydroPowerSimulations.jl` is an extension package of [`PowerSimulations.jl`](https://nrel-sienna.github.io/PowerSimulations.jl/stable/) for modeling of hydro generation technology.

For information on using the package, see the [stable documentation](https://nrel-sienna.github.io/HydroPowerSimulations.jl/stable/). Use the [in-development documentation](https://nrel-sienna.github.io/HydroPowerSimulations.jl/dev/) for the version of the documentation which contains the unreleased features.

## Development

Contributions to the development and enahancement of HydroPowerSimulations is welcome. Please see [CONTRIBUTING.md](https://github.com/NREL-Sienna/HydroPowerSimulations.jl/blob/master/CONTRIBUTING.md) for code contribution guidelines.
Contributions to the development and enhancement of HydroPowerSimulations is welcome. Please see [CONTRIBUTING.md](https://github.com/NREL-Sienna/HydroPowerSimulations.jl/blob/master/CONTRIBUTING.md) for code contribution guidelines.

## License

HydroPowerSimulations is released under a BSD [license](https://github.com/NREL-Sienna/HydroPowerSimulations/blob/master/LICENSE). HydroPowerSimulations has been developed as part of the Flexible Linked Analysis of Streamflow and Hydropower (FLASH) and Reliability and Resilience of coordinated water Distribution and power Distribution (R2D2) projects at the U.S. Department of Energy's National Renewable Energy Laboratory ([NREL](https://www.nrel.gov/)) Software Record SWR-23-110
HydroPowerSimulations is released under a BSD [license](https://github.com/NREL-Sienna/HydroPowerSimulations/blob/master/LICENSE). HydroPowerSimulations has been developed as part of the Flexible Linked Analysis of Streamflow and Hydropower (FLASH) and Reliability and Resilience of coordinated water Distribution and power Distribution (R2D2) projects at the U.S. Department of Energy's National Renewable Energy Laboratory ([NREL](https://www.nrel.gov/)) Software Record SWR-23-110.
9 changes: 8 additions & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
[deps]
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
DocumenterInterLinks = "d12716ef-a0f6-4df4-a9f1-a5a34e75c656"
DocumenterTools = "35a29f4d-8980-5a13-9543-d66fff28ecb8"
HiGHS = "87dc4568-4c63-4d18-b0c0-bb2238e4078b"
HydroPowerSimulations = "fc1677e0-6ad7-4515-bf3a-bd6bf20a0b1b"
Latexify = "23fbe1c1-3f47-55db-b15f-69d7ec21a316"
PowerSimulations = "e690365d-45e2-57bb-ac84-44ba829e73c4"
PowerSystemCaseBuilder = "f00506e0-b84f-492a-93c2-c0a9afc4364e"
PowerSystems = "bcd98974-b02a-5e2f-9ee0-a103f5c450dd"

[compat]
Documenter = "0.27"
Documenter = "1"
julia = "^1.6"
10 changes: 10 additions & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
using Documenter, HydroPowerSimulations
import DataStructures: OrderedDict
using DocumenterInterLinks

links = InterLinks(
"PowerSystems" => "https://nrel-sienna.github.io/PowerSystems.jl/stable/",
"PowerSimulations" => "https://nrel-sienna.github.io/PowerSimulations.jl/stable/",
"InfrastructureSystems" => "https://nrel-sienna.github.io/InfrastructureSystems.jl/stable/",
)

pages = OrderedDict(
"Welcome Page" => "index.md",
"Quick Start Guide" => "quick_start_guide.md",
"Tutorials" => Any["tutorials/single_stage_model.md"],
"Formulation Library" => "formulation.md",
"Public API Reference" => "api/public.md",
"Internal API Reference" => "api/internal.md",
)
Expand All @@ -16,6 +25,7 @@ makedocs(
),
sitename="HydroPowerSimulations.jl",
pages=Any[p for p in pages],
plugins=[links],
)

deploydocs(
Expand Down
1 change: 1 addition & 0 deletions docs/src/api/internal.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
```@autodocs
Modules = [HydroPowerSimulations]
Public = false
Private = true
```
77 changes: 77 additions & 0 deletions docs/src/api/public.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,83 @@
# Public API Reference

```@contents
Pages = ["public.md"]
Depth = 2
```

## Formulations

```@autodocs
Modules = [HydroPowerSimulations]
Pages = ["formulations.jl",
]
Order = [:type, :function]
Public = true
Private = false
```

## Variables

```@autodocs
Modules = [HydroPowerSimulations]
Pages = ["variables.jl",
]
Order = [:type, :function]
Public = true
Private = false
```

## Parameters

```@autodocs
Modules = [HydroPowerSimulations]
Pages = ["parameters.jl",
]
Order = [:type, :function]
Public = true
Private = false
```

## Expressions

```@autodocs
Modules = [HydroPowerSimulations]
Pages = ["expressions.jl",
]
Order = [:type, :function]
Public = true
Private = false
```

## Constraints

```@autodocs
Modules = [HydroPowerSimulations]
Pages = [ "constraints.jl",
]
Order = [:type, :function]
Public = true
Private = false
```

## Initial Conditions

```@autodocs
Modules = [HydroPowerSimulations]
Pages = ["initial_conditions.jl",
]
Order = [:type, :function]
Public = true
Private = false
```

## Feedforwards

```@autodocs
Modules = [HydroPowerSimulations]
Pages = ["feedforwards.jl",
]
Order = [:type, :function]
Public = true
Private = false
```
Loading
Loading