This function computes the selected quantity from state. r and rho_min are neddet for the quantities r/p_total and v respectively.
function getQuantity = ThermofluidStream.Sensors.Internal.getQuantity(redeclare package Medium = Medium);