resultSymbols.inc 4.76 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$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

18
19
20
* =============================================================================
* --- Results Symbols Included in Output --------------------------------------
* =============================================================================
21

Erkka Rinne's avatar
Erkka Rinne committed
22
23
24
* --- Symbols related to the simulation setup ---------------------------------
t_realized = t

25
* --- Cost Result Symbols -----------------------------------------------------
26

27
28
// Total Objective Function
r_totalObj
29

Topi Rasku's avatar
Topi Rasku committed
30
// Unit Operational Cost Components
Topi Rasku's avatar
Topi Rasku committed
31
r_gnuVOMCost
Topi Rasku's avatar
Topi Rasku committed
32
r_gnuTotalVOMCost
Topi Rasku's avatar
Topi Rasku committed
33
r_uFuelEmissionCost
Topi Rasku's avatar
Topi Rasku committed
34
r_uTotalFuelEmissionCost
Topi Rasku's avatar
Topi Rasku committed
35
r_uStartupCost
Topi Rasku's avatar
Topi Rasku committed
36
r_uTotalStartupCost
Topi Rasku's avatar
Topi Rasku committed
37
38
39

// Nodal Cost Components
r_gnStateSlackCost
Topi Rasku's avatar
Topi Rasku committed
40
r_gnTotalStateSlackCost
Topi Rasku's avatar
Topi Rasku committed
41
r_gnStorageValueChange
42
43
r_gnnVariableTransCost
r_gnnTotalVariableTransCost
Topi Rasku's avatar
Topi Rasku committed
44

Niina Helistö's avatar
Niina Helistö committed
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
// Investment and Fixed Operation and Maintenance Cost Components
r_gnuFOMCost
r_gnuUnitInvestmentCost
r_gnnLinkInvestmentCost

// Realized System Operating Costs
r_gnRealizedOperatingCost
r_gnTotalRealizedOperatingCost
r_gnTotalRealizedOperatingCostShare
r_gnTotalRealizedNetOperatingCost
r_gTotalRealizedOperatingCost
r_gTotalRealizedNetOperatingCost
r_totalRealizedOperatingCost
r_totalRealizedNetOperatingCost

60
61
62
// Realized System Costs
r_gnTotalRealizedCost
r_gnTotalRealizedCostShare
63
r_gnTotalRealizedNetCost
64
r_gTotalRealizedCost
65
r_gTotalRealizedNetCost
66
r_totalRealizedCost
67
r_totalRealizedNetCost
68
69
70
71
72

* --- Node Result Symbols -----------------------------------------------------

// State variable results, required for model structure !!!!!!!!!!!!!!!!!!!!!!!
r_state
73
74
// State variable slack results
r_stateSlack
75
76

// Energy transfer and spill variable results
77
r_transfer
78
79
r_transferRightward
r_transferLeftward
80
r_spill
81
82

// Interesting node related results
83
r_balanceMarginal
84
85
86
87
r_gnnTotalTransfer
r_gnTotalSpill
r_gnTotalSpillShare
r_gTotalSpill
88

89
* --- Energy Generation/Consumption Result Symbols ----------------------------
90

91
92
93
94
95
96
// Results required for model structure !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
r_gen

// Fuel use results
r_fuelUse
r_genFuel
Juha Kiviluoma's avatar
Juha Kiviluoma committed
97
r_genUnittype
98
r_gnTotalGenFuel
99
r_gnTotalGenFuelShare
100
101
r_gTotalGenFuel
r_totalGenFuel
102
103
104
105
106
107
108
109
110
111
112
113
114

// Interesting energy generation results
r_gnuTotalGen
r_gnuTotalGenShare
r_gnTotalGen
r_gnTotalGenShare
r_gTotalGen

// Approximate utilization rates
r_gnuUtilizationRate

// Interesting energy consumption results
r_gnConsumption
115
r_gnTotalConsumption
116
r_gnTotalConsumptionShare
117
r_gTotalConsumption
118
119
120
121
122
123
124
125
126

* --- Unit Online State Result Symbols ----------------------------------------

// Online results required for model structure !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
r_online
r_startup
r_shutdown

// Interesting unit online results
127
128
r_uTotalOnline
r_uTotalOnlinePerUnit
129

130
131
132
133
// Interesting unit startup and shutdown results
r_uTotalStartup
r_uTotalShutdown

134
135
136
137
138
139
140
141
142
143
144
* --- Emissions Results -----------------------------------------------

// Unit level emissions
r_emissions

// Emission sums
r_nuTotalEmissions
r_nTotalEmissions
r_uTotalEmissions
r_totalEmissions

145
146
147
148
* --- Reserve Provision Result Symbols ----------------------------------------

// Reserve provision results required for model structure !!!!!!!!!!!!!!!!!!!!!
r_reserve
149
r_reserve2Reserve
150
151
152
153
154
r_resTransferRightward
r_resTransferLeftward

// Interesting reserve results
r_resDemandMarginal
155
156
157
r_gnuTotalReserve
r_gnuTotalReserveShare
r_groupTotalReserve
158
r_resDemandLargestInfeedUnit
159

160
161
162
* --- Investment Result Symbols -----------------------------------------------

// Interesting investment results
Niina Helistö's avatar
Niina Helistö committed
163
164
r_invest
r_investTransfer
165

166
167
168
169
170
* --- Sum results for groups --------------------------------------------------

// gnTotalgen in units that belong to gnuGroups over the simulation
r_gnTotalGenGnuGroup

171
172
173
174
* --- Dummy and Diagnostic Variable Result Symbols ----------------------------

// Results regarding solution feasibility
r_qGen
175
176
r_gnTotalqGen
r_gTotalqGen
177
r_qResDemand
178
r_qResMissing
179
r_groupTotalqResDemand
180
r_qCapacity
181
r_solveStatus
182

183
// Diagnostics
184
$iftheni.diag '%diag%' == yes
185
186
d_cop
d_eff
187
d_capacityFactor
Topi Rasku's avatar
Topi Rasku committed
188
d_nodeState
189
d_influx
190
d_state
191
$endif.diag
192

193
194
195
// Metadata and settings
metadata
mSettings
196

197
// OLD RESULTS, mostly here for inspiration
198
199
200
*r_elec_type
*r_demand
*r_onlineCap
201
202
203
204
205
206
*r_heat
*r_capacity_type
*r_elecConsumption
*r_storageValue
*r_storageControl
*r_elecPrice
207
*r_cost