How to make ‘demand’ a function of the user’s input

  • 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!


    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:


You must be logged in to reply to this topic.