converter chain to convert from ginsim to PH