Scaling and truncating

Symbol

Usage & working

The scaling and truncating function takes an input and rescales it based on the detailed target values.

Example

to show how this block works, we have made a very simplistic model to use as an example. Here you see an input 1, which is 50% based upon the Source value 1 & 2 (0 - 2). The block now rescales this value between Target value 1 & 2 (0 - 4). 50% of 4 is 2 and hence, the output will become 2.

For another example, we’ll look to a more specific use of this block. Let’s look at the modulation of a heat pump. The supply temperature is measured and controlled to 50°C. This will send out a signal between 0 and 1, however, heat pumps are not able to run at a low modulation. They have a minimum modulation of 20%, hence, the signal between 0 and 1 is rescaled between 0.2 and 1. Note that this means the block will always send out 0.2 minimum, so if the heat pump needs to be off, a multiply is needed.