When a public works project supplies its services to consumers who use solar or wind powered equipment as a source of energy, that public works project shall not discriminate against those consumers by its rates, fees or charges or by altering the availability or quality of energy. Any consumer who uses solar, wind power, or other auxiliary source of energy shall install and operate the equipment, property, or appliance for such energy source in compliance with any state or local code or regulation applicable to the safe operation of such equipment, property or appliance.