model calculation

From OSL Demo