Skip to content

Commit

Permalink
add some docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigomha committed Dec 26, 2023
1 parent 5dfdbb9 commit 8147125
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/core/auxiliary_variables.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,14 @@ end
get_entry_type(::AuxVarKey{T, U}) where {T <: AuxVariableType, U <: PSY.Component} = T
get_component_type(::AuxVarKey{T, U}) where {T <: AuxVariableType, U <: PSY.Component} = U

"""
Auxiliary Variable for Thermal Generation Models to keep track of time elapsed on
"""
struct TimeDurationOn <: AuxVariableType end

"""
Auxiliary Variable for Thermal Generation Models to keep track of time elapsed off
"""
struct TimeDurationOff <: AuxVariableType end

"""
Expand Down
56 changes: 56 additions & 0 deletions src/core/variables.jl
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,25 @@ Docs abbreviation: ``Pg^{out}``
"""
struct ActivePowerOutVariable <: VariableType end

"""
Struct to dispatch the creation of Hot Start Variable for Thermal units with temperature considerations
Docs abbreviation: TODO
"""
struct HotStartVariable <: VariableType end

"""
Struct to dispatch the creation of Warm Start Variable for Thermal units with temperature considerations
Docs abbreviation: TODO
"""
struct WarmStartVariable <: VariableType end

"""
Struct to dispatch the creation of Cold Start Variable for Thermal units with temperature considerations
Docs abbreviation: TODO
"""
struct ColdStartVariable <: VariableType end

"""
Expand Down Expand Up @@ -104,8 +119,18 @@ struct ActivePowerReserveVariable <: VariableType end

struct ServiceRequirementVariable <: VariableType end

"""
Struct to dispatch the creation of Binary Start Variables
Docs abbreviation: TODO
"""
struct StartVariable <: VariableType end

"""
Struct to dispatch the creation of Binary Stop Variables
Docs abbreviation: TODO
"""
struct StopVariable <: VariableType end

struct SteadyStateFrequencyDeviation <: VariableType end
Expand All @@ -128,8 +153,18 @@ struct SystemBalanceSlackDown <: VariableType end

struct ReserveRequirementSlack <: VariableType end

"""
Struct to dispatch the creation of Voltage Magnitude Variables for AC formulations
Docs abbreviation: TODO
"""
struct VoltageMagnitude <: VariableType end

"""
Struct to dispatch the creation of Voltage Angle Variables for AC/DC formulations
Docs abbreviation: TODO
"""
struct VoltageAngle <: VariableType end

"""
Expand Down Expand Up @@ -170,12 +205,33 @@ Docs abbreviation: ``\\overleftarrow{Q}``
"""
struct FlowReactivePowerToFromVariable <: VariableType end

"""
Struct to dispatch the creation of Phase Shifters Variables
Docs abbreviation: TODO
"""
struct PhaseShifterAngle <: VariableType end

# Necessary as a work around for HVDCTwoTerminal models with losses
"""
Struct to dispatch the creation of HVDC Losses Auxiliary Variables
Docs abbreviation: TODO
"""
struct HVDCLosses <: VariableType end

"""
Struct to dispatch the creation of HVDC Flow Direction Auxiliary Variables
Docs abbreviation: TODO
"""
struct HVDCFlowDirectionVariable <: VariableType end

"""
Struct to dispatch the creation of piecewise linear cost variables for objective function
Docs abbreviation: TODO
"""
struct PieceWiseLinearCostVariable <: VariableType end

struct InterfaceFlowSlackUp <: VariableType end
Expand Down

0 comments on commit 8147125

Please sign in to comment.