invest.gms 2.44 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
Juha Kiviluoma's avatar
Juha Kiviluoma committed
26
    q_resDemandLargestInfeedUnit
27

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

    // Energy Transfer
    q_transfer
    q_transferRightwardLimit
    q_transferLeftwardLimit
    q_resTransferLimitRightward
    q_resTransferLimitLeftward
66
67
    q_reserveProvisionRightward
    q_reserveProvisionLeftward
68
69
70
71
72
73
74
75
76

    // State Variables
    q_stateSlack
    q_stateUpwardLimit
    q_stateDownwardLimit
    q_boundStateMaxDiff
    q_boundCyclic

    // Policy
77
78
    q_inertiaMin
    q_instantaneousShareMax
79
    q_constrainedOnlineMultiUnit
80
    q_capacityMargin
Niina Helistö's avatar
Niina Helistö committed
81
    q_constrainedCapMultiUnit
82
83
84
    q_emissioncap
    q_energyShareMax
    q_energyShareMin
85

86
87
$ifthen exist '%input_dir%/invest_additional_constraints.gms'
   $$include '%input_dir%/invest_additional_constraints.gms'      // Declare additional constraints from the input data
88
$endif
89
/;