Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rwlincoln
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
rwlincoln
3y ago
MATPOWER and OpenDSS test cases are also available in CSV format: https://github.com/casecsv https://github.com/cktcsv
2.
▲
L2RPN Delft 2023: Learning to Run a Power Network
(codalab.lisn.upsaclay.fr)
1 points
by
rwlincoln
3y ago
|
1 comments
3.
▲
by
rwlincoln
3y ago
L2RPN is a series of competitions, with the aim of training an Artificial Intelligence agent to operate a power network. The Delft-AI-Energy Lab is hosting a remake of the L2RPN challenge in the Netherlands. The L2RPN Delft 2023 competition
4.
▲
by
rwlincoln
4y ago
SEEKING WORK | Berlin | Power Engineer I specialize in combining power system simulation libraries with web technologies. I have experience with power flow simulation, optimization and transient simulation. I also work on solvers for sparse
5.
▲
by
rwlincoln
4y ago
Armadillo is particularly notable in that has a Python interface (based on pybind11). Although, sparse matrix support still needs to be added. Also the PyArmadillo API resembles that of MATLAB, which can be convenient when translating. htt
6.
▲
by
rwlincoln
4y ago
I am surprised not to see any mention of the OSQP (Operator Splitting Quadratic Program) solver. It is the most impressive open source solver of this type that I have seen published in recent years. It appears to have been developed as a co
7.
▲
by
rwlincoln
5y ago
The file is written to the in-memory virtual file system provided by Emscripten. It can be accessed from the console: pyodide._module.FS.readFile("/pjm5bus_out.txt", { encoding: 'utf8' }) I published this jus
8.
▲
by
rwlincoln
5y ago
Recently, I was able to get Andes v1.3.5 (a Python package for power system transient dynamics simulation using SymPy) to run in WebAssembly using Pyodide v0.16.1. https://andesapp.github.io/
9.
▲
by
rwlincoln
6y ago
Andes, a Python package for power system simulation, uses SymPy now. In previous versions, computing the derivatives for dynamic models was done using complex equations written out manually. SymPy greatly simplifies the process of adding cu
10.
▲
by
rwlincoln
6y ago
The GNU Octave interpreter and its dependencies are all in the matpower.wasm file. 19Mb is still quite large for a website, but it is loaded asynchronously and WASM get compiled as it streams in. The interpreter runs in a WebWorker using a
11.
▲
by
rwlincoln
6y ago
Satisfying the BLAS/LAPACK dependency was one of the biggest challenges. I ended up passing LAPACK 3.4.2 through f2c before compiling the result with emcc. PCRE and some SuiteSparse libraries were the only additional dependencies neede
12.
▲
by
rwlincoln
6y ago
I was able to compile GNU Octave 4.4.1 into Web Assembly for my MATPOWER PWA. When Mozilla was still at full force OctIodide might have been an interesting project for them. https://matpower.app https://github.com
13.
▲
by
rwlincoln
6y ago
The whole application runs on the client (in the browser). The server just serves up static resources. These are cached by the browser so the application will still work if you are offline. The result is much like the desktop applications y
14.
▲
by
rwlincoln
6y ago
Octave includes support for sparse matrices and MATPOWER makes use of them by default. It doesn't require any additional effort from me. In general, Octave can quite match MATLAB for performance, but it is typically not far off. Runnin
15.
▲
by
rwlincoln
6y ago
My view is that the open source projects for power system simulation available now are approaching a stage where they can perform all of the main functions of commercial tools. In some cases, they even offer functionality that expensive pro
16.
▲
by
rwlincoln
6y ago
There are some test cases included in MATPOWER that are around that size and may be imported. I only embedded small test cases in the application to keep the download size down. I imagine this app being quite useful to lecturers teaching Po
17.
▲
Show HN: Power system simulation on GNU Octave in WASM
(matpower.app)
3 points
by
rwlincoln
6y ago
|
9 comments
18.
▲
Google Cloud Functions
(cloud.google.com)
1 points
by
rwlincoln
11y ago
|
0 comments
19.
▲
by
rwlincoln
11y ago
Shouldn't this be a WebAssembly (WASM) only feature? It seems a shame to be introducing the potential for race conditions in JavaScript. Compiling languages that support multiple threads into JS seems to be what is motivating this work
20.
▲
by
rwlincoln
15y ago
Currently only the server-side of Vaadin has been translated and Muntjac relies on the GWT compiled Java from Vaadin for the client code. The plan is to translate the rest and use Pyjamas to produce the JS. That way new components could be
21.
▲
by
rwlincoln
15y ago
Thanks. I'm not sure how it compares to Vaadin in terms of speed, but it does run on PyPy (and IronPython), which might help.
22.
▲
by
rwlincoln
15y ago
Thanks. I'm new to HN and didn't realise what this would do to my traffic. It is currently on EC2, but I had it working on GAE. Perhaps that would have helped with the scaling.
23.
▲
by
rwlincoln
15y ago
I don't know much about Django sadly. I can tell you that the ApplicationServlet is just a WSGI app and can be stacked accordingly.
24.
▲
by
rwlincoln
15y ago
One issue is that the session gets unpickled/pickled with each request. When each of the samples has been run the pickled session files are ~2Mb.
25.
▲
by
rwlincoln
15y ago
I just switched to a High-CPU EC2 instance. I hope it helps. Otherwise: $ easy_install muntjac $ muntjac to run the demos locally.
26.
▲
Python web application GUI toolkit
(muntiacus.org)
66 points
by
rwlincoln
15y ago
|
28 comments