GithubHelp home page GithubHelp logo

dss-cosim's Introduction

Distribution system co-simulation with OpenDSS and DER controls

A sample co-simulation framework using HELICS with federates for a distribution network in OpenDSS and DER controllers.

Installation

Using Anaconda or conda:

  1. Create a conda environment with HELICS:
    cd <main path>/DSS_cosim
    conda env create
    

Without using conda:

  1. Install HELICS: conda install -c gmlc-tdc helics=2.2
  2. Install helics-cli: pip install git+https://github.com/GMLC-TDC/helics-cli.git@python-master#egg=helics-cli
  3. Install OpenDSS-wrapper (and OpenDSSDirect.py): pip install git+https://github.com/NREL/OpenDSS-wrapper#egg=OpenDSS-wrapper

Usage

To run the co-simulation:

  1. CD to the co-simulation directory: cd <main path>/DSS_cosim
  2. Run the command: helics run --path runner.json

By default, results files are saved to <main path>/results/

dss-cosim's People

Contributors

mnblonsky avatar

Watchers

James Cloos avatar National Renewable Energy Laboratory avatar  avatar  avatar

Forkers

pap212

dss-cosim's Issues

Could Not Execute helics run

Hello,

I was able to complete the installation, and activate the dss_cosim environment in Anaconda console. However, helics commands are not executing in the console.

image

This is a windows system.

Error when running this example

Error: Process federate1 has failed, killing other processes
Exception in thread Thread-1:
Traceback (most recent call last):
File "/Users/qhuang/.pyenv/versions/3.10.3/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
self.run()
File "/Users/qhuang/.pyenv/versions/3.10.3/envs/pycosim/lib/python3.10/site-packages/helics_cli/status_checker.py", line 43, in run
raise HELICSRuntimeError("Error has occurred")
helics_cli.exceptions.HELICSRuntimeError: Error has occurred

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.