simulation

Using a subset of a SUMO scenario for OMNeT++ network simulation (with VEINS)

对着背影说爱祢 提交于 2019-12-21 02:46:09
问题 I'm trying to evaluate an application that runs on a vehicular network using OMNeT++, Veins and SUMO. Because the application relies on realistic traffic behavior, so I decided to use the LuST Scenario, which seems to be the state of the art for such data. However, I'd like to use specific parts of this scenario instead of the entire scenario (e.g., a high and a low traffic load fragment, perhaps others). It'd be nice to keep the bidirectional functionality that VEINS offers, although I'm

3D Engine for Driving Simulation [closed]

瘦欲@ 提交于 2019-12-20 21:44:47
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . Is there any open-source 3D graphics and physics engine specialized in driving simulation? Something like a configurable game engine targeted at games that involve driving, or something more specialized to urban traffic conditions and that would implement scriptable traffic rules. Also, car motor parts and

time-based simulation with actors model

我是研究僧i 提交于 2019-12-20 14:42:56
问题 we have a single threaded application that simulates the interaction of a hundred of thousands of objects over time with the shared memory model. obviously, it suffers from its inability to scale over multi CPU hardware. after reading a little about agent based modeling and functional programming/actor model I was considering a rewrite with the message-passing paradigm. the idea is very simple - each object will be an actor and their interactions will be messages so that the simulation could

How to Build a Sensor Simulator for Android?

孤街醉人 提交于 2019-12-20 10:41:42
问题 I am building a application for the Android platform and I would like to use the accelerometer. Now, I have found a very nice application for sensor simulation (OpenIntents' SensorSimulator) but, for what I want to do, a would like to create my own sensor simulator application. I have not found information on how to do this (I do not know if disassembly the jar of the Simulator is correct) and, as I said, I would like to build a smaller and simpler version of a sensor simulator, more suitable

bandwidth and traffic simulator for web apps?

跟風遠走 提交于 2019-12-20 10:35:01
问题 can you suggest how to create a test enviroment to simulate various types of bandwidths and traffic in a web app ? Or maybe a program open source wich does this against localhost ? I think this is a very important subject when programming web apps but it is not a usual topic, the only way i can imagine to create such kind of enviroment is to use somekind of proxy in a local network but before start looking into the squid documentation i would like to hear your suggestions . 回答1: if you're

How to simulate touch for any application in Android?

淺唱寂寞╮ 提交于 2019-12-20 09:57:32
问题 I know some similar questions have already been asked, but I think they are asking for simulating touch in their own applications, however I want to make an agent that can "use" any application. So what I want to achieve should take as a series of inputs (touch: {x1,y1}, {x2,y2}, etc) and control any application (such as Facebook) just as if a genuine user is touching that coordinate. Is there any example, or a way for this? Or an already existing question about this? Thanks for any help!

Algorithms for Simulating Fluid Flow

二次信任 提交于 2019-12-20 08:49:44
问题 I've got a game idea that requires some semi-realistic simulation of a fluid flowing around various objects. Think of a pool of mercury on an irregular surface that is being tilted in various directions. This is for a game, so 100% physical realism is not necessary. What is most important is that the calculations can be done in real time on a device with the horsepower of an iPhone. I'm thinking that some sort of cellular automaton or particle system is the way to go, but I don't know where

How does functional programming apply to simulations?

↘锁芯ラ 提交于 2019-12-20 08:46:18
问题 Besides the general question in the title, How do functional programmers and functional languages approach the domain of simulations, which seem to be most naturally handled by object-oriented languages? Are there open-source examples of complex simulations written in a (mostly) functional style? What changes of perspective would an OO-programmer need, in order to approach simulations from a functional paradigm? I'm asking this while learning how Clojure's creator Rich Hickey specifically

OpenModelica: “Warning: maximal number of iteration reached but no root found” with conditional equation

天大地大妈咪最大 提交于 2019-12-20 05:32:58
问题 I am an OpenModelica beginner trying to model a DC/DC converter with constant voltage and current limiting. Basically the output is supposed to give a constant voltage until the maximum current is reached and then hold that current by reducing voltage. This is the equation part of my code so far: model DC_DC "Voltage source with current limiting" import SI = Modelica.SIunits; parameter SI.Voltage Vnom(start=1) "Value of nominal output voltage"; parameter SI.Current Inom(start=1) "Value for

OpenModelica: “Warning: maximal number of iteration reached but no root found” with conditional equation

只谈情不闲聊 提交于 2019-12-20 05:31:13
问题 I am an OpenModelica beginner trying to model a DC/DC converter with constant voltage and current limiting. Basically the output is supposed to give a constant voltage until the maximum current is reached and then hold that current by reducing voltage. This is the equation part of my code so far: model DC_DC "Voltage source with current limiting" import SI = Modelica.SIunits; parameter SI.Voltage Vnom(start=1) "Value of nominal output voltage"; parameter SI.Current Inom(start=1) "Value for