activity-browser icon indicating copy to clipboard operation
activity-browser copied to clipboard

Copy to clipboard (SDF format) should merge same exchanges

Open marc-vdm opened this issue 9 months ago • 0 comments

Updating AB

  • [X] Yes, I have updated AB and still experience this issue

What happened?

edit: I'm actually not sure what happens here, perhaps the scenario data is written to both exchanges? We should investigate further before implementing fixes.


Multiple exchanges can exist between two processes (e.g. 2 separate electricity flows, because the modeler knows there are 2 flows for 2 different machines, and wants to keep the numbers separate).

Scenario flows only allow 1 unique flow (per direction) between two processes, the last one read is kept, the others are ignored.

To avoid problems, AB should (when copying to clipboard in SDF format, see image below) merge multiple flows into one flow.

image

So in AB this: image Now becomes this: image But should instead become 1 row, summing the numbers

Note: This is not a problem for combinations of production and flow to self as those are handled by AB code internally already (see #855 and #841).

Relevant errors

No response

Operating system

Windows 10

Conda environment

No response

marc-vdm avatar Nov 06 '23 09:11 marc-vdm