/
ThermalOutput Block

ThermalOutput Block

ThermalOutput

Starting from pulse input and defined both scaling and scalingMultiplier, the pulse input is used to define a pulsesPerInterval variable.

The pulsesPerInterval variable can be scaled in order to calculate the amount of heat per pulse by defining both scaling and scalingMultiplier.

FAST and NORMAL routine cycles are suggested. Consider SLOW routine cycle only when thermalOutputCalculationInterval is bigger than 10 seconds.

The thermalOutputCalculationInterval input defines the cycle of the output.

The output of this block is the thermal output expressed in kWh, calculated by the following formula:

( ( scaling * 10^(scalingMultiplier) ) * pulsesPerMinute ) / (depending on  thermalOutputCalculationInterval)

A pulse is valid when the pulse input goes from FALSE to TRUE (rising edge detection) and the pulse counter is reset every thermalOutputCalculationInterval.

Output value is updated every thermalOutputCalculationInterval.

Input:

  • pulse (boolean)

  • scaling (number)

  • scalingMultiplier (number)

  • thermalOutputCalculationInterval (duration)  [unit: seconds, minutes, hours, days]

Output:

  • result (number) [unit: kWh]

Related content

Logic Builder Blocks
Logic Builder Blocks
Read with this
AmountOfHeat Block
AmountOfHeat Block
More like this
GB JavaScript Tips
GB JavaScript Tips
Read with this
DeltaAmountOfHeat Block
DeltaAmountOfHeat Block
More like this
Enthalpy Block
Enthalpy Block
More like this
Thermostat
Thermostat
More like this