Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation request: Include example Jupyter notebook for load flow or transient simulation #37

Open
4 tasks done
sibyjackgrove opened this issue Oct 8, 2018 · 2 comments
Assignees

Comments

@sibyjackgrove
Copy link

Versions

  • Python version: 3.6
  • Python architecture: x64
  • Operating system and version: Windows 10
  • OpenDSSDirect.py version number: v0.3.4

Feature Request

Please include an example Jupyter notebook that shows how to do a load flow or transient simulation for a simple test system. It would be very helpful for new users to easily start using the package and understand the API.

@kdheepak kdheepak self-assigned this Oct 8, 2018
@kdheepak
Copy link
Member

kdheepak commented Oct 8, 2018

Thanks for posting here. As a first suggestion, you can pass any OpenDSS command to the run_command function in OpenDSSDirect.py.

import opendssdirect as dss
dss.utils.run_command("""
Redirect ./path/to/circuit.dss
Solve
New Load.Load123 kW=30
Solve
""")

So if there's an example of doing what you want in OpenDSS, you can try it with OpenDSSDirect.py.

I'll add more examples as notebooks.

@sibyjackgrove
Copy link
Author

Thanks for posting here. As a first suggestion, you can pass any OpenDSS command to the run_command function in OpenDSSDirect.py.

import opendssdirect as dss
dss.utils.run_command("""
Redirect ./path/to/circuit.dss
Solve
New Load.Load123 kW=30
Solve
""")

So if there's an example of doing what you want in OpenDSS, you can try it with OpenDSSDirect.py.

I'll add more examples as notebooks.

Thanks, I'll try these commands out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants