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
2 answers
1
vote
1 answer
Creating simulations out of a function with n number of observations
I'm pretty new to R and I have created the following code which is based on a function that is used to simulate 1100 data points and then removes the first 100 points to get a total of 1000 data points.
My next goal is to be able to repeat this…

Warhawk1987
- 307
- 1
- 9
1
vote
1 answer
Anylogic Heavy 3D Animation is stopping the model animation on runtime
I am running a model with heavy 3D animation images for agents. At the beginning, the model was running fine, but then I added new agent types with 3D images (without creating any agent instances) and now when it runs the animation window just…
1
vote
1 answer
Anylogic - How to put Pre-emptive condition on Traffic signal on Road Traffic Simulation
I am designing an AnyLogic Road traffic simulation. I want to make the traffic signal go green for a lane when an ambulance appears on that lane, To give the Ambulances top priority.
Any help on how to control traffic signal lights for a specific…

Toufiq
- 11
- 1
1
vote
1 answer
What could be casuing the simpy exception 'No scheduled events left but "until" event was not triggered'?
I am working on a larger simulator (Mocasin) that uses the simpy discrete event simulation framework. The simulator mostly works correctly, but for some larger problems I get an error like this:
Traceback (most recent call last):
File…

Christian Menard
- 116
- 6
1
vote
1 answer
Is it possible to model the Universe in an object oriented manner from the subatomic level upwards?
While I'm certain this must have been tried before, I cant seem to find any examples of this concept being done myself.
What I'm describing goes off of the idea that effectively you could model all "things" which are as objects. From their you can…

Cordyceps12
- 11
- 1
1
vote
1 answer
2d double array to image
I'm currently working on a simulation with continuous agents, which leave a pheromone trail on a 2d double array. The pheromone trails need to be on a 2d array because of a diffusion with a mean filter that needs to be performed. Ultimately, I need…

Marcello Zago
- 629
- 5
- 19
1
vote
1 answer
Simulating data with the purrr::map-family: truncated normal distribution for each row consumes the RAM
I try to assess the combined uncertainties related to different input parameters using Markov Chain Monte Carlo method in R. In other words, using the uncertainty parameters reported in input data documentation, I try to generate distributions for…

a_PhD_researcher
- 59
- 5
1
vote
0 answers
Error while building px4_sitl in Ubuntu 18.04 LTS
Error while building px4_sitl gazebo... please help me
I referenced this link.
input command : make px4_sitl gazebo
os : Ubuntu 18.04 lts
Here's my terminal log :
xxxx@xxxx-OMEN-30L-Desktop-GT13-1xxx:~/PX4-Autopilot$ make px4_sitl gazebo
--- skip…

eungbin
- 23
- 4
1
vote
0 answers
Best way to render large amounts of lines in Unity?
I'm currently experimenting with compute shaders in unity and I'm trying to make a cloth simulation, I would like to draw the cloth using lines and points. But I cant find any other way than stitching something together using ui elements, a spearate…

Reezardo
- 33
- 4
1
vote
1 answer
SAS Proc IML simulating using empirical distribution
I am trying to simulate data using an empirical distribution. For example, say there are five outcomes with probabilities as shown in the vector below:
PROBABILITY_VECTOR = [0.1, 0.2, 0.3, 0.25, 0.15]
The PROBABILITY_VECTOR is calculated from…

MrAnalyst
- 23
- 6
1
vote
1 answer
Repast Does not display background Maps in example files
I am brand new to Repast and am interested in eventually creating a marine traffic simulation in the Arctic. I am going through the "Import Repast Examples" and none of the models I go through display the maps in the simulation display. For example…

user7479159
- 53
- 6
1
vote
1 answer
How to configure unit testing for AnyLogic agent code?
How do you configure unit testing framework to help develop code that is part of AnyLogic agents?
To have a suitable test driven development rhythm, I need to be able to run all tests in a few seconds. I thought of exporting the project as a…

John
- 6,701
- 3
- 34
- 56
1
vote
0 answers
Pybullet - Parallelogram joints aren’t allowed
I have a custom robot URDF that I imported which has parallelogram limbs. The only way I could get it to import was by only creating 3 of the 4 joints on the polygon, and “forcing” all those joints to line up by setting all their angles to the same…

Eisteinman16
- 11
- 2
1
vote
1 answer
Simulating integers by groups with different means and standard deviations
I'm an education researcher trying to simulate a dataset of test scores. If I know
the score for a test has min of 400 and max of 800
scores must be whole numbers
different subgroups have a different mean and sd values for historical values
What…

Jeffrey Harding
- 60
- 5