Skip to content

Commit

Permalink
remove additional params
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigomha committed Oct 10, 2023
1 parent b878bdf commit edd5080
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
9 changes: 1 addition & 8 deletions src/core/parameters.jl
Original file line number Diff line number Diff line change
Expand Up @@ -299,12 +299,8 @@ Parameter to define unit commitment status
struct OnStatusParameter <: VariableValueParameter end

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

"""
Expand All @@ -324,6 +320,3 @@ convert_result_to_natural_units(::Type{ReactivePowerTimeSeriesParameter}) = true
convert_result_to_natural_units(::Type{RequirementTimeSeriesParameter}) = true
convert_result_to_natural_units(::Type{UpperBoundValueParameter}) = true
convert_result_to_natural_units(::Type{LowerBoundValueParameter}) = true
# TODO: Check if EnergyLimitParameter and EnergyTargetParameter should be removed
convert_result_to_natural_units(::Type{EnergyLimitParameter}) = true
convert_result_to_natural_units(::Type{EnergyTargetParameter}) = true
1 change: 0 additions & 1 deletion src/feedforward/feedforward_constraints.jl
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,6 @@ function add_feedforward_constraints!(
return
end


@doc raw"""
add_feedforward_constraints(
container::OptimizationContainer,
Expand Down
1 change: 0 additions & 1 deletion src/feedforward/feedforwards.jl
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ function has_semicontinuous_feedforward(
return has_semicontinuous_feedforward(model, ActivePowerVariable)
end


"""
Fixes a Variable or Parameter Value in the model. Is the only Feed Forward that can be used
with a Parameter or a Variable as the affected value.
Expand Down

0 comments on commit edd5080

Please sign in to comment.