Skip to content

Commit

Permalink
Change the formulation in the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
GamzeUnlu95 committed Sep 23, 2021
1 parent aa63dff commit 425773b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions message_ix/model/MACRO/macro_core.gms
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,10 @@ SUM(node_active,
***
* Equation CAPITAL_CONSTRAINT
* ---------------------------------
* The capital constraint as in the first equation specifies the allocation of total production among current consumption :math:`{C}_{n, y}`, investment :math:`{I}_{n, y}` into building up capital
* stock and MESSAGE system costs :math:`{EC}_{n, y}`. The constraint assures that the net expenditures and savings cannot exceed the total income in a region. Investment excludes the sectors
* represented in MESSAGE and the MESSAGE system costs are derived from a previous MESSAGE model run inclduing all the energy systems costs, :math:`{COST NODAL}_{n, y}`, for a certain
* region considering the trade balance which is :math:`import cost_{n, y} - export cost_{n, y}`. The production function in MACRO only accounts for non-energy producing part of the
* The capital constraint as in the first equation below specifies the allocation of total production among current consumption :math:`{C}_{n, y}`, investment :math:`{I}_{n, y}` into building up capital
* stock and energy costs :math:`{EC}_{n, y}` approximated based on MESSAGE system costs :math:`{total\_cost}_{n, r}`. The constraint assures that the net expenditures and savings cannot exceed the total income in a region. Investment excludes the sectors
* represented in MESSAGE and the MESSAGE system costs :math:`{total\_cost}_{n, r}` are derived from a previous MESSAGE model run inclduing all the energy systems costs, :math:`{COST NODAL}_{n, y}`, for a certain
* region considering the trade balance which is :math:`import\_cost_{n, y} - export\_cost_{n, y}`. The production function in MACRO only accounts for non-energy producing part of the
* economy and the energy system is modeled seperately in MESSAGE. In addition, MACRO does not include the trade of normal goods. Therefore, the revenues from fuel or emission certificate
* trade should be sepertely added to the total regional income. This is assured by including the trade balance in the :math:`{EC}_{n, y}`. As described in :cite:`manne_buying_1992`,
* the first-order optimality conditions lead to the Ramsey rule for the optimal allocation of investment and consumption over time.
Expand All @@ -172,8 +172,8 @@ SUM(node_active,
* decrease of consumption and investment in the certain year as well as by the reduction in capacity to invest and grow the economy for later years.
*
* .. math:: Y_{n, y} = C_{n, y} + I_{n, y} + {EC}_{n, y} \qquad \forall{n, y}
* .. math:: EC_{n, y} = COST NODAL_{n, y} + import cost_{r, y} - export cost_{n, y} \qquad \forall{n, y}
* .. math:: GDP_{n, y} = C_{n, y} + I_{n, y} + COST NODAL_{n, y} \qquad \forall{n, y}
* .. math:: {total\_cost}_{n, r} = COST NODAL_{n, y} + import\_cost_{r, y} - export\_cost_{n, y} \qquad \forall{n, y}
* .. math:: GDP_{n, y} = C_{n, y} + I_{n, y} + {EC}_{n, y} - (import\_cost_{r, y} - export\_cost_{n, y}) \qquad \forall{n, y}
*
***

Expand Down

0 comments on commit 425773b

Please sign in to comment.