tdcosim / TDcoSim

T&D co-simulation package
Other
23 stars 8 forks source link

Feature request: Voltage Violation for Distribution System #33

Closed Kumarsinh closed 3 years ago

Kumarsinh commented 3 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen.

I think we can show a plot showing all nodes that face voltage violations during the time period. Here are the steps to follow:

1) Identify all nodes that face at least one voltage violation during the time [0,t]. We will only plot nodes that face voltage violations in the distribution system and not show nodes that do not face voltage violations.

2) Plot voltage overtime for all those nodes showing voltage trajectories.

3) Highlight valid voltage values either by 1) shading the background grey for [0.95 to 1.05] voltage values or 2) Drawing horizontal lines at low and high voltage violation limits.

sibyjackgrove commented 3 years ago

@Kumarsinh Thank you for the feature request.

Identify all nodes that face at least one voltage violation during the time [0,t]. We will only plot nodes that face voltage violations in the distribution system and not show nodes that do not face voltage violations. Plot voltage overtime for all those nodes showing voltage trajectories.

This is is what is being done by show_voltage_violations_der()

Highlight valid voltage values either by 1) shading the background grey for [0.95 to 1.05] voltage values or 2) Drawing horizontal lines at low and high voltage violation limits.

Drawing horizontal lines for low and high voltage violation limits have been added with the latest commit 9838a6c1920b43286fcaad74fc4e8f0789ae78b5