News for hackers. Stuff that matters.
Re:Pyodide Spin Out and 0.17 Release by rahimnathwani on Thursday April 22, 2021 @06:58PM (#26909141)
I'm not your target user, but I'm curious what happens to the pjm5bus_out.txt file that's generated. Can you somehow make that available to JS so it can be downloaded by the user?
Re:Pyodide Spin Out and 0.17 Release by rwlincoln on Friday April 23, 2021 @07:39AM (#26913652)
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 just to demonstrate that Time Domain Simulation was working to Hantao Cui, the author of Andes. Small Signal Stability Analysis will require SciPy and an ARPACK package. I would like to create a PWA that runs Andes in a web worker, like I did for MATPOWER:

https://matpower.app/

Re:Pyodide Spin Out and 0.17 Release by mulmboy on Friday April 23, 2021 @05:30AM (#26912780)
Yeah that can be done with BrowserFS - probably among other ways https://github.com/pyodide/pyodide/issues/613