Heureka API .NET Documentation
Activate climate response model

Climate scenarios are stored as files and you can find them in the HeurekaAPI-project in a subfolder named EmbeddedData. When using this function, the ClimateModel control table parameter ApplyClimateResponse will set to true, meaning that simulations will be use the climate response model.

Active climate response model
Copy Code
        
var gc = new GrowthCalculator();
compartment.GrowthCalculator = gc;
gc.AddClimateScenario("EmbeddedData\\MPI 4.5.bin");

// or:
gc.AddClimateScenario(ApiClimateScenarioManager.MPI_45_FILE_NAME);

 

See Also