A method of modeling, simulating and controlling indoor air quality (IAQ) for a heating, ventilation, air conditioning, and refrigeration (HVACR) system , comprising: determining, by an analytical recognition system , behavior parameters for one or more individuals in an indoor space ; determining, by the analytical recognition system, spatial parameters of one or more objects in the indoor space; generating, by a model generator and/or a simulator , a model based on the behavior parameters and the spatial parameters; determining, by the simulator, a critical location of an airflow to disinfect the airflow for the indoor space; determining, by a risk evaluator , a risk assessment based on the behavior parameters, the risk assessment being indicative of a degree of a risk at a location for a period of time; wherein: when the risk assessment exceeds a maximum threshold, raising , by a controller, an alert; when the risk assessment is equal to or less than the maximum threshold, comparing the risk assessment with a second predetermined threshold; when the risk assessment is equal to or less than the second predetermined threshold, taking no action; when the risk assessment exceeds the second predetermined threshold and is within a first range, operating , by the controller, the HVACR system with a first configuration; when the risk assessment exceeds the second predetermined threshold and is within a second range higher than the first range, operating , by the controller, the HVACR system with a second configuration; when the risk assessment exceeds the second predetermined threshold and is within a third range higher than the second range, operating , by the controller, the HVACR system with a third configuration. determining, by an analytical recognition system , behavior parameters for one or more individuals in an indoor space ; determining, by the analytical recognition system, spatial parameters of one or more objects in the indoor space; generating, by a model generator and/or a simulator , a model based on the behavior parameters and the spatial parameters; determining, by the simulator, a critical location of an airflow to disinfect the airflow for the indoor space; determining, by a risk evaluator , a risk assessment based on the behavior parameters, the risk assessment being indicative of a degree of a risk at a location for a period of time; wherein: when the risk assessment exceeds a maximum threshold, raising , by a controller, an alert; when the risk assessment is equal to or less than the maximum threshold, comparing the risk assessment with a second predetermined threshold; when the risk assessment is equal to or less than the second predetermined threshold, taking no action; when the risk assessment exceeds the second predetermined threshold and is within a first range, operating , by the controller, the HVACR system with a first configuration; when the risk assessment exceeds a maximum threshold, raising , by a controller, an alert; when the risk assessment is equal to or less than the maximum threshold, comparing the risk assessment with a second predetermined threshold; when the risk assessment is equal to or less than the second predetermined threshold, taking no action; when the risk assessment exceeds the second predetermined threshold and is within a first range, operating , by the controller, the HVACR system with a first configuration; when the risk assessment exceeds the second predetermined threshold and is within a second range higher than the first range, operating , by the controller, the HVACR system with a second configuration; when the risk assessment exceeds the second predetermined threshold and is within a third range higher than the second range, operating , by the controller, the HVACR system with a third configuration. <EOS>