Alberto Mercurio

Results 140 comments of Alberto Mercurio

Thank you for your comment. Here you can see the d and q currents before and after holding the motor. ![Schermata da 2021-12-29 18-43-14](https://user-images.githubusercontent.com/61953577/147689566-eb9579f4-572d-4b5c-a673-1f1c8cb615fc.png) Here I used a low pass...

> Is your shunt really 0.5milliOhms? > It might be too low. I was inspired by the VESC project, in which they use 0.5 / 3 mOhms resistors. Since I'm...

Hello, do you have a solution to this? I also need to use of matrix-vector multiplication. The simplest example should be ```julia using QuPhys using LinearAlgebra using SparseArrays using DifferentialEquations...

> Did you try using StaticArrays? I'm using very large matrices (usually 1500x1500), this is the reason i use sparse matrices. However, also with a 100x100 matrix it tooks a...

Do you mean that I need to convert `L` and `L_t` into CuArray and than evolve each ODE serially with `EnsembleSerial()`? If it is the case, can i use `EnsembleThreads()`...

Ok perfect. Thank you for your help. However I have the following question. I'm yet able to perform this ODE directly on the GPU, using the differential function ``` L...

I think i found the origin of the problem, but i don't know how to fix it correctly. I noticed that in the _essolve.py_ file (line 149) there is this...

```julia using LsqFit @. model(x, p) = p[1]*exp(-x*p[2]) xdata = collect(range(0, stop=10, length=20)) ydata = model(xdata, [1.0 2.0]) + 0.01*randn(length(xdata)) p0 = [0.5, 0.5] fit = curve_fit(model, xdata, ydata, p0)...

Hi @pkofod I created a pull request that makes this package compatible with CUDA arrays.