question

Дмитрий avatar image
0 Likes"
Дмитрий asked Ben Wilson commented

Can you help do build this model ?

In the digital information transmission system

broadcasting is transmitted digitally. Language packs

transmitted through two transit channels, buffered in

drives in front of each channel. Software packet transfer time

the channel is 5 ms. Packets arrive after 6±3 ms. Packages that

they were transmitted for more than 10 MS, and the systems are destroyed at the output, so

that their appearance in the decoder will significantly reduce the quality of transmitted information

broadcasting. Destruction of more than 30% of packages is unacceptable. When

reaching this level, the system uses resources to speed up

transmission up to 4 ms per channel. When the level is lowered to an acceptable level

resources are being disabled.

Determine the frequency of packet destruction and frequency

enabling a resource.


FlexSim 20.1.0
flexsim 20.1.0flexisimtransfer protocolbroadcastprocessing data
· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Joerg Vogel avatar image Joerg Vogel commented ·

Hi Dimitrii, I need some more information to answer your request.

  1. Do you have a frequency of broadcasts or a statistical distribution or them? this is related to later point 3.
  2. Any operation lasting longer than 10ms will result in a destroyed broadcast. Is this correct? Transfer Time + buffering time in two drives must be smaller than 10 ms. The processing time is 6ms +/- 3ms normal distributed. Only one broadcast can be processed.
  3. So you need a self-controlled model that turns resources on only if the destruction level rises above 30%? This is independent on the condition of the frequency of broadcasts.

The result might be a relation of frequency of system input to frequency of destroyed broadcasts.

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel commented ·

Dimtrii, can you ask a bit more descriptive question? Something like ”optimize broadcast packages” or “process information data”. Thx.

0 Likes 0 ·
Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @Дмитрий , was Jörg Vogel's answer helpful? If so, please click the red "Accept" button on their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

Joerg Vogel avatar image
1 Like"
Joerg Vogel answered

If my assumptions are correct, you drag a processor (a) into your model with a label driven process time of 5ms. Then the output is connected to two queues. They are your drives. The items are sent to them by round robin property. The queue sends items to the output port number of the following processor. This processor has got a mean process time of 6 ms with a normal distributed deviation of 3ms. If stored items in the queues are staying longer than 10ms in system they are released to a sink, before they enter the processor.

An approach to release items to another output port is possible by the function releaseitem. Whenever an item enters a queue a delayed message is sent from the item to the queue (10ms - current transfer time) from the OnEntry trigger.

0.01 - (Model.time - getentrytime(item))

If the message is received in the OnMessage trigger and the msgsendingobject is still in the queue then the item is released to output port connected to a sink.

source code OnMessage trigger:

treenode item = msgsendingobject();
if(item.up == current) relaseitem(item,2);// port 2 goes to sink.

You put items entering and being processed in relation. If this relation drops below 70% you set the label value of processor (a) to 4ms.

If the successful processing rate rises again above 70% you adjust the processing time label of processor (a) to 5ms again.

You set the input arrival time of your model by label parameters in the source and you do some experiments to get the answer at which input rate the system is stable.

You can reset the ratio from time to time back to 1 just to change the dynamic of the response.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.