EnergyPlus has a GasEquipment object, that can be associated with a schedule. Here is the documentation for it.
GasEquipment