investment

This module is used to determine investment-related constraints. The model computes the retirement of each technology and transmission line with these considerations:

  • The historical capacity of the technology and transmission line is based on its capacity ratio.

  • Each planning and scheduling period is based on the existing capacity.

The existing capacity for each year, in each zone, for each technology, is as follows:

\[{\rm{cap}}_{y,z,e}^{\rm{existingtech}}= \sum_{{\rm{age}}=1}^{{{T}}_e -(y-y_{\rm{start}})}{{\rm{CAP}}}_{{\rm{age}},z,e}^{\rm{inittech}} +\sum_{y_{\rm{pre}}={\max}(y_{\rm{start}}, y-{{T}}_e)}^{y} {{\rm{cap}}_{y_{\rm{pre}},z,e}^{\rm{invtech}}}\quad\forall y,z,e\]

The existing capacity of the transmission lines for each year, from \(z_{\rm{from}}\) zone to \(z_{\rm{to}}\)-th zone, is as follows:

\[{\rm{cap}}_{y,z_{\rm{from}},z_{\rm{to}}}^{\rm{existingline}}= \sum_{{\rm{age}}=1}^{{T}_{\rm{line}} -(y-y_{\rm{start}})}{{\rm{CAP}}}_{{\rm{age}},z_{\rm{from}}, z_{\rm{to}}}^{\rm{initline}} +\sum_{y_{\rm{pre}}={\max}(y_{\rm{start}}, y-{{T}}_{\rm{line}})}^{y} {{\rm{cap}}_{y_{\rm{pre}}, z_{\rm{from}},z_{\rm{to}}}^{\rm{invline}}}\quad\forall y,z_{\rm{from}}\neq z_{\rm{to}}\]
class prepshot._model.investment.AddInvestmentConstraints(model)[source]

Bases: object

Add constraints for investment in the model.

Parameters

model (object) --

__init__(model)[source]

Initialize the class and add constraints.

Parameters

model (object) -- Model object depending on the solver.

Return type

None

new_tech_low_bound_rule(y, z, te)[source]

New investment technology lower bound.

Parameters
  • y (int) -- Year.

  • z (str) -- Zone.

  • te (str) -- Technology.

Returns

The constraint of the model.

Return type

poi.ConstraintIndex

new_tech_up_bound_rule(y, z, te)[source]

New investment technology upper bound in specific year and zone.

Parameters
  • y (int) -- Year.

  • z (str) -- Zone.

  • te (str) -- Technology.

Returns

The constraint of the model.

Return type

poi.ConstraintIndex

remaining_capacity_rule(y, z, te)[source]

Remaining capacity of initial technology due to lifetime restrictions. Where in modeled year y, the available technology consists of the following.

  1. The remaining in-service installed capacity from the initial technology.

  2. The remaining in-service installed capacity from newly built technology in the previous modelled years.

Parameters
  • y (int) -- Planned year.

  • z (str) -- Zone.

  • te (str) -- technology.

Returns

The expression of the model.

Return type

poi.ExprBuilder

tech_lifetime_rule(y, z, te)[source]

Caculation of remaining technology capacity based on lifetime constraints.

Parameters
  • y (int) -- Year.

  • z (str) -- Zone.

  • te (str) -- Technology.

Returns

The expression of the model.

Return type

poi.ExprBuilder

tech_up_bound_rule(y, z, te)[source]

Allowed capacity of commercial operation technology is less than or equal to the predefined upper bound.

Parameters
  • y (int) -- Year.

  • z (str) -- Zone.

  • te (str) -- Technology.

Returns

The constraint of the model.

Return type

poi.ConstraintIndex