simulate astronomical events