Renewable Energy Compliance: Regulations, Safety, and International Codes