cauldron / activity-browser

GUI for Brightway
GNU Lesser General Public License v3.0
0 stars 3 forks source link

Creation of `multifunctional` processes and databases #47

Open cmutel opened 1 month ago

cmutel commented 1 month ago

Feature request

The current way we create processes in the GUI needs to be tweaked. Instead of this:

Screenshot 2024-10-07 at 06 15 32

We need to make the following changes:

Screenshot 2024-10-07 at 06 28 59
new_process_node.new_edge(
    input=new_product_node,
    type=bw2data.labels.production_edge_default,
    amount=1,
)

Users don't need to think about the Database type - this should be a reflection of the data in the database.

cmutel commented 1 month ago

@zoltanszocs really great work so far, here are some refinements:

In this case, if there is no possible allocation strategy, we should instead show a modal popup with the message: "This database now has a multifunctional process. In order to do calculations correctly, we need to define a default allocation; however, there are no properties available for all products. Defaulting to equal allocation, please add product properties and then select a different allocation method."

cmutel commented 1 month ago

Some additional tasks taken from Slack: