Set state fill parameter for the empty part of a tank as a function
a