sedos-project / data_adapter_oemof

This respository holds the data adapters to connect oemof with the OEDatamodel-concrete.
GNU Affero General Public License v3.0
0 stars 1 forks source link

Detect default busses in mapper #24

Closed henhuy closed 1 year ago

henhuy commented 1 year ago

Default busses "bus" or "from_bus"/"to_bus" should be mapped using structure if possible. Thus, for single "bus" - look if there exists a single input our output - if so, use this as "bus". For "from_bus" and "to_bus" look if single inputs respectively single outputs entry exists and use this one.

This can only be done if mapping is 1:1

henhuy commented 1 year ago

This will save us time setting up "default" busses for every component