We use oemof to model energy systems with several different energy carriers and nodes at different locations. We want to assign the location and energy carrier property to the single nodes to group and filter them for better processing and evaluation of results.
For the location we plan to realise this by adding location attributes to the single nodes (similar to the label attribute, but several nodes can have the same label attribute). Our idea is to implement this property in the node-class as any solph component inherits from this class. There might occur issues for grid elements because they require two location attributes.
For the energy carrier attribute we plan to add these properties to the inflow/outflow arguments. In a first step we plan to add this attribute in the bus class. This also allows to check if components of the same energy carrier are connected. Busses, sources, sinks, storages, network elements are only allowed to have the same energy carrier attribute for inflows/outflows. Transformers will have a unique energy carrier attribute for each inflow/outflow.
Before we start with the implementation, we want to know what you think of our approach? Or are there already developments in this field we can use? Are these feature for others of interest as well?