- This topic has 1 reply, 1 voice, and was last updated 1 year, 1 month ago by .
How to make ‘demand’ a function of the user’s input
You must be logged in to reply to this topic.
Hi guys,
I’ve just made a template for a light with the the unit being ‘#’. I want the operational energy to scale as the user enters a different number.
For example,
If the user enter’s ‘1’ the operational energy should be 90,000CO2e.
If they enter ‘2’, the operation energy should be 180,000CO2e.
If they enter ’10’, the operational energy should be 900,000CO2e.
.. and so on.
Is there a way to code this into the ‘demand’ section of the template? Currently it’s staying the same (i.e. the same as the user entering ‘1’) regardless of the input.
Any help would be much appreciated, cheers!
Chris
Hey guys,
Figured this one out. Using the expression ‘DTQ’ allows the emissions to scale with the user’s inputted number. Using DTQ with your formula in the input box will ensure that the emissions will scale depending on the user’s inputted figure.
The definition of DTQ on this page helped me a lot: https://support.etoollcd.com/index.php/knowledgebase/etool-lca-expressions-2/
Cheers
You must be logged in to reply to this topic.