Open cmutel opened 1 month ago
@zoltanszocs really great work so far, here are some refinements:
"functional"=True
.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."
inputs
. This should not be allowed. Sorry if this wasn't clear before.
Some additional tasks taken from Slack:
exchange.output.allocate()
exchange.output.save()
output
type is multifunctional
:
exchange.output.allocate()
exchange.output.save()
- This is needed to purge orphaned allocated processes who shouldn't exist anymore
Feature request
The current way we create processes in the GUI needs to be tweaked. Instead of this:
We need to make the following changes:
New activity
->New process
.Duplicate activity
toDuplicate node
Delete activity
toDelete node
New process
should be changedNew process
product
with the name of the "reference product" from the creation panelNode
should take the "Reference product name" as "name", as well as "unit" and "location" attributes.exchange
on the new process:New product
, should be added to the contextual menu. This should pop up a menuUsers don't need to think about the
Database
type - this should be a reflection of the data in the database.functional
in one place, not both placesinputs
panel should have the column "functional"functional
edges (looking across both the inputs and outputs), then its type needs to change tomultifunctional
, and the database backend needs to change tomultifunctional
.multifunctional
, the left panel listing the nodes needs to be refreshed.functional
edge (looking across both the inputs and outputs), then its type needs to change toprocess
.