5,789 questions
-1
votes
0
answers
58
views
Verilog & Vivado - How to load memory initialization files into BRAM on post-synthesis simulations
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 ...
Tooling
0
votes
17
replies
192
views
Looking for Advice on Simulators for Autonomous Sailboat Navigation Testing
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....
0
votes
0
answers
82
views
True slope parameter for quantile regression with heterogeneous error [migrated]
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(...
1
vote
0
answers
41
views
Want to get rid of "jagged teeth" from DTS simulator made in matlab
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 ) ...
0
votes
0
answers
22
views
Using GT Automation / Scripting API in GT-SUITE 2016 (GT-ISE) for CFD Coupling Cases
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 ...
0
votes
0
answers
123
views
AttributeError: 'NoneType' object has no attribute 'columns' BPTK-Py
Depreciation_DM = model.constant("Depreciation_DM")
Depreciation_DM.equation = 0.0708
DMPIncRate = model.constant("DMPIncRate")
DMPIncRate.equation = 0.0284
DMPInc = model.flow(&...
Advice
0
votes
1
replies
43
views
Realism and Reliability of Ngspice Simulations
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 ...
3
votes
2
answers
242
views
BPTK-Py: base ** variable_exponent in equation returns 1.0; np.power/np.log not supported on Converter
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 ** ...
2
votes
1
answer
84
views
Python multiprocessing parallelization
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 ...
1
vote
1
answer
107
views
Hard reset gekko model to initial state
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 ...
-1
votes
1
answer
132
views
Calculating second focal point of planetary orbit [closed]
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. ...
1
vote
1
answer
104
views
How to distinguish between OS-triggered vs app-simulated input events in Android?
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 ...
0
votes
0
answers
41
views
SOFA: elastic band tunnels through pegs under high strain/fast motion
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 ...
1
vote
1
answer
53
views
Initial Storage for Storage Yards in Material Library
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 ...
0
votes
2
answers
108
views
Is there a better way to simulate work in unit tests? [closed]
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
...