User Activity

  • Modified a comment on discussion Open Discussion on OpenDSS

    I could reproduce the problem on excel vba as well, so it was not a c# only related problem. Excel memory just keep incresing when running: For i = 2 To 99999999 DSSText.Command = "new circuit.ckt" DSSText.Command = "solve" DSSText.Command = "clearall" Next It might seem negligible, but the larger ther circuit, the greater the leak. The only workaround so far is saving the program state before crash, closing it and running the program again from where it stopped.

  • Posted a comment on discussion Open Discussion on OpenDSS

    I could reproduce the problem on excel vba as well, so it was not a c# only related problem. Excel memory just keep incresing when running: For i = 2 To 99999999 DSSText.Command = "new circuit.ckt" DSSText.Command = "solve" DSSText.Command = "clearall" Next

  • Posted a comment on discussion Open Discussion on OpenDSS

    Hi Davis, thanks for answering. I updated my opendss to the latest version but the problem is still there. I am getting memory leaks everytime I run a "ClearAll" or a "Solve" command. If I load a circuit file, solve it, clear the DSS and repeat the process, the amount of memory used just keep increasing, even if the circuit file is unchanged. The problem can be reproduced just by using an empty circuit like that: for (int i = 1; i < 9999999; i++) { DSSText.Command = "clear"; DSSText.Command = "new...

  • Modified a comment on discussion Open Discussion on OpenDSS

    Hi, I am experiencing an increasing amount of process memory in my c# program that calls opendss repeatedly a couple of thousand times. Eventually the memory usage exceeds the computer resources. I didn't have success solving the issue with the garbage colector nor the clearAll command. My opendss version is 8.6.1.1 Does anyone know how to fully reset the COM object/release memory so that I can start a fresh new simulation? I found out that if just run the snippet bellow the memory usage increses...

  • Posted a comment on discussion Open Discussion on OpenDSS

    Hi, I am experiencing an increasing amount of process memory in my c# program that calls opendss repeatedly a couple of thousand times. Eventually the memory usage exceeds the computer resources. I didn't have success solving the issue with the garbage colector nor the clearAll command. My opendss version is 8.6.1.1 I found out that if just run the snippet bellow the memory usage increses over time for (double i = 1; i < 100000000; i++) { DSSText.Command = "clearAll"; GC.Collect(); GC.WaitForPendingFinalizers();...

  • Posted a comment on discussion Beginners on OpenDSS

    Thank you, I appreciate your help!

  • Posted a comment on discussion Beginners on OpenDSS

    Hi Celso, Yes, I do have some loads directly connected to the transformer's LV bushings. I disabled them and the MV energy register is now measuring 0 kwh. Is that how it was supposed to work or it's some kind of bug? Whats is the easiest way to include this energy in the LV energy register? I created a line between the transformer LV bus and the load bus and it seems to work as I expected. Many thanks!

  • Posted a comment on discussion Beginners on OpenDSS

    Hi, does anyone know how the energymeter divides the load energy between the calculated bases? The problem I have is the following I have a circuit with two declared bases, 13.8kV and 220V, with only 220V loads, but the DSS energymeter shows a small load consumption at 13.8 voltage. I checked the buses where my loads are connected and they are all 220V, so apparently there should be no reason for DSS being measuring 13.8kV load energy. Thanks!

View All

Personal Data

Username:
lucas9987
Joined:
2020-02-28 12:23:24

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB