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

Massive update documentation for PowerSimulations #1099

Merged
merged 73 commits into from
May 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
7004603
add fix to service bid
jd-lara Mar 27, 2024
36ef59b
undo changes
jd-lara Mar 27, 2024
9730681
Merge pull request #1096 from NREL-Sienna/jd/fix_service_bid
jd-lara Mar 27, 2024
2334364
Update Project.toml
jd-lara Mar 27, 2024
4c82558
add Introduction for formulations
rodrigomha Apr 23, 2024
37bc1a4
update Network formulations
rodrigomha Apr 23, 2024
badd6a7
update docstrings
rodrigomha Apr 23, 2024
a6cb30b
reorder make.jl
rodrigomha Apr 23, 2024
2805166
add three thermal formulations
rodrigomha Apr 26, 2024
1d5339c
update formulation typo
rodrigomha Apr 26, 2024
f294d93
update docstring
rodrigomha Apr 26, 2024
cdf7410
add additional thermal formulations
rodrigomha Apr 26, 2024
5177413
update variable symbols
rodrigomha Apr 29, 2024
346a313
update docstrings for formulations
rodrigomha Apr 29, 2024
add41c3
export slack for flows
rodrigomha Apr 29, 2024
ff2b8f1
add service TODO docs
rodrigomha Apr 29, 2024
018b28b
update network docs
rodrigomha Apr 29, 2024
d332f45
update renewable docs
rodrigomha Apr 29, 2024
7164f3a
update load docs
rodrigomha Apr 29, 2024
2b4a6bc
update branch docs
rodrigomha Apr 29, 2024
21f8ab8
export slack flow variables
rodrigomha Apr 29, 2024
7a071a0
fix typo
rodrigomha Apr 30, 2024
35dbe3a
update docstrings of branch variables
rodrigomha Apr 30, 2024
0080677
update export of branch variables
rodrigomha Apr 30, 2024
a54f7b5
finish branch docs
rodrigomha Apr 30, 2024
2676003
update pwl docstring
rodrigomha Apr 30, 2024
28514e7
update old docs
rodrigomha Apr 30, 2024
edb65c5
add pwl docs
rodrigomha Apr 30, 2024
9898bc2
add note to PWL docs
rodrigomha Apr 30, 2024
63f58e9
add ref to formulation intro
rodrigomha Apr 30, 2024
13132c1
add debugging models docs
rodrigomha Apr 30, 2024
8d7c6ee
update ref of templates
rodrigomha Apr 30, 2024
b237ffe
complete finish a simulation docs
rodrigomha Apr 30, 2024
e336a1e
update definitions
rodrigomha Apr 30, 2024
ea9be22
remove tips and tricks
rodrigomha Apr 30, 2024
7fe072d
reorder definitions
rodrigomha May 2, 2024
178f9f9
add read results
rodrigomha May 2, 2024
7847032
update docstrings
rodrigomha May 3, 2024
f58e28d
minor docs updates
rodrigomha May 3, 2024
45fc122
add range reserve service
rodrigomha May 3, 2024
05ca9c7
add docstrings
rodrigomha May 4, 2024
5327f77
add new service docs
rodrigomha May 4, 2024
5e7f88e
remove AGC variables
rodrigomha May 4, 2024
6c609f5
add toc to existing docs
rodrigomha May 7, 2024
a81fb12
finish service docs
rodrigomha May 7, 2024
2663eac
update refs for API
rodrigomha May 7, 2024
c4f4bf5
update definitions for services
rodrigomha May 7, 2024
4cb7a7d
update docstrings
rodrigomha May 7, 2024
c0eac04
formatter
rodrigomha May 7, 2024
b62f2b8
add AreaDispatchBalance constraint
rodrigomha May 7, 2024
a10fc2d
update network constraint docstrings
rodrigomha May 7, 2024
c9ebafb
update power variable limit constraints
rodrigomha May 7, 2024
fc7cf84
add service docstrings
rodrigomha May 7, 2024
621aeb2
add more docstrings
rodrigomha May 7, 2024
8916b5e
update docstrings
rodrigomha May 7, 2024
80140d3
update ff docstrings and docs
rodrigomha May 11, 2024
55ff09c
remove ref to export results
rodrigomha May 11, 2024
9241aec
remove ref in docs
rodrigomha May 11, 2024
9ac53f8
finish reserve docs
rodrigomha May 11, 2024
fb5e024
add phaseshifter docs
rodrigomha May 11, 2024
3c45bb5
update docstrings
rodrigomha May 11, 2024
704559f
fix continous typo to continuous
rodrigomha May 11, 2024
24b0ba2
add docstring to ff slack variables
rodrigomha May 11, 2024
c70185b
add docstrings to ff structs
rodrigomha May 11, 2024
1603655
update ff docstrings
rodrigomha May 11, 2024
69fb26e
finish ff docs
rodrigomha May 11, 2024
9ee8324
Merge branch 'psy4' into team/psi_docs_efforts
rodrigomha May 11, 2024
ebee15c
Merge branch 'rh/cost_funcs_updates_psy4' into team/psi_docs_efforts
rodrigomha May 11, 2024
45e9cce
update typos
rodrigomha May 11, 2024
abd8295
Merge branch 'rh/cost_funcs_updates_psy4' into team/psi_docs_efforts
rodrigomha May 13, 2024
7b1ab3e
update reactive power note
rodrigomha May 13, 2024
59c0ba4
update comments
rodrigomha May 13, 2024
2fce166
fix typo
rodrigomha May 13, 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
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "PowerSimulations"
uuid = "e690365d-45e2-57bb-ac84-44ba829e73c4"
authors = ["Jose Daniel Lara", "Clayton Barrows", "Daniel Thom", "Dheepak Krishnamurthy", "Sourabh Dalvi"]
version = "0.27.7"
version = "0.27.8"

[deps]
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
Expand Down
8 changes: 6 additions & 2 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ pages = OrderedDict(
"modeler_guide/psi_structure.md",
"modeler_guide/problem_templates.md",
"modeler_guide/running_a_simulation.md",
"modeler_guide/read_results.md",
"modeler_guide/simulation_recorder.md",
"modeler_guide/logging.md",
"modeler_guide/tips_and_tricks.md",
"modeler_guide/debugging_infeasible_models.md",
"modeler_guide/parallel_simulations.md",
"modeler_guide/modeling_faq.md",
Expand All @@ -31,12 +31,16 @@ pages = OrderedDict(
"Troubleshooting" => "code_base_developer_guide/troubleshooting.md",
],
"Formulation Library" => Any[
"Introduction" => "formulation_library/Introduction.md",
"General" => "formulation_library/General.md",
"Network" => "formulation_library/Network.md",
"Thermal Generation" => "formulation_library/ThermalGen.md",
"Renewable Generation" => "formulation_library/RenewableGen.md",
"Load" => "formulation_library/Load.md",
"Network" => "formulation_library/Network.md",
"Branch" => "formulation_library/Branch.md",
"Services" => "formulation_library/Service.md",
"Feedforwards" => "formulation_library/Feedforward.md",
"Piecewise Linear Cost" => "formulation_library/Piecewise.md",
],
"API Reference" => "api/PowerSimulations.md",
)
Expand Down
130 changes: 82 additions & 48 deletions docs/src/api/PowerSimulations.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,38 @@ end

### Table of Contents

1. [Device Models](#device-models)
2. [Decision Models](#decision-models)
3. [Emulation Models](#emulation-models)
4. [Service Models](#service-models)
5. [Simulation Models](#simulation-models)
6. [Variables](#variables)
7. [Constraints](#constraints)
8. [Parameters](#parameters)
* [Device Models](#Device-Models)
* [Formulations](#Formulations)
* [Problem Templates](#Problem-Templates)
* [Decision Models](#Decision-Models)
* [Emulation Models](#Emulation-Models)
* [Service Models](#Service-Models)
* [Simulation Models](#Simulation-Models)
* [Variables](#Variables)
* [Common Variables](#Common-Variables)
* [Thermal Unit Variables](#Thermal-Unit-Variables)
* [Storage Unit Variables](#Storage-Unit-Variables)
* [Branches and Network Variables](#Branches-and-Network-Variables)
* [Services Variables](#Services-Variables)
* [Feedforward Variables](#Feedforward-Variables)
* [Constraints](#Constraints)
* [Common Constraints](#Common-Constraints)
* [Network Constraints](#Network-Constraints)
* [Power Variable Limit Constraints](#Power-Variable-Limit-Constraints)
* [Services Constraints](#Services-Constraints)
* [Thermal Unit Constraints](#Thermal-Unit-Constraints)
* [Renewable Unit Constraints](#Renewable-Unit-Constraints)
* [Branches Constraints](#Branches-Constraints)
* [Feedforward Constraints](#Feedforward-Constraints)
* [Parameters](#Parameters)
* [Time Series Parameters](#Time-Series-Parameters)
* [Variable Value Parameters](#Variable-Value-Parameters)
* [Objective Function Parameters](#Objective-Function-Parameters)

```@raw html
 
 
```

# Device Models

Expand All @@ -34,22 +58,13 @@ Refer to the [Formulations Page](@ref formulation_library) for each Abstract Dev

Refer to the [Problem Templates Page](@ref op_problem_template) for available `ProblemTemplate`s.

### Problem Templates

Refer to the [Problem Templates Page](https://nrel-siip.github.io/PowerSimulations.jl/latest/modeler_guide/problem_templates/) for available `ProblemTemplate`s.

```@raw html
 
 
```

# Service Models

List of structures and methods for Service models

```@docs
ServiceModel
```
---

# Decision Models

Expand All @@ -66,6 +81,8 @@ solve!(::DecisionModel)
 
```

---

# Emulation Models

```@docs
Expand All @@ -81,6 +98,23 @@ run!(::EmulationModel)
 
```

---

# Service Models

List of structures and methods for Service models

```@docs
ServiceModel
```

```@raw html
 
 
```

---

# Simulation Models

Refer to the [Simulations Page](@ref running_a_simulation) to explanations on how to setup a Simulation, with Sequencing and Feedforwards.
Expand All @@ -99,6 +133,8 @@ execute!(::Simulation)
 
```

---

# Variables

For a list of variables for each device refer to its Formulations page.
Expand All @@ -122,6 +158,7 @@ HotStartVariable
WarmStartVariable
ColdStartVariable
PowerAboveMinimumVariable
PowerOutput
```

### Storage Unit Variables
Expand All @@ -134,6 +171,8 @@ ReservationVariable

```@docs
FlowActivePowerVariable
FlowActivePowerSlackUpperBound
FlowActivePowerSlackLowerBound
FlowActivePowerFromToVariable
FlowActivePowerToFromVariable
FlowReactivePowerFromToVariable
Expand All @@ -145,28 +184,32 @@ VoltageMagnitude
VoltageAngle
```

### Regulation and Services Variables
### Services Variables

```@docs
ActivePowerReserveVariable
ServiceRequirementVariable
DeltaActivePowerUpVariable
DeltaActivePowerDownVariable
AdditionalDeltaActivePowerUpVariable
AdditionalDeltaActivePowerDownVariable
AreaMismatchVariable
SteadyStateFrequencyDeviation
SmoothACE
SystemBalanceSlackUp
SystemBalanceSlackDown
ReserveRequirementSlack
InterfaceFlowSlackUp
InterfaceFlowSlackDown
```

### Feedforward Variables

```@docs
UpperBoundFeedForwardSlack
LowerBoundFeedForwardSlack
```

```@raw html
 
 
```

---

# Constraints

### Common Constraints
Expand All @@ -180,10 +223,7 @@ PieceWiseLinearCostConstraint

```@docs
AreaDispatchBalanceConstraint
AreaParticipationAssignmentConstraint
BalanceAuxConstraint
CopperPlateBalanceConstraint
FrequencyResponseConstraint
NodalBalanceActiveConstraint
NodalBalanceReactiveConstraint
```
Expand All @@ -198,13 +238,11 @@ InputActivePowerVariableLimitsConstraint
OutputActivePowerVariableLimitsConstraint
```

### Regulation and Services Constraints
### Services Constraints

```@docs
ParticipationAssignmentConstraint
RegulationLimitsConstraint
RequirementConstraint
ReserveEnergyCoverageConstraint
ParticipationFractionConstraint
ReservePowerConstraint
```

Expand All @@ -215,7 +253,6 @@ ActiveRangeICConstraint
CommitmentConstraint
DurationConstraint
RampConstraint
RampLimitConstraint
StartupInitialConditionConstraint
StartupTimeLimitTemperatureConstraint
```
Expand All @@ -224,57 +261,54 @@ StartupTimeLimitTemperatureConstraint

```@docs
EqualityConstraint
```

### Branches Constraints

```@docs
AbsoluteValueConstraint
FlowLimitFromToConstraint
FlowLimitToFromConstraint
FlowLimitConstraint
FlowRateConstraint
FlowRateConstraintFromTo
FlowRateConstraintToFrom
HVDCDirection
HVDCLossesAbsoluteValue
HVDCPowerBalance
NetworkFlowConstraint
RateLimitConstraint
RateLimitConstraintFromTo
RateLimitConstraintToFrom
PhaseAngleControlLimit
```

### Feedforward Constraints

```@docs
FeedforwardSemiContinousConstraint
FeedforwardIntegralLimitConstraint
FeedforwardSemiContinuousConstraint
FeedforwardUpperBoundConstraint
FeedforwardLowerBoundConstraint
FeedforwardEnergyTargetConstraint
```

```@raw html
 
 
```

---

# Parameters

## Time Series Parameters
### Time Series Parameters

```@docs
ActivePowerTimeSeriesParameter
ReactivePowerTimeSeriesParameter
RequirementTimeSeriesParameter
```

## Variable Value Parameters
### Variable Value Parameters

```@docs
UpperBoundValueParameter
LowerBoundValueParameter
OnStatusParameter
EnergyLimitParameter
FixValueParameter
EnergyTargetParameter
```

### Objective Function Parameters
Expand Down
Loading
Loading