Menu

Beginners using py-dss

Beginners
XUAN
2024-12-29
2025-01-06
  • XUAN

    XUAN - 2024-12-29

    I would like to model using ieee13bus to optimize the charging and discharging strategy of the battery using e.g. pso and other optimizations, is py-dss capable of doing this? Where should I start as a beginner, advice would be appreciated.

     
    • Davis Montenegro

      Hello,

      OpenDSS is a general purpose power system simulator, this is, you can use the software for simulating the power system. For optimization problems, you'll have to write a wrapper around the simulator for implementing the optimization. It has been done before by other users. For writing the wrapper you can use one of the following:

      1. The COM interface ( https://opendss.epri.com/COMInterface.html )
      2. Create your own API using the DirectDLL Shared Library/object ( https://opendss.epri.com/OpenDSSSharedlibrary-DirectDLL1.html )
      3. Use one of the third party APIs offered by other users:
        https://github.com/dss-extensions/AltDSS-Python
        https://pypi.org/project/py-dss-interface/
      4. Integrate the source code using either Delphi or C++.

      It all depends on how you would like to go. Among the different developments made by other users regarding optimizations like OPF, some are publicly available:

      https://researchrepository.ucd.ie/entities/publication/9c2c4f40-593c-42ec-bd38-103819f76d3f/details
      https://github.com/ValentinRigoni/Open-DSOPF

      Best regards,

       

      Last edit: Davis Montenegro 2024-12-30
      • XUAN

        XUAN - 2025-01-06

        Hi
        Is py-dss one of the available api?

         
        • wsunderm1

          wsunderm1 - 2025-01-06

          py-dss-interface is provided by a user of OpenDSS, and so is a third-party API.

           
          👍
          1

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.