transmission¶
This module contains transmission related functions. We simplify the
transmission of electricity as a transportation model.
The model computes the transmission loss for each hour, in each time period,
for each year, from
This model assumes that the transmitted power of each transmission line is only constrained by the transmission capacity between two zones as follows:
- class prepshot._model.transmission.AddTransmissionConstraints(model)[source]¶
Bases:
object
Add constraints for transmission lines while considering multiple zones.
- Parameters
model (object) --
- __init__(model)[source]¶
Initialize the class and add constraints.
- Parameters
model (object) -- Model object depending on the solver.
- Return type
None
- trans_balance_rule(h, m, y, z, z1)[source]¶
Transmission balance, i.e., the electricity imported from zone z1 to zone z should be equal to the electricity exported from zone z to zone z1 multiplied by the transmission line efficiency.
- Parameters
h (int) -- Hour.
m (int) -- Month.
y (int) -- Year.
z (str) -- Zone.
z1 (str) -- Zone.
- Returns
The constraint of the model.
- Return type
poi.ConstraintIndex
- trans_capacity_rule(y, z, z1)[source]¶
Transmission capacity equal to the sum of the existing capacity and the new capacity in previous planned years.
- Parameters
y (int) -- Year.
z (str) -- Zone.
z1 (str) -- Zone.
- Returns
The expression of the model.
- Return type
poi.ExprBuilder