Realtime Hybrid Offline-Online Power Loss Analysis-Based Simulink Simulation
Realtime Hybrid Offline-Online Power Loss Analysis-Based Simulink Simulation
Corresponding Author:
Riny Sulistyowati
Department of Electrical Engineering, Faculty of Electrical Engineering and Information Technology
Adhi Tama Institute of Technology
Arief Rahman Hakim 100, Sukolilo 60117, Surabaya, Indonesia
Email: [email protected]
1. INTRODUCTION
Electrical energy is a form of energy that has a vital role in human daily activities. The rate of
population growth that continues to increase is directly proportional to the increase in the need for energy
capacity every year. This raises new problems for electricity providers who are required to continue to
improve the continuity of good electrical power supply services. As a provider of electricity, it is not only
generated but must be distributed to consumers. The distribution of electrical energy that starts from the
electricity provider or generator and then continues with the transmission system and ends with the usage by
consumers must be efficient, effective, and reliable [1].
The trend of the current power generation system is the formation of an interconnection system
between one power plant and another to increase the reliability of the electric power system. The reliability of
a power plant or electricity provider can be easily determined, namely by whether there are frequent
blackouts or power outages around the power plant or substation. The way to prevent blackouts or voltage
drops is to monitor every point of the power transmission line, of course, this supervision must be in real-
time or every time and every second. In line with technological advances, equipment in the distribution and
transmission network undergoes modernization and automation. There is a tool that can monitor and monitor
every second accurately, namely the phasor measurement unit (PMU). This PMU will be able to monitor the
power, current, and voltage flowing in the distribution system [2], [3].
In this study, an online and offline monitoring system simulation was designed with the data
generated after determining the number of PMUs needed. Which will be simulated using the MATLAB
Simulink program and using Arduino. So, it is expected to show the value of voltage, power, and the current
flowing in the system. The location object that will be used in Bendul Merisi Feeder consists of 11 buses and
contributed to supplying electric power to South Surabaya Zone. The power distribution flow will be
analyzed and the result of the analysis will be concluded and explained.
Δ𝑉 is the difference between the voltage at sending end and the voltage at receiving end. Following
the voltage standard determined by PLN, network designs were made so that the drop voltage at the receiving
end is 10%. With voltage at sending end (𝑉𝑘 ) and voltage at receiving end (𝑉𝑇 ), voltage drop redefined by (2).
Due to conductor resistance, the voltage at receiving end (𝑉𝑟 = 𝑉𝑇 ) will be smaller than the voltage
at sending end (𝑉𝑠 = 𝑉𝑘 ), so voltage drop is also the difference between voltage at sending end and voltage at
receiving end. Voltage drop relatively called voltage regulation 𝑉𝑅 and defined by (3).
𝑉𝑆 −𝑉𝑟
𝑉𝑅 = × 100% (3)
𝑉𝑟
Int J Appl Power Eng, Vol. 12, No. 1, March 2023: 49-61
Int J Appl Power Eng ISSN: 2252-8792 51
From the displayed single line diagram then get an equation to form a BIBC matrix, by using the
Kirchoff Law of current (Kirchoff Current Law).
𝐵1 = 𝐼2 + 𝐼3 + 𝐼4 + 𝐼5 (4)
𝐵2 = 𝐼3 + 𝐼4 + 𝐼5 + 𝐼6 (5)
𝐵3 = 𝐼4 + 𝐼5 (6)
𝐵4 = 𝐼5 (7)
Realtime hybrid offline-online power loss analysis-based Simulink simulation (Riny Sulistyowati)
52 ISSN: 2252-8792
𝐵5 = 𝐼6 (8)
Number 1 expresses the relation between the current and channel while number 0 express no
relation between both. By simplification will be received (14).
𝑉2 = 𝑉1 − 𝐵1 × 𝑍12 (11)
[Δ𝑉] = [𝐵𝐶𝐵𝑉][𝐵𝐼𝐵𝐶][𝐼]
Matrix [Δ𝑉] is to determine the voltage drop from the source bus to the load bus in the system. By
receiving the BIBC matrix, the BCBV matrix and Δ𝑉 will be able to calculate the voltage value in each bus.
The equation to calculate the voltage value in each bus is as (19).
3. RESEARCH METHOD
3.1. System block diagram
Block diagram describing the operation of the monitoring system and online-offline system using
Simulink and Arduino. Figure 3 shows the system block diagram. Hybrid online-offline system in Bendul
Merisi Feeder distribution network consists of five main blocks, such as feeder data which is received voltage
and current. Analog signal input is used to represent the current and voltage value of data. Arduino is utilized
to read analog signals resulting from 5 V voltage input which will be input in the designed simulation.
Simulink simulation, result, feeder data sample received after detecting PMU used will be simulated in
Simulink. Offline data is received from feeder data previously designed and simulated with ETAP, then the
next data, online data, is received by sensor input of hardware. Both data will be simulated with Simulink.
Int J Appl Power Eng, Vol. 12, No. 1, March 2023: 49-61
Int J Appl Power Eng ISSN: 2252-8792 53
Data will be processed by ETAP to receive values of system power flow. With ETAP design also to be
received values of current, voltage, active power, and reactive power detected in each bus are adjusted to single
line diagram. The values will become the database source of the simulation. Figure 5 shows the test flowchart.
Int J Appl Power Eng, Vol. 12, No. 1, March 2023: 49-61
Int J Appl Power Eng ISSN: 2252-8792 55
Realtime hybrid offline-online power loss analysis-based Simulink simulation (Riny Sulistyowati)
56 ISSN: 2252-8792
Table 1. Peak load value based on measurement from Bendul Merisi Feeder
Bus Line Impedance Bus S (kW) V (Volt) I (Ampere) cos 𝜑 sin 𝜑
Z12 0.07861+0.02931i 2 745 19913 21.4 0.8 0.6
Z23 0.05553+0.02071i 3 208 19910 6 0.8 0.6
Z24 0.19424+0.07244i 4 496 19869 14.2 0.8 0.6
Z45 0.09788+0.03650i 5 483 19832 13.8 0.8 0.6
Z56 0.23836+0.08889i 6 319 19801 9.1 0.8 0.6
Z67 0.39681+0.14724i 7 689 19793 19.7 0.8 0.6
Z68 0.2776+0.10355i 8 290 19783 8.3 0.8 0.6
Z89 0.04869+0.01816i 9 455 19768 13 0.8 0.6
Z910 0.13845+0.05163 10 350 19760 10 0.8 0.6
Z1011 0.27005+0.10071i 11 363 19755 10.4 0.8 0.6
𝑃 = √3 𝑉𝐼 cos 𝜑 (23)
𝑄 = √3 𝑉𝐼 sin 𝜑 (24)
By the rules of PLN, it is not allowed to connect the load to bus 1, since bus 1 becomes the
connector between Line from the main substation to the load feeder. Therefore, loads started and connected
to bus 2, so the load calculation started from bus 2 to bus 11 on Bendul Merisi Feeder transmission system.
From the described formula above, here is the calculation result of active power and reactive power.
Example: bus 2
Voltage value can be changed to pu unit by knowing the measured percentage value (%volt) and then divided
by 100%, as the following formula:
and with the formula above, the voltage data is calculated in Table 2.
Int J Appl Power Eng, Vol. 12, No. 1, March 2023: 49-61
Int J Appl Power Eng ISSN: 2252-8792 57
The next step is Table 2 to enable ETAP simulation to get voltage and current values that flow in
each bus of Bendul Merisi Feeder and also active power (P) and reactive power (Q). The simulation result of
ETAP will be utilized to calculate total active power and reactive power in each cluster. Table 3 shows the
ETAP simulation running result of voltage and current also active and reactive power from received data
after load value input in each bus.
From Table 3 is the bus member data of each cluster with the calculation of total active power (P)
and reactive power (Q) on each cluster. P and Q value data is shown in the following Table 4 of bus member
data in each cluster:
− Cluster 1
On first cluster, bus members including bus 2, bus 3, and bus 4. Here is the calculation:
𝑄𝑐𝑙𝑢𝑠𝑡𝑒𝑟1 = 𝑄𝑏𝑢𝑠2 + 𝑄𝑏𝑢𝑠3 + 𝑄𝑏𝑢𝑠4 = 443 𝑘𝑉𝑎𝑟 + 124 𝑘𝑉𝑎𝑟 + 294 𝑘𝑉𝑎𝑟 = 851 𝑘𝑉𝑎𝑟
− Cluster 2
On second cluster, bus members include bus 5, bus 6, bus 7, and bus 8. Here is the calculation:
𝑃𝑐𝑙𝑢𝑠𝑡𝑒𝑟2 = 𝑃𝑏𝑢𝑠5 + 𝑃𝑏𝑢𝑠6 + 𝑃𝑏𝑢𝑠7 + 𝑃𝑏𝑢𝑠8 = 380 𝑘𝑊 + 250 𝑘𝑊 + 540 𝑘𝑊 + 227 𝑘𝑊 = 1137 𝑘𝑊
𝑄𝑐𝑙𝑢𝑠𝑡𝑒𝑟2 = 𝑄𝑏𝑢𝑠5 + 𝑄𝑏𝑢𝑠6 + 𝑄𝑏𝑢𝑠7 + 𝑄𝑏𝑢𝑠8 = 285 𝑘𝑉𝑎𝑟 + 188 𝑘𝑉𝑎𝑟 + 405 𝑘𝑉𝑎𝑟 + 170 𝑘𝑉𝑎𝑟
= 1048 𝑘𝑉𝑎𝑟
− Cluster 3
On third cluster, bus members including bus 9, bus 10, and bus 11. Here is the calculation:
Realtime hybrid offline-online power loss analysis-based Simulink simulation (Riny Sulistyowati)
58 ISSN: 2252-8792
Int J Appl Power Eng, Vol. 12, No. 1, March 2023: 49-61
Int J Appl Power Eng ISSN: 2252-8792 59
calculation was utilized to determine loss voltage while the transmission process happened. Here is the drop
voltage calculation, voltage relative fall, and voltage phasor fall of each bus:
𝑉𝑆 − 𝑉𝑟 𝑋
𝑉𝑘 = 𝑉𝑆 ; 𝑉𝑇 = 𝑉𝑟 ; Δ𝑉 = 𝑉𝑘 − 𝑉𝑟 ; 𝑉𝑅 = × 100%; 𝜃𝑚𝑎𝑘𝑠 = tan−1 ; 𝑉𝑑 = 𝐼11 (𝑅 cos 𝜃 + 𝑋 sin 𝜃)
𝑉𝑟 𝑅
From calculation based on the formula above, the voltage drop value determined in the following Table 7.
Table 6. Error result of accuracy comparison between power triangle calculation with simulation
Bus Load (kVA) Power triangle calculation
Active power %Error Reactive power %Error
Calculation Simulation Calculation Simulation
2 745 589775 590102.187 0.055 442331 442576.66 0.056
3 208 165333 169801.703 2.703 123999 127351.281 2.703
4 496 390841 389748.125 0.280 292861 292311.094 0.188
5 483 378775 378734.47 0.011 284082 284050.844 0.011
6 319 249382 249053.984 0.132 187036 186790.484 0.131
7 689 539652 538952.437 0.130 404739 404214.344 0.130
8 290 227251 225342.922 0.840 170438 169007.203 0.839
9 455 355666 355734.219 0.019 266749 266800.687 0.019
10 350 273478 273817.219 0.124 205109 205362.906 0.124
11 363 284346 284502.75 0.055 213259 213377.078 0.055
Average %Error 0.435 Average %Error 0.426
Table 7. Voltage drop, regulation of voltage drop, and phasor voltage drop data
Bus Load Voltage Voltage drop Voltage drop regulation Voltage drop phasor
(kVA) (V) (V) (%) (V)
2 745 19913 55 0.276 1.793
3 208 19910 3 0.0151 0.35562
4 496 19869 44 0.2214 2.94366
5 483 19832 37 0.1866 1.441
6 319 19801 31 0.1565 2.3147
7 689 19793 8 0.0404 8.34
8 290 19783 18 0.09098 2.46
9 455 19768 15 0.076 0.6747
10 350 19760 8 0.04047 1.477
11 363 19755 5 0.0253 2.997
Realtime hybrid offline-online power loss analysis-based Simulink simulation (Riny Sulistyowati)
60 ISSN: 2252-8792
5. CONCLUSION
From the system designing that has already been done, obtained a few conclusions average results of
analysis result difference for active power simulation between calculation with simulation is 0.435%, while
for reactive power between calculation with simulation is 0.426%. For average analysis, the result is different
from the comparison of ETAP result with simulation result for active power received value of 0.618% while
for reactive power 0.556%.
Voltage drops occurred in the distribution line of Bendul Merisi Feeder have a 224 volt total value.
Following the PLN voltage standard, voltage drops have a maximum of 10% and at the Bendul Merisi Feeder
distribution system, a 20 kV voltage drop recorded with a 1.12% value so the voltage drop is still fulfilled the
criteria. At active power and reactive power data retrieval time separated from each bus to 6 hours, where the
average power received by all buss minimum is 112137.94 VA at 9.00 AM (GMT+7) and the average power
received by all bus maximum is 115129.05 VA at 13.00 (GMT+07).
REFERENCES
[1] M. B. Shahid, M. O. Shahid, H. Tariq, and S. Saleem, “Design and Development of An Efficient Power Theft Detection and
Prevention System through Consumer Load Profiling,” 1st International Conference on Electrical, Communication and Computer
Engineering, ICECCE 2019, 2019, doi: 10.1109/ICECCE47252.2019.8940644.
[2] S. G. Kumar, “Power Theft Detection,” International Journal of Advance Engineering and Research Development, vol. 4, no. 02,
pp. 1279–1282, 2017, doi: 10.21090/ijaerd.72177.
[3] N. Mohammad, A. Barua, and M. A. Arafat, “A smart prepaid energy metering system to control electricity theft,” Proceedings of
2013 International Conference on Power, Energy and Control, ICPEC 2013, pp. 562–565, 2013, doi:
10.1109/ICPEC.2013.6527721.
[4] Z. A. Khan, M. Adil, N. Javaid, M. N. Saqib, M. Shafiq, and J. G. Choi, “Electricity theft detection using supervised learning
techniques on smart meter data,” Sustainability (Switzerland), vol. 12, no. 19, pp. 1–25, 2020, doi: 10.3390/su12198023.
[5] M. U. Hashmi and J. G. Priolkar, “Anti-theft energy metering for smart electrical distribution system,” 2015 International
Conference on Industrial Instrumentation and Control, ICIC 2015, pp. 1424–1428, 2015, doi: 10.1109/IIC.2015.7150972.
[6] Z. Hussain, S. Memon, R. Shah, Z. A. Bhutto, and M. Aljawarneh, “Methods and Techniques of Electricity Thieving in Pakistan,”
Journal of Power and Energy Engineering, vol. 04, no. 09, pp. 1–10, 2016, doi: 10.4236/jpee.2016.49001.
[7] C. S. S. K. Ellenki, S. G. Reddy, “An advanced smart energy metering system for developing countries,” International Journal Of
Scientific Research And Education, vol. 2, no. 1, pp. 2-258||, 2014.
[8] K. Dineshkumar, P. Ramanathan, and S. Ramasamy, “Development of ARM processor based electricity theft control system
using GSM network,” IEEE International Conference on Circuit, Power and Computing Technologies, ICCPCT 2015, 2015, doi:
10.1109/ICCPCT.2015.7159401.
[9] S. S. S. R. Depuru, L. Wang, V. Devabhaktuni, and N. Gudi, “Measures and setbacks for controlling electricity theft,” North
American Power Symposium 2010, NAPS 2010, 2010, doi: 10.1109/NAPS.2010.5619966.
[10] V. K. Jaiswal, H. K. Singh, and K. Singh, “Arduino GSM based power theft detection and energy metering system,” Proceedings
of the 5th International Conference on Communication and Electronics Systems, ICCES 2020, pp. 448–452, 2020, doi:
10.1109/ICCES48766.2020.09138085.
[11] N. Tamkittikhun, T. Tantidham, and P. Intakot, “AC power meter design based on Arduino: Multichannel single-phase approach,”
ICSEC 2015 - 19th International Computer Science and Engineering Conference: Hybrid Cloud Computing: A New Approach for
Big Data Era, 2016, doi: 10.1109/ICSEC.2015.7401422.
[12] N. M. Natalinova, O. V. Galtseva, and E. A. Moldovanova, “Express evaluation of measurement uncertainty digital power meter
in LabVIEW,” 2016 3rd International Conference on Electrical, Electronics, Computer Engineering and their Applications,
EECEA 2016, pp. 52–56, 2016, doi: 10.1109/EECEA.2016.7470765.
[13] M. Kassas, “Modeling and simulation of residential HVAC systems energy consumption,” Procedia Computer Science, vol. 52,
no. 1, pp. 754–763, 2015, doi: 10.1016/j.procs.2015.05.123.
[14] B. O. Omijeh, “Design and Simulation of Single Phase Intelligent Prepaid Energy Meter .,” vol. 4, no. 1, pp. 17–30, 2013.
[15] R. Morello, C. De Capua, G. Fulco, and S. C. Mukhopadhyay, “A smart power meter to monitor energy flow in smart grids: The
role of advanced sensing and iot in the electric grid of the future,” IEEE Sensors Journal, vol. 17, no. 23, pp. 7828–7837, 2017,
doi: 10.1109/JSEN.2017.2760014.
[16] N. H. Azmi, N. A. Mat Leh, and N. A. Kamaruzaman, “Modeling of energy meter using MATLAB/Simulink,” 2018 9th IEEE
Control and System Graduate Research Colloquium, ICSGRC 2018 - Proceeding, pp. 75–80, 2019, doi:
10.1109/ICSGRC.2018.8657635.
[17] R. Sulistyowati, R. S. Wibowo, D. C. Riawan, and M. Ashari, “Optimum placement of measurement devices on distribution
networks using integer linear k-means clustering method,” Przeglad Elektrotechniczny, vol. 96, no. 10, pp. 124–128, 2020, doi:
10.15199/48.2020.10.23.
[18] R. Sulistyowati, D. C. Riawan, and M. Ashari, “Clustering based optimal sizing and placement of PV-DG using neural network,”
Advanced Science Letters, vol. 23, no. 3, pp. 2373–2375, 2017, doi: 10.1166/asl.2017.8680.
[19] T. Tan et al., “Renewable energy harvesting and absorbing via multi-scale metamaterial systems for Internet of things,” Applied
Energy, vol. 254, p. 113717, Nov. 2019, doi: 10.1016/j.apenergy.2019.113717.
[20] M. O. Qays et al., “An Intelligent Controlling Method for Battery Lifetime Increment Using State of Charge Estimation in PV-
Battery Hybrid System,” Applied Sciences, vol. 10, no. 24, p. 8799, Dec. 2020, doi: 10.3390/app10248799.
[21] A. Kumar S., S. G., and K. Kannan A., “IoT Based Wind/Solar Hybird Inverter,” International Journal of Advances in Applied
Sciences, vol. 5, no. 3, p. 137, Sep. 2016, doi: 10.11591/ijaas.v5.i3.pp137-140.
[22] A. Samreen, P. Sathish, and N. A. Manga, “Low Cost IoT Based Emission Monitoring System for Thermal Power Plants,” in
2019 Innovations in Power and Advanced Computing Technologies (i-PACT), Mar. 2019, pp. 1–5. doi: 10.1109/i-
PACT44901.2019.8960194.
Int J Appl Power Eng, Vol. 12, No. 1, March 2023: 49-61
Int J Appl Power Eng ISSN: 2252-8792 61
[23] B. Demircan and E. Akyüz, “IoT and Cloud Based Remote Monitoring of Wind Turbine,” Celal Bayar Üniversitesi Fen Bilimleri
Dergisi, vol. 15, no. 4, pp. 337–342, Dec. 2019, doi: 10.18466/cbayarfbe.540812.
[24] S. Mishra, “A simple algorithm for unbalanced radial distribution system load flow,” IEEE Region 10 Annual International
Conference, Proceedings/TENCON, 2008, doi: 10.1109/TENCON.2008.4766498.
[25] T. J. Hao, “A Network-Topology-Based Three Phase Load Flow for Distribution Systems,” Proceedings of the National Science
Council, Republic of China, Part A: Physical Science and Engineering, vol. 24, no. 4, pp. 259–264, 2000.
BIOGRAPHIES OF AUTHORS
Ganesha Fikri Prawidya has been at Adhi Tama Institute of Technology, Surabaya
since 2014. He received his S.T (Bachelor of Engineering) from Adhi Tama Institute of
Technology in 2017. He has contributed to research along with a few people and published a few
publications on his area of expertise. He can be contacted at email: [email protected].
Realtime hybrid offline-online power loss analysis-based Simulink simulation (Riny Sulistyowati)