Pyodide Spin Out and 0.17 Release
hacks.mozilla.org
hacks.mozilla.org
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:> For instance, given an Array in JavaScript,
> window.x = ["a", "b", "c"];
> We can access it in Python as,
'''
>>> from js import x # import x from global Javascript scope
>>> type(x)
<class 'JsProxy'>
>>> x[0] # can index x directly
'a'
>>> x[1] = 'c' # modify x
>>> x.to_py() # convert x to a Python list
['a', 'c']
'''
Should be ['a', 'c', 'c'], shouldn't it? Is this a typo? Implicit cast to set somewhere?