A man who torched a model railway at a popular tourist attraction has been jailed for more than two and a half years.