Skip to content

SuitabilityMaps

cicada edited this page Dec 7, 2022 · 7 revisions

title: SuitabilityMaps permalink: /SuitabilityMaps/

discrete_alloc function, argument 3: SuitabilityMaps

definition

SuitabilityMaps is the third argument of the discrete_alloc function.

This argument needs to refer to a container with as subitems attributes for each land use type.

These attributes define the suitability for the land use type for each land unit. It is advised to configure a monetary values unit (e.g. EuroPerHa) for these attributes.

The domain unit of these attributes need to be the LandUnitDomain.

applies

The values unit of the each SuitabilityMap with value type:int32

conditions

The names of the SuitabilityMap attributes need to match with the values of the TypeNames argument.

since version

5.15

example

container source {    container Suitability    {       attribute Living (GridDomain):         [         1 , 2,  5,  4,  3, 1,         2,  5,  8,  9,  7, 3,         4, 10, 12, 13, 12, 6,         5, 11, 13, 14, 12, 6,         4,  9,  9,  5,  3, 2,         2,  2,  4,  3,  1, 1        ];        attribute Working (GridDomain):        [         1, 1, 2,  3,  4,  6,         2, 3, 4,  6,  8,  9,         2, 4, 9, 11, 12, 10,         1, 3, 5,  9, 10,  6,         2, 4, 5,  5,  3,  2,         1, 1, 2,  1,  1,  1        ];        attribute Nature (GridDomain):        [         3, 3, 3, 2, 2, 2,         3, 3, 2, 2, 2, 2,         3, 2, 1, 1, 1, 1,         3, 2, 1, 1 ,1, 2,         3, 3, 2, 1, 2, 2,         3, 3, 3, 3, 3, 3        ];     } }

container Compacted {    unit ADomain := Subset(FreeLand = True), label = "allocation domain";

   unit SuitabilityMaps := Adomain    {       attribute Living  := Suitability/Living[ADomain/nr_orgEntity];       attribute Working := Suitability/Working[ADomain/nr_orgEntity];       attribute Nature  := Suitability/Nature[ADomain/nr_orgEntity];     } }

Clone this wiki locally