aayushGaur / stac

Steady-State AC Network Visualization in the Browser - Developed at DATA61/Faculty of IT, Monash University - as a part of the summer research project.
http://immersive.erc.monash.edu.au/stac/
MIT License
16 stars 13 forks source link

Highlight buses on voltage limits #23

Open AliHeggie opened 8 years ago

AliHeggie commented 8 years ago

Is it possible to add a feature to the validation mode to highlight buses that on their voltage limits. Perhaps change the bus colour to red if at the upper voltage limit and blue on the lower limit.

ccoffrin commented 8 years ago

Hi Ali,

Thanks for the suggestion. STAC's validation view currently highlights buses the exceed their voltage limits. This behavior is consistent with the other warning messages in STAC.

We could add a new feature that highlights when a constraint is "tight", i.e. the operating value is "equal" to the constraint limit. However, doing strict equality tests on floating point computations is non-trivial, so I think such a feature would be more problematic than helpful.

AliHeggie commented 8 years ago

Hi, yeah I see what you mean. To give you an idea of why I thought this might be helpful, I have been trying cases where the power flow is the result of an OPF, so necessarily there should not be any constraint violations, but the optimizations tends to push control parameters up to their limits of feasibility.

So I suppose this is quite a different objective to what the Validation view is for. If this feature was to be included perhaps it would make sense for it to be in a third view rather than Validation.