Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
54 views

I am designing a 16 bit microcontroller for a college project using Vivado and Verilog. On behavioral simulations i use $readmemh and everything runs fine, the instructions are loaded from memory and ...
Francisco Sousa's user avatar
Tooling
0 votes
17 replies
189 views

I am developing an autonomous navigation algorithm for a small robotic sailboat, and I need to test and validate the control and navigation logic in a 3D/2D simulation environment before field testing....
KANISHK KHANDELWAL's user avatar
0 votes
0 answers
82 views

I am trying to perform a Monte-Carlo simulation on quantile regression using R. Currently I am getting stuck simulating the data from the model below. Y=beta_0+beta_1*X1*u1+u2 where, u2~N(0,1),u1~exp(...
UNI39's user avatar
  • 29
1 vote
0 answers
41 views

So I made a program in matlab that numerically simulates a DTS system and its almost right but there's one detail that there's "jagged teeth" in the graphic diagram ( circled in blue ) ...
LEO101's user avatar
  • 13
0 votes
0 answers
21 views

I’m working with GT-SUITE 2016 (GT-ISE) and want to automate creating and running CFD-coupled simulations using the GT Automation / Scripting API. The official docs mainly cover manual setup for ...
Masoud kamju's user avatar
0 votes
0 answers
122 views

Depreciation_DM = model.constant("Depreciation_DM") Depreciation_DM.equation = 0.0708 DMPIncRate = model.constant("DMPIncRate") DMPIncRate.equation = 0.0284 DMPInc = model.flow(&...
Teguh Juang Sinaga's user avatar
Advice
0 votes
1 replies
42 views

I am interested in learning about circuitry, but I'm scared on investing money for soldering tools, breadboards, and components and later become discouraged and end up wasting money in the process. I ...
chyxo's user avatar
  • 39
3 votes
2 answers
242 views

I’m building a simulation in BPTK-Py and need a power with a variable exponent inside a node equation: Resale_Value_DM1.equation = 1 - Depreciation_DM Resale_Value_DM2.equation = Resale_Value_DM1 ** ...
Teguh Juang Sinaga's user avatar
2 votes
1 answer
84 views

I have a class with methods to simulate sources across 16 detectors using the Gelsa package. In my main script, I call the method generate.sources. I am trying to use multiprocessing to speed up the ...
Nicolò Fiaba's user avatar
1 vote
1 answer
107 views

I am working on a simulation tool for a certain heat exchange system. I first design the system using a certain routine, and then assess it's off-design performance. For the off-design performance I ...
user31649534's user avatar
-1 votes
1 answer
132 views

With a 2d physics simulation in JavaScript I am trying to determine the second focus of an ellipse. My system's eccentricity is too low. The point moves around too much and isn't where it should be. ...
Timtams's user avatar
1 vote
1 answer
104 views

I’m working on an Android project where I need to handle user input events (KeyEvent, MotionEvent) consistently. Sometimes these events come from real user input (keyboard/touch), and other times I ...
Rohan Pande's user avatar
0 votes
0 answers
41 views

I control two grippers with two Geomagic devices in a SOFA scene. The task is to grasp a soft elastic band (a torus) and place it into target configurations (shown at the beginning of the task). When ...
sara biondi's user avatar
1 vote
1 answer
53 views

My model simulates a container terminal with a storage yard. This results in a large number of containers needed at the beginning of the model for loading processes. Unfortuantely, my model version of ...
Scar's user avatar
  • 57
0 votes
2 answers
107 views

My company is finally starting to introduce unit tests. While going through some of the new tests, I came across this one: [Test] public void GetCorrectTimeoutInfoFromTimeSpan() { // Arrange ...
MaxH's user avatar
  • 75
1 vote
0 answers
106 views

I'm new and currently working on my 6 Dof Arm project, right now I am try to simulate it using Mujoco but I don't really understand why and how it works, here is the problem: My 6 Dof Arm is always ...
EyeQ Tech's user avatar
  • 7,408
1 vote
2 answers
106 views

I am trying to create a function which receives the transversal profile of a beam and outputs the transversal profile propagated by some distance. To exemplify the task, here is the profile of a ...
Henrique Guerra's user avatar
2 votes
1 answer
171 views

Here's my code that I've made to simulate two neutron stars resulting in a kilonova: import numpy as np import matplotlib.pyplot as plt G = 6.6743e-11 c = 299792458 R_ns = 12000 m1 = m2 = 3.5e31 ...
AYUSH's user avatar
  • 29
1 vote
1 answer
54 views

I am attempting to make a simple, flowing dynamic across a grid of tiles for a game. Essentially, I want water values of cells in the grid to flow to one adjacent cell each frame according to a couple ...
kinbote99's user avatar
0 votes
1 answer
49 views

In Solidworks simulation I'm having trouble making a VBA macro to automate some operations on Load Case Manager results sets. A part of the code fails at an odd point for an unknown reason, and I can'...
FrugalTPH's user avatar
  • 573
0 votes
1 answer
102 views

Title: Warning Signs in INET 4.5.4 with OMNeT++ 6.1 Despite Successful Build — Still Getting Runtime Errors Hi everyone, I’m working on a project using INET Framework version 4.5.4 with OMNeT++ 6.1, ...
user20079303's user avatar
0 votes
0 answers
51 views

I'm working on a Vulkan project that takes my phone Quaternion data through a UDP connection, and then is used to transform the coordinates of a sword. However, the model doesn't accurately represent ...
Vamer's user avatar
  • 1
0 votes
0 answers
39 views

I am currently trying to use simulannealbnd to choose a vector x consisting of n x m elements that minimize a scalar objective function. Call this scalar Ftop, which is actually a negative scalar. So ...
ZZ Top's user avatar
  • 105
1 vote
1 answer
138 views

I m trying to find the eigenstates of the Hamiltonian of the hydrogene atom in a 1D problem. I'm defining my space grid, then my Hamiltonian and finally I use the function eigh from scipy.linalg to ...
Maxence BARRÉ's user avatar
3 votes
1 answer
114 views

I studied Verilog and do my exercises on HDLBits. I came up with a question when trying to solve this problem: https://hdlbits.01xz.net/wiki/Exams/2014_q3fsm I wrote the following codes according to ...
qian li's user avatar
  • 53
2 votes
1 answer
57 views

I want to do a temperature simulation with ARX models and found Gekko as framework for it. I was able to run basically the example of apmonitor and give my simulation an initial condition when using ...
TheMrPhantom's user avatar
0 votes
0 answers
39 views

I need to read the values of some Outputs from the TIA PLC simulator. Is there any way to get this done ? Currently i'm able to connect to the plc simulator but I cannot read any value as it's giving ...
frency 211's user avatar
0 votes
0 answers
46 views

There is an example on matlab End-to-End DVB-RCS2 Simulation: link. Why is the influence of phase noise not modeled in this example? Is this an incorrect simplification of the model or does the phase ...
корнелий 2018's user avatar
2 votes
0 answers
79 views

In the context of a simulation study, I simulate many survival datasets including the following variables: trt: whether the patient received treatment or placebo (0/1) Evt: whether the patient died ...
Vincent's user avatar
  • 975
1 vote
0 answers
25 views

I implemented a N-body-simulation that combines gravity and SPH (smoothed particle hydrodynamics). With this I can get nice "planets" that warp when they get close and that can collide. But ...
Paul Aner's user avatar
  • 543
0 votes
0 answers
114 views

I just started working with OMNeT++ and installing it on my PC, I have a simulation from a github that I want to modify and add my components to. This simulation works fine but when I try to see the ...
Daniel's user avatar
  • 1
1 vote
0 answers
59 views

I implemented a N-body simulation that combines gravity and SPH (smoothed particle hydrodynamics). I want to optimize the SPH part. I use spacial hashing for the neighborhood search. On the host side (...
Paul Aner's user avatar
  • 543
0 votes
0 answers
50 views

I have a 300-line script that defines the function sim(pars, n.sim). The problem is in my attempt to use more than one core of my laptop. I run my simulation, wrapping the right parameters like this: ...
Gianluca Sala's user avatar
1 vote
1 answer
144 views

I am tying to write my own threadpool, I am noticing that currently, trying to use this custom made threadpool is slower than doing the exact same work in a single threaded fashion and I don't ...
Makogan's user avatar
  • 9,991
2 votes
1 answer
85 views

I have the following setting. I have a set of particle sin a simulation and a grid with cells. Each particle needs to update a neighbourhood around itself in the grid. Thus I can think of two options: ...
Makogan's user avatar
  • 9,991
1 vote
1 answer
58 views

I have been trying to make a leapfrog integration to document the variation of the hamiltonian over time for the 3BP, but I never really grasped how to implement it using the normal half-step method ...
Nnx_0C's user avatar
  • 13
6 votes
1 answer
250 views

I have created a 2D physics simulation in rust that works for the most part. It involves creating balls which collide with each other and their container. I have looked at a lot of resources and found ...
FreddieLumsden's user avatar
0 votes
1 answer
44 views

I am creating an AnyLogic model in which the customers (agents) generate a demand that is fulfilled by a retail store through a delivery within 10 minutes. I am using the following process to generate ...
Nikhil Sathwik Kandregula's user avatar
3 votes
1 answer
94 views

So I have this problem where i want to make a pattern of LEDs such that the most uniform light is achieved within an area on a plane 5cm away. I can't change the power of the LEDs individually and I ...
Nebris's user avatar
  • 41
2 votes
0 answers
41 views

So I am trying to render a Niagara Component in a world only when a prompt a specific thing which in my case is a diagnosis - it registers in UE_Logs but doesn't show up, it only appears after the ...
Kristers Davis Gruzins's user avatar
0 votes
1 answer
35 views

I am trying to simulate data from a liner mixed model in R using the sim() function from the arm package. Here is a subset of my data. > dput(data) structure(list(id = c(989001026313185, ...
smok's user avatar
  • 57
1 vote
0 answers
35 views

I am using Hodgkin Huxley model of neuron and stimulating it with microsecond pulses. No matter what I try, I can't seem to get "logical" response of neuron aka membrane potential. Is this ...
marina05's user avatar
1 vote
0 answers
58 views

I'm trying to run Habitat 2.0 (I need only Habitat 2.0) track using the instructions from these github repo https://github.com/Jiayuan-Gu/hab-mobile-manipulation?tab=readme-ov-file#installation but ...
Rodrick Kalkopf's user avatar
0 votes
1 answer
89 views

I ended up trying to build a for-loop to achieve my end goal (running an ODE function modeling disease transmission through different scenarios/parameter sets in the most transparent way possible) but ...
Kit McLean's user avatar
1 vote
2 answers
114 views

I am working on a custom implementation to send MAVLink messages from a Ground Control Station (GCS) to a simulated drone. Specifically, I need to set the Remote ID of the drone. I attempted to use ...
Abdul Muqaddim's user avatar
1 vote
0 answers
82 views

I am trying to understand the behavior of the $past() operator in System Verilog using a D Flip Flop with assertion. Looking at the second posedge of the clk, shouldn't $past() refer to the first ...
user2979872's user avatar
0 votes
1 answer
102 views

running a script that uses the "xdotool", "key comma" and "xdotool", "key period". Yet it seems to skip the period commands entirely or perhaps can't interpret ...
BlakeT's user avatar
  • 63
0 votes
1 answer
67 views

I have a task to simulate a sequence of rectangular pulses. As a result, I wrote Python code, but the end results are not encouraging. #!/bin/python import numpy as np from numpy.fft import fft ...
Varga's user avatar
  • 49
1 vote
1 answer
107 views

I am working on a Modelica model where I want to dynamically assign materials and insulation based on parameters set in a .mos script. I define materials as parameters using a function that depends on ...
Stan's user avatar
  • 13
1 vote
0 answers
41 views

How can i achive this, without changing behaviour in the code, rather the forces array. i want them to move, and not just fight in 1 place. class Sprite { constructor(posX, posY) { ...
mcisbestlikeit's user avatar

1
2 3 4 5
116