NREL / ditto

DiTTo is a Distribution Transformation Tool that aims at providing an open source framework to convert various distribution systems modeling formats.
https://nrel.github.io/ditto/
BSD 3-Clause "New" or "Revised" License
67 stars 35 forks source link

Opendss writer: add unbalanced loads #408

Open nlaws-camus opened 1 year ago

nlaws-camus commented 1 year ago

currently the opendss writer sums up all phase loads to place them on a bus (which implies that loads are balanced equally on each phase at each bus): https://github.com/NREL/ditto/blob/8d0d7a5ddf71532d6d716b617dc57f84d810d7ea/ditto/writers/opendss/write.py#L1887-L1890 this PR allows for defining individual phase loads by creating New Load for each PhaseLoad.

nlaws-camus commented 1 year ago

@tarekelgindy review this after https://github.com/NREL/ditto/pull/401 is merged (o.w. unnecessary changes show up in this PR)