Commit b19561d7 authored by Niina Helistö's avatar Niina Helistö
Browse files

Removing q_minCons (see issue #77).

parent f8142f47
...@@ -82,7 +82,7 @@ Model schedule / ...@@ -82,7 +82,7 @@ Model schedule /
* q_emissioncap * q_emissioncap
* q_energyShareMax * q_energyShareMax
* q_energyShareMin * q_energyShareMin
q_minCons
$ifthen exist '%input_dir%/schedule_additional_constraints.gms' $ifthen exist '%input_dir%/schedule_additional_constraints.gms'
$$include '%input_dir%/schedule_additional_constraints.gms' // Declare additional constraints from the input data $$include '%input_dir%/schedule_additional_constraints.gms' // Declare additional constraints from the input data
$endif $endif
......
...@@ -112,5 +112,4 @@ equations ...@@ -112,5 +112,4 @@ equations
q_emissioncap(group, emission) "Limit for emissions" q_emissioncap(group, emission) "Limit for emissions"
q_energyShareMax(group) "Maximum energy share of generation and import from a group of units" q_energyShareMax(group) "Maximum energy share of generation and import from a group of units"
q_energyShareMin(group) "Minimum energy share of generation and import from a group of units" q_energyShareMin(group) "Minimum energy share of generation and import from a group of units"
q_minCons(group, grid, node, unit, s, f, t) "Minimum consumption of storage unit when charging"
; ;
...@@ -2687,41 +2687,6 @@ q_energyShareMin(group) ...@@ -2687,41 +2687,6 @@ q_energyShareMin(group)
0 0
; ;
*--- Minimum Consumption ----------------------------------------------------------
q_minCons(group, gnu(grid, node, unit), sft(s, f, t))${ p_groupPolicy(group, 'minCons')
and p_gnu(grid, node, unit, 'unitSizeCons')
and gnuGroup(grid, node, unit, group)
and gnuft(grid, node, unit, f, t)
} ..
// Consumption of units
- sum(gnu_input(grid, node, unit)${ p_gnu(grid, node, unit, 'unitSizeCons')
and gnuGroup(grid, node, unit, group)
},
[
+ v_gen(grid, node, unit, s, f, t)
]
/[
+ p_gnu(grid, node, unit, 'unitSizeCons')
]
) // END sum(gnu)
// unit online state * minimum consumption
+ sum(gnuGroup(grid, node, unit, group)${ p_gnu(grid, node, unit, 'unitSizeCons')
},
- p_groupPolicy(group, 'minCons')
* [
+ v_online_LP(unit, s, f+df_central(f,t), t)${uft_onlineLP(unit, f, t)}
+ v_online_MIP(unit, s, f+df_central(f,t), t)${uft_onlineMIP(unit, f, t)}
]
)
=G=
0
;
$ifthen exist '%input_dir%/additional_constraints.inc' $ifthen exist '%input_dir%/additional_constraints.inc'
$$include '%input_dir%/additional_constraints.inc' $$include '%input_dir%/additional_constraints.inc'
$endif $endif
...@@ -122,7 +122,6 @@ Option clear = q_constrainedCapMultiUnit; ...@@ -122,7 +122,6 @@ Option clear = q_constrainedCapMultiUnit;
Option clear = q_emissioncap; Option clear = q_emissioncap;
Option clear = q_energyShareMax; Option clear = q_energyShareMax;
Option clear = q_energyShareMin; Option clear = q_energyShareMin;
Option clear = q_minCons;
* --- Temporary Time Series --------------------------------------------------- * --- Temporary Time Series ---------------------------------------------------
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment