If the question is how to model the physics of the environment, I don't think that's on-topic here.
If the question is about methods for controlling the physical environment, I'm not sure. It will probably depend on whether the question is best answered from a computer science perspective or has been studied by computer scientists. Traditionally In some areas (e.g., the US), control theory has been studied in electrical engineering departments rather than in computer science departments, so I'm not sure this site will be the best place for mostbut apparently in other areas (e.g., France), control theory is more closely associated with computer science. So, it's unclear to me where questions about PID controllers, control theory, and such should fall, but plausibly they could be on-topic here.