Community Profile

photo

Krishna Akella

Last seen: 4 días hace Con actividad desde 2018

Statistics

  • Knowledgeable Level 3
  • 6 Month Streak
  • Knowledgeable Level 2
  • Revival Level 3
  • First Answer

Ver insignias

Content Feed

Ver por

Respondida
How do you read an attribute from one part of a composite entity
Hi Mats, Entity Selector block is expected to work with both composite entities as well as batched entities. I think the attrib...

alrededor de 2 años hace | 0

Respondida
Why SimEvents spends so much time
Hi Gul, I agree with Abdolkarim's suggestion. Did you try to put the model in 'fast restart' mode? That will ellimiate model co...

alrededor de 2 años hace | 0

Respondida
SimEvents: What is the correct usage of testEntry?
Hi Abdolkarim, From what you have described, both (a) and (b) are correct. To summarize: The event testEntry explicitly tells ...

alrededor de 2 años hace | 0

Respondida
SimEvents: Which entity type should event actions be assigned to? Invoker type or target type?
Hi Kar, The testEntry method is invoked before an entity enters a storage. This method allows to either accept or refuse an ent...

más de 3 años hace | 0

| aceptada

Respondida
Forward and Inverse Kinematics for robot
Hi Mohsina, I don't know the answer to your question but I looked at your model and I have a few observations. In your model I ...

más de 3 años hace | 0

Respondida
I am working on queueing using Simulink Sim Events, and I need help on adding an attribute to the events.
That sounds strange. The service completion action must be called when the server is finished serving an entity. There should b...

más de 3 años hace | 0

Respondida
How to create bus object within MATLAB discrete-event system, without having to load it in workspace?
Hi Kar, Are you looking for something like this? https://www.mathworks.com/help/simulink/ug/create-bus-objects-programmaticall...

más de 3 años hace | 0

| aceptada

Respondida
Simevents: change the server capacity during simulation
Hi Kar, You are correct, Entity Server does not allow for changing the capacity at run-time. Resource Pool block allows changin...

más de 3 años hace | 0

| aceptada

Respondida
Is there more documentation or examples on SimEvents observer?
Hi Kar, There are a couple of examples that illustrate the use of SimEvents observer. If you are using R2017b or later, there i...

más de 3 años hace | 0

| aceptada

Respondida
Simevents discrete-event system documentation does not include some of variable-input syntaxes
Hi Kar, Unfortunately, to my knowledge, there isn't an easy way to infer the optional arguments. However, the way I infer the o...

más de 3 años hace | 0

| aceptada

Respondida
I am working on queueing using Simulink Sim Events, and I need help on adding an attribute to the events.
Hi Biplav, Have you tried using SimEvents blocks for this? With simEvents you can use an 'Entity Generator' block and a 'Entity...

más de 3 años hace | 1

| aceptada

Respondida
SimEvents: Is it possible to generate an event-based entity with specific attribute values defined in the caller block's event action?
Hi Kar, Unfortunately, the entity generator's 'Generate' event action cannot use the values from the generation triggering enti...

más de 3 años hace | 0

| aceptada

Respondida
On Off switch simulink
Hi VM, If I understand correctly, you are trying to model a machine going on a break for scheduled maintenance or some thing li...

más de 3 años hace | 0

Respondida
Conveyor Modelling - material handling
Hi Michael, That's a very interesting problem! You want to model "continous" material instead of lumped material, flowing on a ...

casi 4 años hace | 0

Respondida
How can I trigger an event in a Discrete-Event Chart based on the continous signal value?
Hi Nemanja, Have you tried using 'Message Send' and 'Message Receive' blocks? These blocks can be used to interface continuous ...

casi 4 años hace | 0

| aceptada

Respondida
Resource acquire block programmatic use
Hi Marco, To know the BlockType of any block, add the block to a model and select it. Then in MATLAB window, type the following...

casi 4 años hace | 1

| aceptada

Respondida
Non-constant Batch Size
Hi Alex, In an entity generator you can set the 'Time source' to be 'MATLAB action' and then manipulate the output value 'dt' (...

casi 4 años hace | 0

Respondida
I need an entity gate that I can open and close based on an entity attribute.
Hi Andrew, The easiest way to do this is to use the 'Simulink Function' block and call the Simulink function from an event acti...

casi 4 años hace | 0

| aceptada

Respondida
how to set up a entity gate to open and close based on situations encountered?
Hi Rita, I assume 'A', 'B' and 'C' are SimEvents blocks. In which case, you can use the statistics signals from 'A', 'B' and 'C...

casi 4 años hace | 0

Respondida
SimEvents and Exporting Complete Event Information
Hi Noel, Sure, you can. Since its event data, I assume you want to export the information as a timeseries. You can use the simu...

casi 4 años hace | 1

| aceptada

Respondida
simEvents cache model and simulation
Hi Luis, There is no example that I know of which simulates the behavior of an MMU. I think using SimEvents in conjunction with...

alrededor de 4 años hace | 0

| aceptada

Respondida
How can I pass in an rng(seed) into a call to sim(...), as below (SimEvents model):
Hi Elliot, As an alternative to adding coder.extrinsic('rand') to all the blocks, one can also setup a global simulink function...

alrededor de 4 años hace | 0

Respondida
How can I pass in an rng(seed) into a call to sim(...), as below (SimEvents model):
Hi Elliot, You are correct! Your solution works correctly! I have identified what was happening and here is what is happening:...

alrededor de 4 años hace | 0

Respondida
Set multiple attributes in entity generator block
Hi Marco, The different attribute names and their initial values are delimited by the pipe symbol. For example if you want to a...

alrededor de 4 años hace | 0

| aceptada

Respondida
Building Simevents model with Matlab code. Setting the output switch 'number of ports' parameter.
Hi Marco, If you are trying to set the 'Number of output ports', have you tried the following instead: add_block('built-in/ent...

alrededor de 4 años hace | 0

| aceptada

Respondida
How can I pass in an rng(seed) into a call to sim(...), as below (SimEvents model):
Hi Elliot, I am glad you were able to solve your problem. I am trying to understand your solution and I tried adding the code ...

alrededor de 4 años hace | 0

Respondida
How can I pass in an rng(seed) into a call to sim(...), as below (SimEvents model):
Hi Elliot, It seems like the random number generator is unique to each block and the default seed is 0. Setting rng(5) on the c...

alrededor de 4 años hace | 0

Respondida
Can A Multicast Sender send to a tag which is dynamically determined from an attribute in the entity which it is sending?
Hi Elliot, I think I don't understand your question well. I have attached a model based on what I understood. Where entity.type...

alrededor de 4 años hace | 0

Respondida
Entity generation in SimEvents
Hi Summyia, A persistent variable persists its value between function calls. 'isempty(SEQ)' returns 1 if SEQ is an empty array ...

alrededor de 4 años hace | 0

Cargar más