From 91786f06f57b10da14e1fad1fab1658a59f1f06c Mon Sep 17 00:00:00 2001 From: rodrigomha Date: Wed, 30 Oct 2024 15:44:26 -0700 Subject: [PATCH] remove writing of interpolation vars --- src/core/variables.jl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/core/variables.jl b/src/core/variables.jl index 6d215c754..59ce7906d 100644 --- a/src/core/variables.jl +++ b/src/core/variables.jl @@ -466,6 +466,16 @@ should_write_resulting_value(::Type{PieceWiseLinearCostVariable}) = false should_write_resulting_value(::Type{PieceWiseLinearBlockOffer}) = false should_write_resulting_value(::Type{HVDCPiecewiseLossVariable}) = false should_write_resulting_value(::Type{HVDCPiecewiseBinaryLossVariable}) = false +should_write_resulting_value(::Type{InterpolationSquaredVoltageVariableFrom}) = false +should_write_resulting_value(::Type{InterpolationSquaredVoltageVariableTo}) = false +should_write_resulting_value(::Type{InterpolationBinarySquaredVoltageVariableFrom}) = false +should_write_resulting_value(::Type{InterpolationBinarySquaredVoltageVariableTo}) = false +should_write_resulting_value(::Type{InterpolationSquaredCurrentVariable}) = false +should_write_resulting_value(::Type{InterpolationBinarySquaredCurrentVariable}) = false +should_write_resulting_value(::Type{InterpolationSquaredBilinearVariableFrom}) = false +should_write_resulting_value(::Type{InterpolationSquaredBilinearVariableTo}) = false +should_write_resulting_value(::Type{InterpolationBinarySquaredBilinearVariableFrom}) = false +should_write_resulting_value(::Type{InterpolationBinarySquaredBilinearVariableTo}) = false convert_result_to_natural_units(::Type{ActivePowerVariable}) = true convert_result_to_natural_units(::Type{PowerAboveMinimumVariable}) = true convert_result_to_natural_units(::Type{ActivePowerInVariable}) = true