First time here? Check out the Help page!
If you need to control refrigeration, then your best option may be using the Energy Management System (EMS) feature of EnergyPlus. There is an EMS Actuator option for the Refrigeration:System
object, but only to override the Minimum Condensing Temperature input field. If you use this approach, it may be a good idea to include the controls of everything else (lights, computers, etc.) in your EMS objects and routines.
You can read more in this post.