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
Standardise column names in the documentation (#768)
* Standardise column names in the documentation
* Update example models
* Fix unit tests and small changes to documentation
* Update tutorial models
* Update notebooks
* Update release notes
* Update error messages
@@ -23,35 +23,35 @@ The columns have the following meaning:
23
23
24
24
.. _name:
25
25
26
-
``Name``
26
+
``name``
27
27
Name shared by a retrofit and new-capacity agent pair.
28
28
29
-
``Type``
29
+
``type``
30
30
One of **New** or **Retrofit**. **New** and **Retrofit** agents make up a pair with a given
31
-
:ref:`name <Name>`. The demand is split into two, with one part coming from
31
+
:ref:`name <name>`. The demand is split into two, with one part coming from
32
32
decommissioned assets, and the other coming from everything else. "Retrofit" agents
33
33
invest only to make up for decommissioned assets. They are often limited in the
34
-
technologies they can consider (by :ref:`SearchRule <SearchRule>`). **New** agents
34
+
technologies they can consider (by :ref:`search_rule <search_rule>`). **New** agents
35
35
invest on the rest of the demand, and can often consider more general sets of
36
36
technologies. If only **New** agents are included, they will also invest to make up for
37
37
decommissioned assets, but the end mix might be different than using a specialised
38
38
**Retrofit** agent for that.
39
39
**Note: Retrofit agents will be deprecated in a future release.**
40
40
41
-
``AgentShare``
41
+
``agent_share``
42
42
Name used to assign a fraction of existing capacity to the agent in the :ref:`inputs-technodata` file.
43
43
If using "New" and "Retrofit" agents, you should create a column with the name of each "Retrofit" agent share (e.g. "Agent1Retro", "Agent2Retro" etc.) in the :ref:`inputs-technodata` file,
44
44
with values summing to 1 for each technology.
45
45
If only using "New" agents, you should create a column with the name of each "New" agent share in the :ref:`inputs-technodata` file,
46
46
with values summing to 1 for each technology.
47
47
See documentation for the :ref:`inputs-technodata` file for more details.
48
48
49
-
``RegionName``
49
+
``region``
50
50
Region where an agent operates.
51
51
52
52
.. py:currentmodule:: muse.objectives
53
53
54
-
``Objective1``
54
+
``objective1``
55
55
Objective that an agent will try and maximize or minimize during investment.
56
56
This objective should be one registered with
57
57
:py:func:`@register_objective <register_objective>`. The following objectives are
@@ -91,32 +91,32 @@ The columns have the following meaning:
91
91
- :py:func:`equivalent_annual_cost <equivalent_annual_cost>`: Annualized form of the
92
92
net present value. Aliased to "EAC" for simplicity.
93
93
94
-
The weight associated with this objective can be changed using :ref:`ObjData1
95
-
<ObjData1>`. Whether the objective should be minimized or maximized depends on
96
-
:ref:`Objsort1 <Objsort1>`. Multiple objectives are combined using the
97
-
:ref:`DecisionMethod <DecisionMethod>`
94
+
The weight associated with this objective can be changed using ``obj_data1``.
95
+
Whether the objective should be minimized or maximized depends on
96
+
``obj_sort1``. Multiple objectives are combined using the
97
+
:ref:`decision method <decision_method>`
98
98
99
99
100
-
``ObjData1``
100
+
``obj_data1``
101
101
A weight associated with the objective.
102
-
Whether it is used will depend in large part on the :ref:`decision method <DecisionMethod>`.
102
+
Whether it is used will depend in large part on the :ref:`decision method <decision_method>`.
103
103
104
104
105
-
``Objsort1``
105
+
``obj_sort1``
106
106
Determines whether the objective is maximized or minimized.
107
107
This should be set to "True" for minimization and "False" for maximisation.
108
108
109
109
Additional objectives
110
110
For certain decision methods you can use more than one objective.
111
-
In this case, additional objectives can be specified with additional columns (e.g. ``Objective2``, ``ObjData2``, ``Objsort2`` etc.)
112
-
For example, when using the weighted sum decision method, the ``ObjDataX`` column for each objective defines the weight of the objective in the weighted sum calculation.
111
+
In this case, additional objectives can be specified with additional columns (e.g. ``objective2``, ``obj_data2``, ``obj_sort2`` etc.)
112
+
For example, when using the weighted sum decision method, the ``obj_dataX`` column for each objective defines the weight of the objective in the weighted sum calculation.
113
113
114
114
115
115
.. py:currentmodule:: muse.filters
116
116
117
-
.. _SearchRule:
117
+
.. _search_rule:
118
118
119
-
``SearchRule``
119
+
``search_rule``
120
120
The search rule allows users to par down the search space of technologies to those an
121
121
agent is likely to consider.
122
122
The search rule is any function with a given signature, and registered with MUSE via
@@ -146,16 +146,15 @@ Additional objectives
146
146
- :py:func:`maturity <maturity>`: Only allows technologies that have achieved a given
147
147
market share.
148
148
149
-
- :py:func:`spend_limit <spend_limit>`: Only allows technologies with a unit capital cost (cap_par in
150
-
:ref:`inputs-technodata`) lower than the spend limit.
149
+
- :py:func:`spend_limit <spend_limit>`: Only allows technologies with a unit capital cost (cap_par in :ref:`inputs-technodata`) lower than the spend limit.
151
150
152
151
Filters can be combined by chaining them with "->". For example, "all->maturity->spend_limit".
153
152
154
153
.. py:currentmodule:: muse.decisions
155
154
156
-
.. _DecisionMethod:
155
+
.. _decision_method:
157
156
158
-
``DecisionMethod``
157
+
``decision_method``
159
158
Decision methods reduce multiple objectives into a single scalar objective per
160
159
replacement technology. They allow combining several objectives into a single metric
161
160
through which replacement technologies can be ranked.
@@ -186,21 +185,21 @@ Additional objectives
186
185
The functions allow for any number of objectives. However, the format described here
187
186
allows only for three.
188
187
189
-
``Quantity``
188
+
``quantity``
190
189
Represents the fraction of new demand that is assigned to the agent
191
190
(e.g. if 0.2, 20% of new demand in each year will be assigned to the agent).
192
191
Must sum to 1 across all "New" agents.
193
192
When using both "Retrofit" agents and "New" agents, this only applies to the "New" agents.
194
193
195
194
Additional optional columns
196
-
Certain columns may also be required when using certain search rules. These are:
195
+
Certain columns may also be required when using certain search rules. These are:
197
196
198
-
``MaturityThreshold``
199
-
Only applies when using the :py:func:`maturity <muse.filters.maturity>` search rule.
200
-
Allows agents to only consider technologies that have achieved a certain market share
201
-
(e.g. if 0.5, the agent will only invest in technologies that have a current market share of 50% or more).
197
+
``maturity_threshold``
198
+
Only applies when using the :py:func:`maturity <muse.filters.maturity>` search rule.
199
+
Allows agents to only consider technologies that have achieved a certain market share
200
+
(e.g. if 0.5, the agent will only invest in technologies that have a current market share of 50% or more).
202
201
203
-
``SpendLimit``
204
-
Only applies when using the :py:func:`spend_limit <muse.filters.spend_limit>` search rule.
205
-
Allows agents to only consider technologies with a unit capital cost (`cap_par`) lower than the spend limit.
206
-
(e.g. if 10, the agent will only invest in technologies with a `cap_par` of 10 or lower, as listed in the :ref:`inputs-technodata` file).
202
+
``spend_limit``
203
+
Only applies when using the :py:func:`spend_limit <muse.filters.spend_limit>` search rule.
204
+
Allows agents to only consider technologies with a unit capital cost (`cap_par`) lower than the spend limit.
205
+
(e.g. if 10, the agent will only invest in technologies with a `cap_par` of 10 or lower, as listed in the :ref:`inputs-technodata` file).
This is the sector name in which these parameters apply to.
74
74
75
-
``FunctionType``
75
+
``function_type``
76
76
This is the function type you would like to MUSE to use. MUSE allows these to be:
77
77
78
78
- Exponential
@@ -85,10 +85,10 @@ An example file is shown below:
85
85
86
86
Your own functions can be created using the `@register_regression` hook, from the `regressions.py` file.
87
87
88
-
``Coeff``
88
+
``coeff``
89
89
This is the coefficient for the respective function type. These are explicitly defined within the `regressions.py` file, as they differ between functions.
90
90
91
-
``RegionName``
91
+
``region``
92
92
This is the region in which these parameters apply to.
93
93
94
94
Commodities (one column per commodity)
@@ -103,7 +103,7 @@ In this file, you are able to split the energy service proportionally by timesli
0 commit comments