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)[源代码]¶
基类:
objectEnergy storage class.
- 参数
model (object) --
- __init__(model)[源代码]¶
Initialize the class and add constraints.
- 参数
model (object) -- Model object depending on the solver.
- 返回类型
None
- end_energy_storage_rule(m, y, z, te)[源代码]¶
End energy storage.
- 参数
m (int) -- Month.
y (int) -- Year.
z (str) -- Zone.
te (str) -- Technology.
- 返回
The constraint of the model.
- 返回类型
poi.ConstraintIndex
- energy_storage_balance_rule(h, m, y, z, te)[源代码]¶
Energy storage balance.
- 参数
h (int) -- Hour.
m (int) -- Month.
y (int) -- Year.
z (str) -- Zone.
te (str) -- Technology.
- 返回
The constraint of the model.
- 返回类型
poi.ConstraintIndex
- energy_storage_gen_rule(h, m, y, z, te)[源代码]¶
Energy storage generation.
- 参数
h (int) -- Hour.
m (int) -- Month.
y (int) -- Year.
z (str) -- Zone.
te (str) -- Technology.
- 返回
The constraint of the model.
- 返回类型
poi.ConstraintIndex