Calculation of Partition Functions by Measuring Component Distributions | Synapse