Open kassroman opened 3 years ago
Hello, let me try. I updated the Class Diagram in the folder Docs. Firstly I used the structured program suitable_price_simulation.m to simulate the energy generation (Solar and Wind). Consumption is based on the variables in the begining of file (sorry, it is in portuguese). MEDIA_CONSUMO_SM is the mean consumption (kWh) monthly of a smart meter and SMART_METERS = number of smart meters in the system. Later we estimate how much the of the consumption will be generated by clean energy (wind and solar). The rest is supposed to be provided by other sources like hydroeletric.
So for each month you can use this file to simulate the wind and solar generation curves updated to the expected % of consumption to obtain a suitable price of energy for each hour (based on monthly consumption).
In the class Globals.m you can find simulation of the consumption and generation (based on the graphs). Also you find the function create_nodes that creates an object for each network device based on network topology (SmartMeter, LeafHub, IntermediateHub or RootHub). The function calcPrice firstly calculate how much energy consumption and generation (solar) each Smart Meter will send to a LeafHub, right after each LeafHub send the total to an IntermediateHub and later to the RootHub that calculate the price according the the suitable prices of clean and non-clean energy (inside RootHub->calcResultantIndex()). Right after the price is returned to each IntermediateHub, and later to each LeafHub, and later to each SmartMeter. We did not simulate the network condictions like noise, distance, etc. We just estimate the total delay of calculating the price based on the topology (how clusters affected the delay).
The class Transmission.m is used to calculate this delay (from one device to another according to the technology) based on mean values obtained from other works. Also is computed the delay of secure needed (ECC signature and verify) of packet transmission according to key size. The mean delay of LTE was used from LTE-Sim simulator and the ZigBee mean delay was obtained from a physical and link layer 802.15.4 model (these were certainly not accurate).
The structured network_simulation.m is used to simulate the network communication according to the number of devices (Smart Meters, Clusters(LeafHub) and Intermediate Hubs), the quantity of energy generation/consumption for each month and later calculate the price to obtain the final price curves based on the suitable_price. Also this file simulates an attack in some meters or in a LeafHub, so we basically used a monthly mean history of consumption/generation to in case of communication fault be used.
Hope this helps. See you.
Hi Italo, Many thanks for such an elaborate discussion, and I appreciate that very much. I have gone through with the whole discussion and I got what you have conveyed My main concern was the "system topology", that you have considered while designing the state-estimation algorithm. Therefore, I was confused a little bit. I don't see any image in Docs, depicting the topology of the overall system that you have considered. It would be very nice if you could provide an image of the system configuration. Thanking you!
When do you say system topology you mean the network communication topology or electrical grid topology? Because in this work we were concerned just about the network and secure communication and later how to maintain the price after an attack.
This is a conceptual model, where in HAN, BAN and IAN (our focus) we can use different technologies. Example:
Hi Sir.
Thank you very much for sending images, which will help me to visualize the system in general, while running your code. However, I meant the electrical system topology- Buses, loads, generators, etc. This would help me to visualize the bus model of the system (for example, see the attached image).
Once again thank you very much for your kind support.
Hi Sir, Thanks for the code. Is there any document to understand the system/codes that you have put in this repository? Please, it would be helpful for me. Thanking you!