storage¶
This module contains energy storage related functions. Symmetrical energy storage system is considered in this module. It means that the energy storage system has the same power capacity for charging and discharging.
Similar to the power discharging process, the charging power of storage technology \(e\) (\({\rm{power}}_{h,m,y,z,e}^{{c}}\)) is also limited by the existing installed capacity and technical minimum charging power (\({\underline{{\rm{POWER}}}}_{h,m,y,z,e}^{{c}}\)) as follows:
The charging generation (\({\rm{charge}}_{h,m,y,z,e}\)) and \({\rm{power}}_{h,m,y,z,e}^{c}\) need to meet the following formula:
Changes in stored electricity (\({\rm{storage}}_{h,m,y,z,e}^{\rm{energy}}\)) in two successive periods should be balanced by the charging (\({\rm{charge}}_{h,m,y,z,e}\)) and discharging (\({\rm{gen}}_{h,m,y,z,e}\)) processes:
In addition, the initial (when \(h=h_{ m{start}}\)) stored electricity (\({\rm{storage}}_{h=h_{\rm{start}},m,y,z,e}^{\rm{energy}}\)) of storage technology \(e\) in each month of each year can be calculated based on the proportion of the maximum storage capacity, as follows:
The instantaneous storage energy level (\({\rm{storage}}_{h,m,y,z,e}^{\rm{energy}}\)) of storage technology \(e\) should not exceed the maximum energy storage capacity, as follows:
- class prepshot._model.storage.AddStorageConstraints(model)[source]¶
Bases:
object
Energy storage class.
- Parameters
model (object) --
- __init__(model)[source]¶
Initialize the class and add constraints.
- Parameters
model (object) -- Model object depending on the solver.
- Return type
None
- end_energy_storage_rule(m, y, z, te)[source]¶
End energy storage.
- Parameters
m (int) -- Month.
y (int) -- Year.
z (str) -- Zone.
te (str) -- Technology.
- Returns
The constraint of the model.
- Return type
poi.ConstraintIndex
- energy_storage_balance_rule(h, m, y, z, te)[source]¶
Energy storage balance.
- Parameters
h (int) -- Hour.
m (int) -- Month.
y (int) -- Year.
z (str) -- Zone.
te (str) -- Technology.
- Returns
The constraint of the model.
- Return type
poi.ConstraintIndex
- energy_storage_gen_rule(h, m, y, z, te)[source]¶
Energy storage generation.
- Parameters
h (int) -- Hour.
m (int) -- Month.
y (int) -- Year.
z (str) -- Zone.
te (str) -- Technology.
- Returns
The constraint of the model.
- Return type
poi.ConstraintIndex