GithubHelp home page GithubHelp logo

junbozhao / cyme_to_opendss_asu Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thakars/dismott

0.0 0.0 0.0 123 KB

Distribution System Model Transformation Tool: Used to convert CYME model (CYME 8.XX) to an OpenDSS model. This tool was created at Arizona State University as a part of their projects.

License: BSD 3-Clause "New" or "Revised" License

Python 100.00%

cyme_to_opendss_asu's Introduction

DISMOTT

Developed by Karen Montano and Sushrut Thakar

Distribution System Model Transformation Tool: Used to convert CYME model (CYME 8.XX) to an OpenDSS model. This tool was created at Arizona State University as a part of their projects.

The level of accuracy of this tool is above 99% - power flow results comparison between CYME and OpenDSS. This tool was tested in several (>5) utility's feeders.

Usage of the tool

To use the tool the following steps should be addressed:

  1. Main code (MainScript_DISMOTT.py):

a. (29) Replace 'Casename' by your casename and create a folder with this name at the same location as input '.txt. files (equipment.txt, load.txt and network.txt).

b. (30 - 32) Write the '.txt' file names accordingly.

c. (72) Choose how the line impedances are calculated:

'Definitions': User should know the cable types and their cable and wire parameters, this information may be contained in CYMEDIST. This has to be configured in the 'OpenDSS_Writer_DISMOTT.py' (read points 2 and 3 in 'TODOS.txt').

'Impedances': Impendance data taken directly from Cymedist for cable and wire definitions. User should export the impedaces from CYMEDIST in a '.csv' file to be readed by the code. The '.csv' files readed should have the following column order (columns no specified can have any data): Column C: Equipment Id F: Phase J: #parallel U: Concentric Neutral V: Line R1 (ohms) W: Line X1 (ohms) X: Line B1 (uS) Y: Line R0 (ohms) Z: Line X0 (ohms) AA: Line B0 (uS)

d. (73) If 'Impedances' is choses in previous step, write '.csv' file name accordingly. If 'Definitions' is selected, this does not affect.

  1. Reader code (Cyme_Reader_DISMOTT.py): There is no change needed*.

*User should verify that all the sections in their '.txt. files (equipment.txt, load.txt and network.txt) are been readed, if so, no changes are needed. If user find a section is not been reading, user should add the section to be read in the code.

  1. Writer code (OpenDSS_Writer_DISMOTT.py):

a. (50 - 69) The OpenDSS writer would create all the files specified here, however, some of them would be blank acording to the impedances definition selected in 1c.

b. (begining 260) If 'Definitions' is selected in 1c, user shoud use the cable layout there to fill the information necesary for all cable types in their system.

c. (390) If one or more cables have R1=0, cables name must be specified here.

d. (549) Select the loadmodel number from CYMEDIST. This can be found in the table [LOAD MODEL INFORMATION] in 'load.txt' file. The defaulf is '1'.

e. (660) Select the loadmodel name from CYMEDIST. This can be found in the table [LOAD MODEL INFORMATION] in 'load.txt' file. The defaulf is 'DEFAULT' (change 'LoadModelName').

Other information

  1. System units is configured in meters.
  2. User must install the following packages in Python to use the code: numpy

cyme_to_opendss_asu's People

Contributors

kvmontan avatar thakars avatar

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.