Skip to main content

Questions tagged [simulation]

0 votes
1 answer
109 views

I am making a multiplayer strategy simulation game. The game runs in turns of fixed duration, e.g. 1 minute. For every user, there is a set of state variables that can change every turn, e.g. amount ...
devil0150's user avatar
  • 169
0 votes
0 answers
63 views

I am trying to write a simulation that has multiple (20+) variables, which the user should be able to control without modifying the source code. Currently I'm stuck between two design choices: Should ...
z.x.99's user avatar
  • 101
-1 votes
3 answers
202 views

Currently, I am developing a software in C# (.NET 6) that tests devices after production. Therefore, it runs specific tests, e.g., voltage measurements, using the connected hardware. If the voltages ...
Thern's user avatar
  • 105
0 votes
1 answer
282 views

I've been building a traffic simulation with C++ following the Intelligent Driver Model from this article: https://towardsdatascience.com/simulating-traffic-flow-in-python-ee1eab4dd20f To sum up my ...
silverfox's user avatar
  • 103
1 vote
2 answers
261 views

I'm an applied physics student and currently working on a simulation of the magnetic interactions of multiple protons within a protein. Me having only little experience with programming and almost ...
Meck3l's user avatar
  • 17
0 votes
1 answer
332 views

When designing my simulator, I have gotten stuck on 2 main design choices. The simulator can be described as having X number of nodes (between 50 - 2000) that each need to independently do some ...
Nabiel Kandiel's user avatar
0 votes
5 answers
341 views

I have a simulation in Python which reads its configuration from a toml file. Since I have tons of parameters, the toml file can grow quite large. This is an example file, similar in structure to my ...
jfaccioni's user avatar
  • 516
0 votes
3 answers
214 views

Or ways to get better run time than a nested loop? How would you design this? I hope this is the place to ask semi-vague software engineering questions. My simple simulation is like this: There is a ...
Ben Alan's user avatar
  • 119
1 vote
1 answer
141 views

I am composing a library for Discrete-Event Simulation of vehicle traffic. Vehicles are modelled as agents, while the network is modelled as a set of interconnected edges and nodes (a bidirectional ...
ForeverNoob's user avatar
1 vote
2 answers
840 views

I have a hard time understanding how to combine a rule-based decision making approach for an agent in an agent-based model I try to develop. The interface of the agent is a very simple one. public ...
Vector Zita's user avatar
  • 2,502
-1 votes
2 answers
101 views

Building games and simulation frameworks, it seems I am regularly hounded by this conundrum: Let's say you have a 2D grid, and you have an crate in that grid. I can put the coordinates on the crate, ...
cammil's user avatar
  • 115
-1 votes
3 answers
612 views

I was doing a Monte Carlo implementation of the Birthday Paradox in Python and I wanted to check if the results where the same as in the analytical implementation of the same problem (As they should ...
Edoardo Busetti's user avatar
3 votes
2 answers
659 views

I'm conflicted as to what is the best way to approach this problem. I am writing a simulation in Python, which is parametrized by ~ 50 parameters. I have a JSON file where these parameters are set, ...
jfaccioni's user avatar
  • 516
7 votes
6 answers
13k views

As a practice I'm working on a CPU simulator (runs at about 1.78MHz) and I'm using a switch statement to execute correct opcodes based on the value in the IR (instruction register) variable. This ...
NMITIMEN's user avatar
  • 119
0 votes
0 answers
39 views

I need to build an experiment based on a scientific paper in which a high number of agents have a divided visual field (with limited detection distance) and have to detect other agents in a 2D ...
Hugo Simon's user avatar

15 30 50 per page
1
2 3 4 5