Comments (3)
Good question. I have generally sent back what the model assumes about those variables. So, for the DC model I would send back voltage = 1 and reactive power = 0. Not sure what that should mean for SOC... I think it would be safe to send back nothing?
from powermodels.jl.
The convention I have been using thus far is that within a problem domain (say OPF), the there are no optional data fields in the output format. In the case of OPF all outputs must define a value for v, theta, p, and q. The benefit is that codes that process these outputs don't need to know anything about the underlying model and don't need to do a lot of key-existence checking.
Given that values are not optional, the general rule of thumb has been that if a model does not represent that particular data, the value is NaN ("undefined" would be better, but NaN is all we got...). In the DC OPF case, all of the q values NaN. The v values in DC OPF are a notable exception, the way I see v is that it is implicitly 1.0, and simply not represented in the formulation as a variable. So in this case, we output 1.0 instead of NaN.
So now moving on to the relaxations, which do not have an explicit theta variable (e.g. SDP, SOC, DistFlow, ...), the key question is, is their value of theta "undefined" (i.e. NaN), or one of these implicitly special cases, like a voltage in the DC.
My current inclination is that theta is NaN in these models. The reason is, if you try to re-derive the line flows with theta = 0 at all buses, the result would be incorrect. And due to the "virtual phase shifter" property, on cyclic networks there is rarely an assignment of theta that is consistent with the values of the voltage variables in these models.
from powermodels.jl.
Has been addressed by new solution reporting convention in PowerModels v0.15 and and solution post-processor feature.
from powermodels.jl.
Related Issues (20)
- DCPLL Support for Power Flow Formulations
- Support for Duals of All Constraints
- Drop Support for Run Functions
- Remove obsolete use of `branch_flows` setting
- Ask the question about SOCP model calculations in PowerModels HOT 1
- Generator reactive power limits in PowerModels function compute_ac_pf!() HOT 2
- Not able to solve pti model HOT 1
- solving problems with non-Float64 types HOT 5
- solve_pf() does not work with LPACCPowerModel HOT 3
- There are some doubts about the results of the experiments in the documentation
- Issue with reading Voltage source converter data from PSSE RAW file
- Move data parser to seperate package HOT 2
- Logic makes impedance 0.0 HOT 2
- Precompiling
- Installation of PowerModels with Ipopt support fails on MUSL based systems (Alpine) due to Ipopt HOT 3
- Problem Installing Panda Models HOT 2
- How should solutions report square voltage variables for parallel lines HOT 4
- Potential bug in on_off constraints for dcp.jl HOT 5
- use of Pandapower network in PowerModels.jl HOT 3
- Documentation: DCPPowerModel description text HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from powermodels.jl.