Text this: Analog models for ternary combinational logic elements