Skip to content

tdcosim/TDcoSim

Repository files navigation

Status: Expect regular updates and bug fixes.

Technical support: support.tdcosim@anl.gov

Utility to perform Co-Simulation of Transmission, and Distribution systems with DER's

TDcoSim (T & D co-simulation tool) is a Python package that can be used to perform co-simulations containing a transmission system simulator (TSS), multiple distribution system simulator (DSS) instances, and multiple solar PV-DER instances.

For a more detailed introduction of TDcosim, please refer to introduction flyer and introduction video.

The key features include:

  • Transmission system modeling using PSS®E
  • Distribution system modeling using OpenDSS
  • Detailed dynamic DER modeling using PVDER
  • Support for static and dynamic simulation
  • Built-in data visualization and data analytics tools
  • Capable of simulating large interconnections (250K+ T&D nodes).

schematic of TDcoSim

It is capable of both static and dynamic co-simulations for power systems models containing hundreds of transmission buses, distribution feeder nodes, and DERs.

The example cases include:

  • Study impact of aggregated DER model parameters
  • Study impact of DER penetration on T&D systems
  • Post-contingency analysis of faults involving DER
  • Study impact of DER interconnection standards

Links

Installation

You can install tdcosim by running the following command on command line.

pip install git+https://github.com/tdcosim/TDcoSim.git@master

In the event you do not have git installed on your machine, you can alternatively run the following from command line.

pip install https://github.com/tdcosim/TDcoSim/archive/master.zip

After installation open a new command prompt and run the following to set psse path,

tdcosim setconfig -p "path\to\psse_installation"  

If PSSE 35 is being used the following may be used:

tdcosim setconfig -p "C:\Program Files\PTI\PSSE35\35.0\PSSPY37" 

If PSSE 33 is being used the following may be used:

tdcosim setconfig -p "C:\Program Files (x86)\PTI\PSSE33\PSSBIN" 

Due to the embedded compatibility requirements between PSSE and Python, please refer to the following compatibility table and the PSSE API document that located in the Doc folder on PSSE install location when paring PSSE with Python.

It should be noted that the table below is a subset of all successful combinations from our team’s development environment, and it is crucial to set the PSSE installation path properly so that the module PSSPY can be located.

Compatibility Table PSSE-Python

Dependencies:

  • External software: PSS®E, OpenDSS
  • Python packages: pvder, SciPy, Numpy, Matlplotlib, PyWin

Quick start

The config.json file provided in the examples folder can be used to do a co-simulation after editing the path names (with any text editor). Then open a command line prompt and use the following commands to to run a co-simulation. Note that config_td.json could be replaced by the name of any other configuration file.

   tdcosim run -c ".\examples\config_td.json"

To visualize the co-simulation results using the dashboard, please refer to visualization and analytics section

Detailed documentation on running a co-simulation may be found within the user guide. Additional examples are available here.

Package details

Technical information on the package can be found here:

  1. T&D Co-simulation
  2. Software components

Issues & Support

Please feel free to raise an issue for bugs or feature requests or reach out to support.tdcosim@anl.gov.

Who is responsible?

Project PI:

Core developers:

Co-developers:

Previous contributors:

Acknowledgement

We want to acknowledge Shrirang Abhyankar for his contributions to the code base development.

We would like to recognize the support of the EPRI technical team led by Roger Dugan and Davis Montenegro and the use of the EPRI OpenDSS open source software.

This project is supported by Ali Ghassemian and Dan Ton, U.S. DOE Office of Electricity, Advanced Grid Research and Development.

Citation

If you use this code please cite it as:

@misc{TDcoSim,
  title = {Transmission and Distribution System Co-simulation Tool}: A co-simulation utility},
  author = "{Karthikeyan Balasubramaniam, Sang-il Yim, Ning Kang}",
  howpublished = {\url{https://github.com/tdcosim/TDcoSim}},
  url = "https://github.com/tdcosim/TDcoSim",
  year = 2019,
  note = "[Online; accessed 23-August-2019]"
}

Copyright and License

Copyright © 2019, UChicago Argonne, LLC

Transmission and Distribution System Co-simulation Tool (TDcoSim) is distributed under the terms of BSD-3 OSS License.

About

T&D co-simulation package

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages