Coder Social home page Coder Social logo

wilabv2xsim's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

wilabv2xsim's Issues

Question about Small scale Fading

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.

finding delays and latency

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?

cbrActive=True causes error when BRAlgorithm is not 18

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.

https://github.com/V2Xgithub/WiLabV2Xsim/blob/557c68d725aa7d423d00ebc946eb3e55b7234c2d/MatCBRcalculations/cbrUpdateCV2X.m#L19C41-L19C41

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.

LTE based V2X Scenario by using CARLA

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

Consult

How the code calls other resource allocation Algorithms. For example,BRreassignmentRandom

Questions about the meaning of input parameters

Good afternoon!
As shown in the following figure,
image
(1)Does this parameter represent the number of retransmissions?
(2)The table shows "HARQ".How does this parameter relate to HARQ?
I would be grateful if I could get an answer.

Maximum Reuse Scheduling

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:

image

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?

Adding configurable custom delay to messages + End-to-End Delay

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.

Working on restoring full Tracefile Support

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):

  • Canonical Vehicle Names can be any arbitary number (actually, I would like them to be strings, because in the far future i want a "dual stack" solution where a subset of vehicles are using certain BR algorithm, and using strings can help us filter the vehicles.
  • A need to separate Canonical Names and Entity IDs, the canonical names are the ones in the tracefile and output data, the entity IDs are the one used internally as indexes to matrice operations such as SINR and position.
  • In the tracefiles, the timesteps are not constant
  • In the tracefiles, each vehicle does not necessarily have an equal number of records
  • Restore the ability to dynamically add and remove vehicles in the middle of the simulation
  • A timeout/heartbeat parameter to remove vehicles that have not moved in a while

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.

a question about how to use simulator

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.

Question About Blind Retransmission

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.

role of stationManagement.transmittingFusedLTE

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?

About dynamic scheduling sheme

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

Non existent matlab function

mco_initiateParameters(fileCfg,appParams,phyParams,varargin{1}) does not exist in InitiateSpecificParameters.m function

Please update

Thanks
Regards
Phaneendra

Questions about the code of figure7.

I'm sorry to bother you.
I have questions about fig7_simulation.m.
When I try to run this code by matlab,it always failed when its SCS=60.
How to solve it?

螢幕擷取畫面 2023-02-06 012339

And if I want to change the value of SCS to test other outputs,how can I change?

Thank you!

A question about aperiodic traffic

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.

questions about IBE calculation

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!

Some paper's question

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.

Question about BRoverlapAllowed

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.

About using the new map

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.