Calculation of MMR in different situations
Settlement
period
Customer 1
Customer 2
Customer 3
Total
Demand
(kW)
Total
Generation
(kW)
Net
Demand
(kW)
Demand SmrWd
2(kW)
PV
Generation
SmrWd
4.5(kW)
Demand SmrWd
2.5(kW)
PV
Generation
SmrWd
4(kW)
Demand SmrWd
3(kW)
PV
Generation
SmrWd
3.5(kW)
0:00
1.2165
0
1.5215
0
1.8245
0
4.5625
0
4.5625
1:00
0.9365
0
1.171
0
1.405
0
3.5125
0
3.5125
2:00
0.8375
0
1.0475
0
1.257
0
3.142
0
3.142
3:00
0.7766
0
0.9705
0
1.1645
0
2.9115
0
2.9115
4:00
0.7605
0.023
0.9505
0.021
1.141
0.018
2.852
0.062
2.79
5:00
0.7850
0.143
0.983
0.127
1.1775
0.111
2.9455
0.381
2.5645
6:00
0.8945
0.332
1.118
0.295
1.3415
0.258
3.354
0.885
2.469
7:00
1.2290
1.037
1.5365
0.922
1.843
0.807
4.6085
2.766
1.8425
8:00
1.4665
1.542
1.8265
1.37
2.1995
1.199
5.4925
4.111
1.3815
9:00
1.5865
1.876
1.983
1.668
2.3795
1.459
5.949
5.003
0.946
10:00
1.5720
2.481
1.965
2.205
2.358
1.929
5.895
6.615
-0.72
11:00
1.5245
3.009
1.9055
2.675
2.358
2.341
5.788
8.025
-2.237
12:00
1.5505
3.124
1.9395
2.777
2.326
2.43
5.816
8.331
-2.515
13:00
1.5210
2.696
1.9015
2.396
2.2765
2.097
5.699
7.189
-1.49
14:00
1.4630
2.598
1.8285
2.309
2.1945
2.021
5.486
6.928
-1.442
15:00
1.4525
2.038
1.816
1.811
2.1785
1.585
5.447
5.434
0.013
16:00
1.5720
1.441
1.966
1.281
2.358
1.121
5.896
3.843
2.053
17:00
1.8540
0.929
2.0975
0.825
2.781
0.722
6.7325
2.476
4.2565
18:00
1.9860
0.374
2.482
0.333
2.979
0.291
7.447
0.998
6.449
19:00
1.9805
0.133
2.476
0.118
2.971
0.103
7.4275
0.354
7.0735
20:00
1.9085
0
2.3855
0
2.863
0
7.157
0
7.157
21:00
1.8910
0
2.3635
0
2.836
0
7.0905
0
7.0905
22:00
1.8730
0
2.3415
0
2.81
0
7.0245
0
7.0245
23:00
1.618
0
1.8845
0
2.427
0
5.9295
0
5.9295
从表格中选取一个时间段,就比如选了早上十点到十一点这个时间段。分别对表格中的,,,,进行定义(每个变量我都用英文和中文来解释了,在编译代码的时候请用英文来解释定义的变量);在定义完成后,带入公式计算,得出结果,然后将数值带入和公式中即可。
整个过程就是定义变量,带入公式计算,得出数值即可。
The results of the MMR formula at this point between 10 am and 11 am are shown below.
1)定义变量:
(Middle Market Price 中间市场价格)
(Price of electricity sold 出售电能的价格)
(The price of buying electricity 购买电能的价格)
(Electricity demand 电力需求量)
(Photovoltaic power generation 光伏发电量)
2)带入公式计算:
3)得出数值:
( Final cost of electricity purchased by the customer 用户购买电力的最终成本 )
(Final revenue from the sale of electricity by customers 用户出售电力的最终收入)
095
.
0
615
.
6
05
.
0
*
)
896
.
5
615
.
6
1
.
0
*
896
.
5
)
(
))
(
)
(
(
)
(
)
(
1
PV
1
1
1
2
AS
=
–
+
=
*
–
+
*
=
å
å
å
å
=
=
=
=
(
N
n
n
N
n
N
n
N
n
S
n
n
PV
P
P
n
t
G
P
t
D
t
G
P
t
D
t
P