Simulation is the imitation of some real thing, state of affairs, or process. The act of simulating something generally entails representing certain key characteristics or behaviours of a selected physical or abstract system.
Questions tagged [simulation]
5194 questions
1
vote
1 answer
When simulating verilog output using Icarus, is there a way to include FPGA hardware features such as RAM in the simulation?
I'm new to FPGA, and have started out with an iceBreaker board using the ICE40UP5K chip. I'm aiming to make a LED display driver, driving something similar to HUB75 used on popular display modules.
I've been able to simulate waveform generation, and…

MickJC75
- 39
- 4
1
vote
1 answer
Best Practice to Store Simulation Results
Dear Anylogic Community,
I am struggling with finding the right approach for storing my simulation results. I have datasets created that keep track of every value I am interested in. They live in Main (see below)
My aim is to do a parameter…

JHK
- 51
- 5
1
vote
1 answer
Count all agents that are in certain state
Community,
I would like to collect statistics on my "Customer" agent-population.
The agent population lives in main. The agent states are described according to the below screenshot.
In main, I want to store agent statistics in a DataSet. Therefore,…

JHK
- 51
- 5
1
vote
1 answer
I am trying to create a SEIR model in Java, but it doesn't work well with all the variables
My final project is develop a simulation of the new Omicron variable of Covid-19 in my state, using the SEIR model and Java, so, I was read some articles about how the SEIR model works and I have the equations needed to do it, are the…

Orlando Lucero
- 323
- 2
- 7
1
vote
0 answers
How to generate seasonal time series data in positive value using sim.ssarima in R?
I want to make X-13 ARIMA-SEATS simulation using seasonal time series data that generate from package 'sim.ssarima'. But in X-13 ARIMA-SEATS require the data must be non-zero and positive value. Whereas 'sim.ssarima' generate random value (positive…
1
vote
0 answers
How to add rms noise to a signal
I am working with an IMU sensor 1 that has a noise density of:
I wish to simulate the noise that this IMU will have in one of the simulations I have ran. From my understanding and using this video reference, the rms is 5.4mG. I am not sure how to…

Angel Ortiz
- 72
- 13
1
vote
1 answer
OpenFoam: changing STL position lead to undefine behaviour or crash
I am testing example of the Magnus Effect for OpenFoam-9
https://drive.google.com/file/d/1J2rKIRU8DAZadORyjUfd6OBBcfR-9rLo/view?usp=sharing
What I got from https://holzmann-cfd.com/community/training-cases/magnus-effect
And it works fine:
But when…

Vadim Ostanin
- 49
- 6
1
vote
0 answers
Increasing model simulation speed with big number of agents/transporters Anylogic
I've a question. In my model I want to model patients/employees in a hospital environment as agents. Due to the big amount of patients/employees in the hospital (>4000), my model runs very slow (which is logical, I know). Because I want the patients…

Aron T.
- 448
- 2
- 7
1
vote
1 answer
MD analysis using Python
I am trying to run this command:
python3 traj_orientation-group.py -g fnIII-9_ps20_Nchain6_T298_nw.gro -x fnIII-9_ps20_Nchain6_T298_nw.xtc -o fnIII-9_ps20_Nchain6_run1.phrsn-orientation --protein_res_start 1 --protein_res_stop 89 –group 51 52 53 54…

Viswa Vittal
- 9
- 2
1
vote
1 answer
1 Second ClkDivider Simulation Not Working
I am trying to create a second clk counter using a 100 MHz clk input, but when I simulate the clk divider, it just shows the output as an X even though the clk input is correct. What could I be doing wrong?
1 second clk divider:
module clkdiv(
…

Chandler Juego
- 19
- 5
1
vote
1 answer
How to reset unique method in Python Faker
I am using the Faker library to simulate weight-training data for an open-source app I am building (https://github.com/TheNewThinkTank/Fitness-Tracker),
where part of this simulation…

Gustav Rasmussen
- 3,720
- 4
- 23
- 53
1
vote
1 answer
Anylogic last mile delivery. Multiple stops via to 'moveTo' and 'select' block
Using a python based Genetic Algorithm i am able to get routes for a vehicle routing problem with a heterogeneous fleet. These have to be evaluated in anylogic using discrete event simulation.
I used the following blocks:
In the main, I call the…

Bas Lindeboom
- 91
- 6
1
vote
0 answers
Anylogic won't start simulation (stuck on "Please wait")
I've been developing a model for a car fleet service. I have the model ready and it works fine. The problem is when I try to put all the input trips it is supposed to do, during the course of a day, the simulation won't start, it will just get stuck…

João
- 21
- 2
1
vote
1 answer
Count the times a transporter is blocked by another transporter
If you have two different transporter types in your model. And you want to have a variable that counts the amount of time they are close to each other (say within 0.5meter) and blocking each other. Is there a way in anylogic to code this?
So that…

Aron T.
- 448
- 2
- 7
1
vote
2 answers
How to get time by route (instead of distance) on Anylogic?
I'm developing a simulation model in Anylogic where there is a vehicle fleet that provides ridesharing services to travellers. To determine if a vehicle can pick up a certain traveller, I have a function that determines how distant he is from the…

João
- 21
- 2