From edd5080694a853c67f17d3a995917ea77d4fb7c5 Mon Sep 17 00:00:00 2001 From: rodrigomha Date: Tue, 10 Oct 2023 10:57:20 -0700 Subject: [PATCH] remove additional params --- src/core/parameters.jl | 9 +-------- src/feedforward/feedforward_constraints.jl | 1 - src/feedforward/feedforwards.jl | 1 - 3 files changed, 1 insertion(+), 10 deletions(-) diff --git a/src/core/parameters.jl b/src/core/parameters.jl index ea6baa0fa9..d14c113c26 100644 --- a/src/core/parameters.jl +++ b/src/core/parameters.jl @@ -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 """ @@ -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 diff --git a/src/feedforward/feedforward_constraints.jl b/src/feedforward/feedforward_constraints.jl index 62e8d704c2..7fd5ff8fb3 100644 --- a/src/feedforward/feedforward_constraints.jl +++ b/src/feedforward/feedforward_constraints.jl @@ -422,7 +422,6 @@ function add_feedforward_constraints!( return end - @doc raw""" add_feedforward_constraints( container::OptimizationContainer, diff --git a/src/feedforward/feedforwards.jl b/src/feedforward/feedforwards.jl index 25885c1b2d..5a503a15b0 100644 --- a/src/feedforward/feedforwards.jl +++ b/src/feedforward/feedforwards.jl @@ -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.