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

Cb/docs fixes #989

Merged
merged 4 commits into from
Jul 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
DocumenterTools = "35a29f4d-8980-5a13-9543-d66fff28ecb8"
GLPK = "60bf3e95-4087-53dc-ae20-288a0d20c6a6"
HiGHS = "87dc4568-4c63-4d18-b0c0-bb2238e4078b"
InfrastructureSystems = "2cd47ed4-ca9b-11e9-27f2-ab636a7671f1"
Latexify = "23fbe1c1-3f47-55db-b15f-69d7ec21a316"
PowerSimulations = "e690365d-45e2-57bb-ac84-44ba829e73c4"
Expand Down
2 changes: 1 addition & 1 deletion docs/src/formulation_library/HydroGen.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ Adds ``Pg`` and ``Qg`` terms to the respective active and reactive power balance

```math
\begin{aligned}
& Pg_t \le Pg^\text{max}\\
& Pg^\text{min} \le Pg_t \le ActivePowerTimeSeriesParameter_t \\
& Pg_t - u_t Pg^\text{max} \le 0 \\
& Pg_t - u_t Pg^\text{min} \ge 0 \\
& Qg_t - u_t Qg^\text{max} \le 0 \\
Expand Down
26 changes: 26 additions & 0 deletions src/core/parameters.jl
Original file line number Diff line number Diff line change
Expand Up @@ -283,15 +283,41 @@ struct RequirementTimeSeriesParameter <: TimeSeriesParameter end

abstract type VariableValueParameter <: RightHandSideParameter end

"""
Parameter to define variable upper bound
"""
struct UpperBoundValueParameter <: VariableValueParameter end

"""
Parameter to define variable lower bound
"""
struct LowerBoundValueParameter <: VariableValueParameter end

"""
Parameter to define unit commitment status
"""
struct OnStatusParameter <: VariableValueParameter end

"""
Parameter to define energy limit
"""
struct EnergyLimitParameter <: VariableValueParameter end

# TODO: Check if EnergyTargetParameter and EnergyLimitParameter should be removed
# This affects feedforwards that can break if not defined
"""
Parameter to define energy storage target
"""
struct EnergyTargetParameter <: VariableValueParameter end

claytonpbarrows marked this conversation as resolved.
Show resolved Hide resolved
"""
Parameter to define fixed value
"""
struct FixValueParameter <: VariableValueParameter end

"""
Parameter to define cost function coefficient
"""
struct CostFunctionParameter <: ObjectiveFunctionParameter end

abstract type AuxVariableValueParameter <: RightHandSideParameter end
Expand Down
Loading