Activity for Richard Lincoln

  • Richard Lincoln Richard Lincoln posted a comment on discussion Open Discussion

    Dear All, I have been working on a rewrite of OpenDSS using the Rust programming language. I published a VSCode extension that embeds a WebAssembly version of my program to demonstrate it: https://marketplace.visualstudio.com/items?itemName=rwl.vscode-ckt The extension is compatible with web-based instances of VSCode, if you don't have the desktop version installed: https://vscode.dev The OpenDSS Scripting Language proved a lot of effort to support. Instead, I devised a file format based on CSV and...

  • Richard Lincoln Richard Lincoln posted a comment on discussion Open Discussion

    Hello Davis, Thank you for taking the time to respond. The temporary variable you describe is how I expected it to work. However, using OpenDSS v9 at r2948 with FPC v3.0.4 on Ubuntu 18.04: If I debug the 4Bus-DY-Bal.DSS test case with earthModel=Deri and add a breakpoint in Bessel_I1 at line 469. In the first iteration of the loop: TERM={RE = 0.31798631449324982, IM = 0.31798631449324982} INCTERM={RE = 0.31798631449324982, IM = 0.31798631449324982} NEWTERM={RE = 0.15899315724662491, IM = 0.15899315724662491}...

  • Richard Lincoln Richard Lincoln posted a comment on discussion Open Discussion

    In the Bessel_I1 function Cmul is called with term as the first argument and the result is also assigned to term: Term := Cmul(term, cmul(incterm, newterm)); The first line of Cmul sets the real part of the result which, in this case, is also argument A: Result.RE:=A.RE*B.RE-A.IM*B.IM; The second line sets the imaginary part of the result using the, now modified, real part of argument A: Result.IM:=A.RE*B.IM+A.IM*B.RE Is this as intended? It might be clearer if the function were to create a new variable...

  • Richard Lincoln Richard Lincoln posted a comment on discussion Help

    If the 4Bus-YD-Bal example is modified to have both "New Line" commands before the "New Transformer" commands the solution is slightly different. clear Set DefaultBaseFrequency=60 ! IEEE 4-bus test case ungrounded-Y-Delta Stepdown Balanced ! Based on script developed by Alan Dunn and Steve Sparling new circuit.4busYDBal basekV=12.47 phases=3 ! **** HAVE TO STIFFEN THE SOURCE UP A LITTLE; THE TEST CASE ASSUMES AN INFINITE BUS ~ mvasc3=200000 200000 Set earthmodel=carson ! **** DEFINE WIRE DATA new...

  • Richard Lincoln Richard Lincoln posted a comment on discussion Open Discussion

    Dear Sir, I have been working on a port of OpenDSS, but interfacing with KLUSolve...

1