You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/database.rst
+75Lines changed: 75 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,6 +106,81 @@ recommend that you populate input tables in the following order:
106
106
* limit_tech_output_split
107
107
108
108
109
+
---------------------------------------
110
+
Group Region and Technology Constraints
111
+
---------------------------------------
112
+
113
+
Some constraint tables support summation over groups of regions or technologies. Note that each row in these tables will still only create one constraint, but that constraint will be a summation over the defined group. For example, the ``limit_capacity`` table will limit the total summed capacity of all technologies in the technology group (if used) and over all the regions in the region group (if used). Consider behaviour carefully. For example, the ``limit_annual_capacity_factor`` table will constrain the total summed capacity factor of the group, which would allow for varying capacity factors of processes within that group as long as the limit is met in aggregate.
114
+
115
+
**Group Regions:**
116
+
117
+
For the supported tables, the ``region`` column can be populated with either a single region (e.g., ``"east"``), a subset of regions delineated with a ``+`` (e.g., ``"east+west"``), or ``"global"`` to indicate summation over all model regions.
118
+
119
+
.. important::
120
+
When grouped or global region constraints are used with exchange technologies,
121
+
exchange flows are only counted if the relevant exchange-technology keys are
122
+
explicitly included in the region string used by the constraint row.
123
+
Exchange-technology keys are directional and use a hyphen to separate the
124
+
two regions (e.g., ``east-west`` and ``west-east`` are distinct keys).
125
+
126
+
For example, to constrain activity across the ``east`` and ``west`` regions
127
+
including all exchange flows between them, the region string should be:
128
+
129
+
.. code-block:: none
130
+
131
+
east+east-west+west-east+west
132
+
133
+
If exchange keys are omitted (e.g., using only ``east+west``), flows through
134
+
exchange technologies between those regions will *not* be included in the
135
+
constrained summation.
136
+
137
+
Supported tables:
138
+
139
+
* limit_annual_capacity_factor
140
+
* limit_seasonal_capacity_factor
141
+
* limit_resource
142
+
* limit_activity
143
+
* limit_capacity
144
+
* limit_new_capacity
145
+
* limit_activity_share
146
+
* limit_capacity_share
147
+
* limit_new_capacity_share
148
+
* limit_emission
149
+
* limit_growth_capacity
150
+
* limit_growth_new_capacity
151
+
* limit_growth_new_capacity_delta
152
+
* limit_degrowth_capacity
153
+
* limit_degrowth_new_capacity
154
+
* limit_degrowth_new_capacity_delta
155
+
156
+
**Technology Groups:**
157
+
158
+
For the supported tables, the following columns accept either technologies or technology groups, over which the constraint is summed. Technology groups are defined in the ``tech_group`` and ``tech_group_member`` tables.
159
+
160
+
* tech
161
+
* tech_or_group
162
+
* sub_group
163
+
* super_group
164
+
165
+
Supported tables:
166
+
167
+
* limit_annual_capacity_factor
168
+
* limit_seasonal_capacity_factor
169
+
* limit_resource
170
+
* limit_activity
171
+
* limit_capacity
172
+
* limit_new_capacity
173
+
* limit_activity_share
174
+
* limit_capacity_share
175
+
* limit_new_capacity_share
176
+
* limit_growth_capacity
177
+
* limit_growth_new_capacity
178
+
* limit_growth_new_capacity_delta
179
+
* limit_degrowth_capacity
180
+
* limit_degrowth_new_capacity
181
+
* limit_degrowth_new_capacity_delta
182
+
183
+
109
184
For help getting started, consider using the ``temoa tutorial``
110
185
command to generate a template project or inspect the example SQL file at
111
186
``temoa/tutorial_assets/utopia.sql``. To begin building your own database file, use
0 commit comments