Anonymous | Login | 2022-05-27 17:48 UTC | ![]() |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0000626 | OMNeT++ | simulation kernel | public | 2013-01-30 17:22 | 2013-12-06 17:26 | ||||||||
Reporter | rhornig | ||||||||||||
Assigned To | |||||||||||||
Priority | normal | Severity | feature | Reproducibility | N/A | ||||||||
Status | new | Resolution | open | ||||||||||
Platform | OS | OS Version | |||||||||||
Product Version | 4.2 | ||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0000626: A way to specify a distribution that results in events at specific time values | ||||||||||||
Description | In models it is often required that a source should generate messages at specific point sin time. Models usually use an "interArrivalTime" parameter to specify a distribution. It would be great to have a function that would provide just the right distribution to have the proper values so the evenets will be generated correctly: **.interArrivalTime = exactlyAt(5s, 20s, 67s, 200s) Internally this should use simTime to figure out the next event and calculate and return the dT until that time... | ||||||||||||
Additional Information | A more generic solution: Implement the following function: simtime firstGreaterThan(base, a1, a2, a3 , a4 ...) this function would return the first "a" from the series which is greater than "base" after this I would write something like this: **.sendTime = firstGreaterThan(simTime(), 5s, 50s, 100s) - simTime() | ||||||||||||
Tags | No tags attached. | ||||||||||||
Attached Files | |||||||||||||
![]() |
|
(0000855) rhornig (administrator) 2013-12-06 17:26 |
A better name: **.interArrivalTime = timeUntil(5s, 20s, 67s, 200s) |
![]() |
|||
Date Modified | Username | Field | Change |
2013-01-30 17:22 | rhornig | New Issue | |
2013-12-06 17:26 | rhornig | Note Added: 0000855 |
Copyright © 2000 - 2022 MantisBT Team |