On a diagram, display or create Measurement properties (Measurements will be used as arguments or result of calculation). The owner of the Measurements will be the same as for the diagram.
Define types for the measurements (e.g. Primitive types like Integer, Real.)
Create the Constraint Property which type should be Constraint Block (create new or select existing).
Once type is set, define the calculation formula in the curly brackets in the diagram.
Create the Constraint Parameters for each member of the formula in the Constraint Property.
Use Binding Connector to connect Measurements to the proper Constraint Parameter.