PowerModelsDistribution supports parsing OpenDSS format files. In particular, we support a raw parsing of all OpenDSS specified components into a dictionary (serializable) structure, and support converting the data values of a smaller subsection of components into their expected types. Those include
- Capactior (shunt capacitors only)
Of those, a subset of configurations are converted into a PowerModelsDistribution internal data model, namely:
- line (from lines and line reactors)
- transformer (arbitrary winding, all connections except zig-zag)
- switch (from lines w/ switch=y)
- solar (from PVSystem)
- load (incl. support for constant
- shunt (from shunt capacitors and shunt reactors)
- time_series (from loadshapes)
Several notes about the specific design choices w.r.t. OpenDSS are explained below.
The default connection to the transmission system is modeled as an ideal voltage source named "source" in OpenDSS, which is connected by default to a node named "sourcebus", but this can be changed.
Although Lines and Linecodes are supported, the more generic LineGeometry is not yet supported.
Unfortunately, in the OpenDSS format, multi-phase transformers with different taps for each phase are not explicitly supported, so to work around this limitation multiple single phase transformers should be defined, which are then "banked" together using the
Capacitors and reactors are supported as shunts, although shunts to ground via delta connections are not yet supported. Furthermore, generic reactors are not supported, only those whose second terminal is connected to ground (default for unspecified second terminal). Reactors are also supported as a resistanceless line if their second terminal is connected, but only for topological continuity of the network.