The Units diagram model can be created in the Ptolemy II schematic editor called Vergil, as shown below:
Vergil is in fact an editor for MoML, an XML schema used by Ptolemy II to represent models. The XML for the Units diagram model is shown below: