Closed Weather-etc closed 1 year ago
I also notice that some paths in sumocfg files do not exist in your project. How can I get them? For example, the value "../../MoSTScenario/scenario/in/most.net.xml" of net-file in "short.sumocfg" file.
Hello, I used Eclipse on Windows, but it doesn't really matter, as you run the relevant file by simply
python filename.py As for your other question, the files referred to are from LuST project https://github.com/lcodeca/LuSTScenario and MoST project https://github.com/lcodeca/MoSTScenario. You are right, I will indeed run it to verify it again, and then add this explanation to my project. If you have any further questions, feel free to ask.
Itamar Cohen, Ph.D.
Post-doc fellow, Telecommunication Networks Group, Politecnico di Torino
https://www.telematica.polito.it/member/itamar-cohen/
On Mon, Aug 8, 2022 at 9:21 AM Weather-Forecast @.***> wrote:
Hello, I am viewing your code recently and I wonder what is the IDE you use to run the code. May you recommend it to me? Thanks a lot.
— Reply to this email directly, view it on GitHub https://github.com/ofanan/SFC_migration/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADGUOG4GK3LDG3OLANGDWK3VYCYORANCNFSM554BJYDA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
--
Itamar Cohen, www.ofanan.com
“The only thing necessary for the triumph of evil is for good men to do nothing” (Edmund Burke)
Sorry to disturb but when I run "SFC_mig_simulator.py", my IDE shows that an important file is missing and its path is "../res/poa2cell_files/Lux.post.antloc_256cells.poa2cell". May you tell me its URL? Thanks a lot for your patience.
Hello, In general, the simulation uses some files from /res that I, unfortunately, cannot upload to GitHub, because they're too large. The .poa2cell files, however, are small, so I uploaded them here https://github.com/ofanan/SFC_migration/tree/master/poa2cell_files. To run SFC_mig_simulator.py you need also .poa file. This is the file detailing the assignment of each vehicle to PoA at each time unit (in practice, to save space, after the first time period, the file details only the vehicles that moved, w.r.t. the previous time period). The .poa file you like depends upon the concrete scenario (city, hour, time-period length etc.) you would like to simulate. To generate .poa file, you should run Traci_runner.py, which generates a .loc file. The .loc file details the location of each vehicle at each time period. Then, you should run loc2poa_c.py, to convert the .loc file to .poa file. This 2-steps process is intended to allow re-using the same .loc file for various purposes. That is, once you have the vehicles' locations, you may like to assume that the area is covered by an arbitrary partition to 4^ k cells, for some integer k that you choose; or by the real-world antennas location in the simulated city. Each such choice results in a different associations of vehicles to PoAs, namely, in a distinct .poa file. Hope this helps,
On Tue, Aug 9, 2022 at 9:50 AM Weather-Forecast @.***> wrote:
Sorry to disturb but when I run "SFC_mig_simulator.py", my IDE shows that an important file is missing and its path is "../res/poa2cell_files/Lux.post.antloc_256cells.poa2cell". May you tell me its URL? Thanks a lot for your patience.
— Reply to this email directly, view it on GitHub https://github.com/ofanan/SFC_migration/issues/1#issuecomment-1209036208, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADGUOG4ZSDXKQLOH2EP64SLVYIEVVANCNFSM554BJYDA . You are receiving this because you commented.Message ID: @.***>
--
Itamar Cohen, www.ofanan.com
“The only thing necessary for the triumph of evil is for good men to do nothing” (Edmund Burke)
Hello there, This is just to inform you that now I've moved the poa2cell files (and also the antenna_loc files) into their correct place (under the /res/ directory) in the SFC_migration project https://github.com/ofanan/SFC_migration/tree/master/res. I also slightly improved the project's homepage, which now overviews the main code files and files' formats. Enjoy :),
On Tue, Aug 9, 2022 at 8:23 PM Itamar cohen @.***> wrote:
Hello, In general, the simulation uses some files from /res that I, unfortunately, cannot upload to GitHub, because they're too large. The .poa2cell files, however, are small, so I uploaded them here https://github.com/ofanan/SFC_migration/tree/master/poa2cell_files. To run SFC_mig_simulator.py you need also .poa file. This is the file detailing the assignment of each vehicle to PoA at each time unit (in practice, to save space, after the first time period, the file details only the vehicles that moved, w.r.t. the previous time period). The .poa file you like depends upon the concrete scenario (city, hour, time-period length etc.) you would like to simulate. To generate .poa file, you should run Traci_runner.py, which generates a .loc file. The .loc file details the location of each vehicle at each time period. Then, you should run loc2poa_c.py, to convert the .loc file to .poa file. This 2-steps process is intended to allow re-using the same .loc file for various purposes. That is, once you have the vehicles' locations, you may like to assume that the area is covered by an arbitrary partition to 4^ k cells, for some integer k that you choose; or by the real-world antennas location in the simulated city. Each such choice results in a different associations of vehicles to PoAs, namely, in a distinct .poa file. Hope this helps,
On Tue, Aug 9, 2022 at 9:50 AM Weather-Forecast @.***> wrote:
Sorry to disturb but when I run "SFC_mig_simulator.py", my IDE shows that an important file is missing and its path is "../res/poa2cell_files/Lux.post.antloc_256cells.poa2cell". May you tell me its URL? Thanks a lot for your patience.
— Reply to this email directly, view it on GitHub https://github.com/ofanan/SFC_migration/issues/1#issuecomment-1209036208, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADGUOG4ZSDXKQLOH2EP64SLVYIEVVANCNFSM554BJYDA . You are receiving this because you commented.Message ID: @.***>
--
Itamar Cohen, www.ofanan.com
“The only thing necessary for the triumph of evil is for good men to do nothing” (Edmund Burke)
--
Itamar Cohen, www.ofanan.com
“The only thing necessary for the triumph of evil is for good men to do nothing” (Edmund Burke)
Thanks. Really enjoyable :)
Hello there, This is just to inform you that now I've moved the poa2cell files (and also the antenna_loc files) into their correct place (under the /res/ directory) in the SFC_migration project https://github.com/ofanan/SFC_migration/tree/master/res. I also slightly improved the project's homepage, which now overviews the main code files and files' formats. Enjoy :), … On Tue, Aug 9, 2022 at 8:23 PM Itamar cohen @.> wrote: Hello, In general, the simulation uses some files from /res that I, unfortunately, cannot upload to GitHub, because they're too large. The .poa2cell files, however, are small, so I uploaded them here https://github.com/ofanan/SFC_migration/tree/master/poa2cell_files. To run SFC_mig_simulator.py you need also .poa file. This is the file detailing the assignment of each vehicle to PoA at each time unit (in practice, to save space, after the first time period, the file details only the vehicles that moved, w.r.t. the previous time period). The .poa file you like depends upon the concrete scenario (city, hour, time-period length etc.) you would like to simulate. To generate .poa file, you should run Traci_runner.py, which generates a .loc file. The .loc file details the location of each vehicle at each time period. Then, you should run loc2poa_c.py, to convert the .loc file to .poa file. This 2-steps process is intended to allow re-using the same .loc file for various purposes. That is, once you have the vehicles' locations, you may like to assume that the area is covered by an arbitrary partition to 4^ k cells, for some integer k that you choose; or by the real-world antennas location in the simulated city. Each such choice results in a different associations of vehicles to PoAs, namely, in a distinct .poa file. Hope this helps, On Tue, Aug 9, 2022 at 9:50 AM Weather-Forecast @.> wrote: > Sorry to disturb but when I run "SFC_mig_simulator.py", my IDE shows that > an important file is missing and its path > is "../res/poa2cell_files/Lux.post.antloc_256cells.poa2cell". > May you tell me its URL? > Thanks a lot for your patience. > > — > Reply to this email directly, view it on GitHub > <#1 (comment)>, > or unsubscribe > https://github.com/notifications/unsubscribe-auth/ADGUOG4ZSDXKQLOH2EP64SLVYIEVVANCNFSM554BJYDA > . > You are receiving this because you commented.Message ID: > @.**> > -- Itamar Cohen, www.ofanan.com “The only thing necessary for the triumph of evil is for good men to do nothing” (Edmund Burke) -- Itamar Cohen, www.ofanan.com “The only thing necessary for the triumph of evil is for good men to do nothing” (*Edmund Burke)
Sorry to disturb. May you send the files in /res to me by email or share it by google drive? My email is 2263704336wf@gmail.com Thanks.
Hi, The files are here: https://github.com/ofanan/SFC_migration/tree/master/res If you need additional files, please tell me what exactly you need. Best,
On Wed, Aug 31, 2022 at 4:43 PM Weather-Forecast @.***> wrote:
Sorry to disturb. May you send the files in /res to me by email or share it by google drive? My email is @.*** Thanks.
— Reply to this email directly, view it on GitHub https://github.com/ofanan/SFC_migration/issues/1#issuecomment-1232957799, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADGUOG4WY25BN3L5JEQXDELV35ORLANCNFSM554BJYDA . You are receiving this because you commented.Message ID: @.***>
--
Itamar Cohen, www.ofanan.com
“The only thing necessary for the triumph of evil is for good men to do nothing” (Edmund Burke)
Hello, I am viewing your code recently and I wonder what is the IDE you use to run the code. May you recommend it to me? Thanks a lot.