v2xgithub / wilabv2xsim Goto Github PK
View Code? Open in Web Editor NEWV2X simulator
License: GNU General Public License v3.0
V2X simulator
License: GNU General Public License v3.0
Hello!
Thanks to provide this great project. I have some questions about Small scale fading in this code.
Is there any small scale fading in this code?
There are shadowing, pathloss. But I can't find the small scale fading.
Hi. I want to know what do the output files update delay and packet delay represent. How can their results be plotted? And how can we calculate latency?
The application parameter cbrActive
is set to True by default. If left as true, running other BR algorithms like the centralized algorithms will result in an error because the CBR code assumes stationManagement.sensingMatrixCV2X
exists, but this field is only populated when the BRAlgorithm is set to 18.
Would calculating CBR be meaningful for centralized algorithms as well? If we would like to support CBR when the BR algorithm is not 18, we need to populate the sensing matrix for all BR algorithm cases - i don't think this is unreasonable, UEs might be able to sense what channels are in use while also waiting for the command from control plane to decide which BR to use. Otherwise, we should disable CBR by default, and add an extra guard clause to make sure that CBR can only be active when the BR algorithm is 18.
Hi all,
I would like to ask about the integration of your Sim Environment in Carla.
It is clear that SUMO can run under Carla's hood. As I understand from wiki your tool runs with SUMO. What do you think about the integration of these in CARLA? Do you have any experience with it?
Thanks in advance
How the code calls other resource allocation Algorithms. For example,BRreassignmentRandom
Dear V2XSim Authors,
I have been studying this simulator and its related work for the past year for my own graduate studies. I was studying the MRD algorithm in the paper (by past contributors of this project)
[1] G. Cecchini, A. Bazzi, M. Menarini, B. M. Masini, and A. Zanella, “Maximum Reuse Distance Scheduling for Cellular-V2X Sidelink Mode 3,” in 2018 IEEE Globecom Workshops (GC Wkshps), Dec. 2018, pp. 1–6. doi: 10.1109/GLOCOMW.2018.8644360.
The psuedocode in page 3 shows |Su| = |S| -1
and |Fu| = |F| - 1
, to check if all the beacons are used:
But in the simulator code (
) , it just does what appears to be|Su| = |S|
(without the -1)
Was there a mistake in the pseudocode in the paper or is there a difference in notation?
Hello,
first of all thank you for providing the simulator. It is really great.
I have already played around with it a bit.
Now I have the following use case:
I would like to create some evaluations and graphs under IEEE 802.11p. This is simply adding a delay for different user counts (to simulate the runtime of the protocol).
My question now would be, where is the best place to add this custom delay to possibly integrate it directly into the simulation.
Would the packetDuration11p(Nbyte,Mode,NbitsHz,BwMHz,pWithLTEPHY)
function be the right place here?
Also, it would be interesting to know how I can output the end-to-end delay shown in the tutorial. Somehow I can only find the options for the Data Age (printDataAge
) as well as the Inter Packet Gap (printUpdateDelay
).
Is this maybe the printPacketDelay
setting?
Because this is somehow unclear to me... In the document it says:
"...between the generation of the packet and its effective transmission..."
But what I would assume to be the end-to-end delay is between the generation of the packet and its effective reception.
Thank you very much in advance.
Hi V2Xsim maintainers,
I am creating this issue to discuss the process of restoring full tracefile support. Let us use this thread to discuss what are the exact requirements needed for tracefiles to be considered "fully supported"
Based on my understanding from previous discussions, these are the requirements (please comment if there are more):
Based on my understanding of the codebase (and unfortunately, the use of big "store everything" structs like positionManagement
, stationManagement
), I will need some time to carefully note down what struct members are used by what functions, because I will definitely need to manipulate them when new vehicles enter and exit and simulation.
But before I begin on this significant work, could you please review all the PR's that I have opened so far? Because the PR's also changed the struct members, and I would like to start with a clean base with all the changes frozen. I will also need the existing dev-parallel-and-tracefile
branch merged because returning the output values and preventing printing to a main file is critical for writing automated integration tests that would help us to verify if the implementation of this feature will break other features.
Also, please give me edit permission on the wiki, so I can write tutorials on the features I have added to the simulator, subject to your review.
I want to get the same picture as figure 7 in Performance Analysis of Sidelink 5G-V2X Mode 2 Through an Open-Source Simulator.For example,I want to get the outcome when scs equals to 30 through Simulations.m,it will occur an error in matlab when I change scs 15 to 30.I have tried hard to figure it out what happens to the matlab code for several days but I still fail it.Do I also need to change values of parameters besides scs to make Simulations.m work without any error?I would appreciate a lot if you would give me the reply as soon as possible.
I hope this message finds you well. I am currently using a simulator and have encountered a question regarding its functionalities. Specifically, I am interested in implementing the blind retransmission feature. I was wondering if setting the variable 'cv2xNumberOfReplicasMax' would accomplish this. I noticed that this variable cannot exceed 3. Does this mean that it is not possible to implement more than three repetitions?
I would greatly appreciate it if you could provide me with some tips regarding this matter.
Thank you for your time and assistance.
I would appreciate if the function of the following could be clarified in the simulator:
In initLastPowerCV2X.m there is a variable called NTx which is the number of vehicles transmitting in the same subframe.
There is also a structure attribute called stationManagement.transmittingFusedLTE. I do not fully under the purpose of this attribute which appears to be a vector.
I initially interpreted this as a vector of the number of transmitting vehicles i.e. if NTx is 3 then transmittingFusedLTE is [1,1,1].
However when debugging I notice NTx is 1 (means only vehicle is transmitting) but yet transmittingFusedLTE is [1,1,1,1].
Can the meaning of the transmittingFusedLTE please be clarified?
Hello, I have a question about your simulation. I understand that NR CV2X's SB-SPS supports both dynamic and semi-persistent schemes. It appears that the simulator's BRAlgorithm is designed for the semi-persistent scheme, but is there any way to utilize the dynamic scheme within the current simulator?
thank you
mco_initiateParameters(fileCfg,appParams,phyParams,varargin{1}) does not exist in InitiateSpecificParameters.m function
Please update
Thanks
Regards
Phaneendra
I wanna simulate aperiodic traffic in the simulator, and I set the "generationIntervalAverageRandomPart" parameter with non-zero in the command line. Then I run the 'Simulations.m' and after running and I look up 'MainOut.xls'. However I find that the result changed little. I wanna ask if I need to change other parameters for simulating aperiodic traffic.
I would appreciate a lot if you would give me the reply as soon as possible.
Hello!
Thanks to provide this excellent project. I have some questions about IBE calculation in IBEcalculation.m.
Q1: Why P_RB_dBm = 0 in line 190? In TS 36.101(LTE) or TS 38.101(NR), P_RB means average transmitted power. Doesn't it need to correlate with the set transmit power?
Q2: Why need to subtract 30 from the last item in line 192 and line 194? There is no such operation in Table 6.5.2A.3.1-1 of TS 36.101 and Table 6.4A.2.1.2-1 of TS 38.101.
Q3: Why are IQ image and carrier leakage calculated differently than those in TS? Output power is considered in TS, but not in IBEcalculation.m.
Thank you all!
您好,我想请问一下
(1)NR-V2X技术下您的模拟器里怎么设置传递的消息为单播,多播,广播。
(2)NR-V2X技术下您的模拟器里怎么设置传递消息优先级。
补充:我目前在复现https://ieeexplore.ieee.org/document/9443357 这篇论文的结果,卡到这儿了。期待您的回复,万分感谢。
What are the requirements to run the simulator?
In detail:
I'm sorry to bother you. i've some problems about the following paper 'Enhancing the 5G-V2X Sidelink Autonomous Mode through Full-Duplex Capabilities' . https://ieeexplore.ieee.org/document/9860814 .
It uses this open source simulator to verify the feasibility of full-duplex performance. This can be seen in the paper. The results are very significant. I also tried to write related codes but have not yet completed it. I am curious about Figure 2 Is there any code that can be used for reference? I would like to ask the authors to give relevant replies, thank you.
Hello, I have a new question.
What role does the code phyParams.BRoverlapAllowed play?
From my understanding, when this code is set to true, it allows multiple resources to be reserved in the same BR position simultaneously. Wouldn't this situation lead to collisions between resources?
I understand that to prevent such collisions, the 5G NR implements a pre-emption mechanism. Is this code used to activate that pre-emption mechanism?
If my question is unclear, please ask me to clarify.
I always receive a lot of help from your simulator, and I'm truly thankful for that.
I would like to create a map using an actual map and simulate it. Could you please tell me how to apply it?
thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.