Djordje answer that question for Gismo. If the height is provided, it is used. If that is not available, but the number of floors is available, the component will multiply that with a value that you can specify. If neither is available, the component looks at the range that you provide.
Elk doesn’t have a component that does all that for you but you can check which information is available in the osm file for each building and then apply the logic yourself. Tim Stark has provided a graph that does all that: