From 378b4d3806a48dca1f77af1b5121274b637de901 Mon Sep 17 00:00:00 2001 From: noracato Date: Fri, 5 Jul 2024 14:08:03 +0200 Subject: [PATCH] Loosen constraint on hybid offshore converter --- app/models/qernel/merit_facade/hybrid_offshore_adapter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/qernel/merit_facade/hybrid_offshore_adapter.rb b/app/models/qernel/merit_facade/hybrid_offshore_adapter.rb index caf35cbe8..778d9b390 100644 --- a/app/models/qernel/merit_facade/hybrid_offshore_adapter.rb +++ b/app/models/qernel/merit_facade/hybrid_offshore_adapter.rb @@ -136,7 +136,7 @@ def constrain(point, amount) to_market = [amount - converted, @output_input_capacity].min @curtailed[point] = amount - converted - to_market - @converter_constraint_curve[point] = [to_market, @input_output_capacity].max + @converter_constraint_curve[point] = to_market + @input_output_capacity to_market end