invest.gms 2.69 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$ontext
This file is part of Backbone.

Backbone is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Backbone is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with Backbone.  If not, see <http://www.gnu.org/licenses/>.
$offtext

* =============================================================================
* --- Invest Model Equations --------------------------------------------------
* =============================================================================

Model invest /
    q_obj
    q_balance
    q_resDemand
26
27
28
29
    q_resDemandLargestInfeedUnit // Use with extra caution if there are several sub-units
    q_rateOfChangeOfFrequencyUnit // Use with extra caution if there are several sub-units
    q_rateOfChangeOfFrequencyTransfer
    q_resDemandLargestInfeedTransfer
30

Niina Helistö's avatar
Niina Helistö committed
31
    // Unit Operation
32
    q_maxDownward
Niina Helistö's avatar
Niina Helistö committed
33
    q_maxDownwardOfflineReserve
34
    q_maxUpward
Niina Helistö's avatar
Niina Helistö committed
35
    q_maxUpwardOfflineReserve
36
    q_reserveProvision
Niina Helistö's avatar
Niina Helistö committed
37
    q_reserveProvisionOnline
38
39
40
41
42
43
    q_startshut
    q_startuptype
    q_onlineOnStartUp
    q_offlineAfterShutDown
    q_onlineLimit
    q_onlineMinUptime
44
    q_onlineCyclic
45
46
47
    q_genRamp
    q_rampUpLimit
    q_rampDownLimit
48
49
    q_rampUpDown
    q_rampSlack
50
51
52
53
    q_conversionDirectInputOutput
    q_conversionSOS2InputIntermediate
    q_conversionSOS2Constraint
    q_conversionSOS2IntermediateOutput
54
    q_conversionIncHR
55
    q_conversionIncHRMaxOutput
56
57
58
    q_conversionIncHRBounds
    q_conversionIncHR_help1
    q_conversionIncHR_help2
59
    q_unitEqualityConstraint
60
    q_unitGreaterThanConstraint
61
*    q_commodityUseLimit
62
63
64
65
66
67
68

    // Energy Transfer
    q_transfer
    q_transferRightwardLimit
    q_transferLeftwardLimit
    q_resTransferLimitRightward
    q_resTransferLimitLeftward
69
70
    q_reserveProvisionRightward
    q_reserveProvisionLeftward
71
72
73
74
75
76
77
78
79

    // State Variables
    q_stateSlack
    q_stateUpwardLimit
    q_stateDownwardLimit
    q_boundStateMaxDiff
    q_boundCyclic

    // Policy
80
81
    q_inertiaMin
    q_instantaneousShareMax
82
    q_constrainedOnlineMultiUnit
83
    q_capacityMargin
Niina Helistö's avatar
Niina Helistö committed
84
    q_constrainedCapMultiUnit
85
86
87
    q_emissioncap
    q_energyShareMax
    q_energyShareMin
88
    q_ReserveShareMax
89

90
91
$ifthen exist '%input_dir%/invest_additional_constraints.gms'
   $$include '%input_dir%/invest_additional_constraints.gms'      // Declare additional constraints from the input data
92
$endif
93
/;