/// Implement function DetermineExecutionRenovationProject below. /// With this function you can order whether to execute a renovation for . /// The function will be called for every house, for every simulation year and for every renovation type that has not yet been executed until then for that house. /// The following renovations types exist: /// RenovationProjectType.SolarPanel, /// RenovationProjectType.DoubleGlazedWindows, /// RenovationProjectType.MajorRenovation, /// RenovationProjectType.MinorRenovation, /// RenovationProjectType.ReplacementOfKitchen, /// RenovationProjectType.RebuildFlat, /// RenovationProjectType.RebuildTerracedHouse, /// RenovationProjectType.RebuildSemiDetachedHouse. /// /// Please check the handouts for detailed information about the projects. /// /// The following variables can be useful: /// Economy.CurrentYear The current year (counted as 1,2,3,4...) /// renovationProjectType The project type of the supplied project. See the handouts for details per project /// HousingAssociation.SolvencyRatio The current solvency ratio of the housing association, which must remain above 0.2 (=20%) /// public override bool DetermineExecutionRenovationProject(House house, RenovationProjectType renovationProjectType) { //if (Economy.CurrentYear == 3 && renovationProjectType == RenovationProjectType.DoubleGlazedWindows) //{ // return true; //} return(false); }
public abstract bool DetermineExecutionRenovationProject(House house, RenovationProjectType renovationProjectType);