In reply to dave_59:
Thanks Dave. That should work although some simulators dont allow power (**) in constraints.