changed g to be an analog port instead of a parameter for
ConstantIonPools component class