[docs]defnon_schema_checks(config):""" Do additional voluntary checks for config consistency. There's no real fixed list for what should be here. """p=config.parametersifp.Report_HIV_ByAgeAndGender:ifp.Report_HIV_ByAgeAndGender_Start_Year>(p.Base_Year+p.Simulation_Duration/365.0):raiseValueError("'Report HIV By Age And Gender' doesn't start before the simulation ends.")ifp.Report_HIV_ByAgeAndGender_Start_Year<p.Base_Year:raiseValueError("'Report HIV By Age And Gender' starts before the simulation.")ifp.Report_HIV_Infection:ifp.Report_HIV_Infection_Start_Year>(p.Base_Year+p.Simulation_Duration/365.0):raiseValueError("'Report HIV Infection' doesn't start before the simulation ends.")ifp.Report_HIV_Infection_Start_Year<p.Base_Year:raiseValueError("'Report HIV Infection' starts before the simulation.")return