setParam: Set the parameters used when build the MDP model

Description Usage Arguments Value

View source: R/paramModels.R

Description

Set the parameters used when build the MDP model

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
setParam(
  opNum = 2,
  tMax = 14,
  StartDay = 13,
  LastDay = 30,
  opSeq = c(1, 2),
  opD = c(6, 4),
  opE = c(1, 1 + opD[1]),
  opL = c(tMax - opD[2], tMax),
  opDelay = c(0, 0, 0),
  opFixCost = c(1000, 1000),
  watTh = c(50, 50),
  coefLoss = 0.3,
  priceYield = 10,
  machCap = 50,
  yieldHa = 100,
  fieldArea = 100,
  coefTimeliness = 0.01,
  costSkip = 80000,
  watUpper = c(37, 37),
  watLower = c(28, 28),
  weightCompletion = 1,
  weightWorkable = 1,
  weightTraffic = 1,
  minOpt = 18,
  maxOpt = 23,
  BetaM1 = 0.7,
  Lambda = 2.465,
  Gama = 0.667,
  c_Pos = c(6.108, 0.4437, 0.01429, 0.0002651, 3.031e-06, 2.034e-08, 6.137e-11),
  c_Neg = c(6.109, 0.5035, 0.01886, 0.0004176, 5.825e-06, 4.839e-08, 1.839e-10),
  centerPointsAvgWat = c(20.94923, 23.82599, 26.70275, 29.57951, 32.45627),
  centerPointsAvgMat = c(34.4775, 97.7237, 160.9699, 224.2161, 287.4623),
  centerPointsSdWat = seq(1, 1, by = 1),
  centerPointsSdPos = c(0.005, 0.03, 0.1),
  centerPointsMeanPos = seq(0.8, 1.2, by = 0.15),
  centerPointsTem = c(10.723224, 14.70236, 18.681497),
  centerPointsPre = c(4.55625, 10.63125, 16.70625, 22.78125),
  centerPointsGlobRd = c(69.98952, 134.13013, 198.27074),
  centerPointsEvap = c(11.182115, 23.541657, 37.661322),
  temMeanDry = 14.34038,
  temMeanWet = 14.20856,
  temVarDry = 2.15906,
  temVarWet = 4.20047,
  GRdMeanDry = 165.5937,
  GRdMeanWet = 100.3606,
  GRdVarDry = 749.9474,
  GRdVarWet = 1836.803,
  EvapMeanDry = 2.498701,
  EvapMeanWet = 1.495789,
  EvapVarDry = 0.1684589,
  EvapVarWet = 0.4023626,
  dryDayTh = 0.25,
  precShape = 0.2872144,
  precScale = 7.689959,
  prDryWet = 0.3880316,
  prWetWet = 0.7106343,
  hydroWatR = 0.01,
  hydroWatS = 0.439,
  hydroM = 15,
  hydroKs = 12.061,
  hydroLamba = 0.085 * log(hydroKs) + 0.1574,
  hydroFi = 54.727 * log(hydroKs) - 323.9,
  hydroETa = -2,
  hydroETb = 1.26,
  hydroETx = 0.25,
  hydroVanAlpha = 0.0314,
  hydroVanM = 0.1528,
  hydroVanN = 1.1804,
  hydroBulkDensity = 1.7,
  gSSMW = 0.063,
  gSSMV = 9,
  gSSMm0 = 1,
  gSSMc0 = 0.001,
  nGSSMm0 = 4,
  nGSSMc0 = 2,
  nGSSMK = 20,
  rewRisk = TRUE,
  check = FALSE
)

Arguments

opNum

Number of operations for scheduling

tMax

Maximum length of growing cycle

StartDay

The first day of growing cycle

LastDay

The last day of growing cycle

opSeq

A vector showing operations indexes and sequence

opD

A vector showing the time needed to complete operation (obtained by machine capacity and the field area)

opE

A vector showing earliest start time of operations

opL

A vector showing latest start time of operationss

opDelay

A vector including the delay times after finishing the operations (except the last operation)

opFixCost

A vector including the fixed costs of tillage operations

watTh

A vector including threshold values used as the optimal level of soil-water content for performing tillage operations

coefLoss

Coeficiant showing yield reduction when soil-water content is not appropriate

priceYield

Price per kg yield (DDK)

machCap

A vector showing the machine capacity for tillage operations

yieldHa

Estimated yield per hetar in field (kg)

fieldArea

Area of field (ha)

coefTimeliness

Timeliness Coeficiant showing yield reduction resulting from postponing a tillage operation.

costSkip

Cost of skipping tillage operations for the current cropping period

watUpper

Upper limits of water content for workability criterion calculated based on the method in http://www.sciencedirect.com/science/article/pii/S0167198700001549

watLower

Lower limits of water content for workability criterion calculated based on the method in http://www.sciencedirect.com/science/article/pii/S0167198700001549

weightCompletion

Weight of the completion criterion used in the reward function of the MDP.

weightWorkable

Weight of the workability criterion used in the reward function of the MDP.

weightTraffic

Weight of the trafficability criterion used in the reward function of the MDP.

minOpt

The lower tail of the interval related to the best time period for finishing tillage operations.

maxOpt

The upper tail of the interval related to the best time period for finishing tillage operations.

BetaM1

Parameter used to calculate evatranspiration.

Lambda

Parameter used to calculate evatranspiration.

Gama

Parameter used to calculate evatranspiration.

c_Pos

Coefficient to determine evatranspiration.

c_Neg

Coefficient to determine evatranspiration.

centerPointsAvgWat

Center points for discritization of estimated mean of soil-water content using historical weather data.

centerPointsAvgMat

Center points for discritization of estimated mean of matric water potential using historical weather data.

centerPointsSdWat

Center points for discritization of estimated standard deviation of soil-water content

centerPointsSdPos

Center points for discritization of estimated standard deviation of posterior distribution in SSM

centerPointsMeanPos

Center points for discritization of estimated mean of posterior distribution in SSM

centerPointsTem

Center points for discritization of weather forecast data regarding air temperature

centerPointsPre

Center points for discritization of weather forecast data regarding precipitation

centerPointsGlobRd

Center points for discritization of weather forecast data regarding global radiation

centerPointsEvap

Center points for discritization of weather forecast data regarding evatranspiration

temMeanDry

Mean of air temprature in dry days (http://link.springer.com/article/10.1007/BF00142466).

temMeanWet

Mean of air temprature in wet days (http://link.springer.com/article/10.1007/BF00142466).

temVarDry

Variance of air temprature in dry days (http://link.springer.com/article/10.1007/BF00142466).

temVarWet

Variance of air temprature in wet days (http://link.springer.com/article/10.1007/BF00142466).

GRdMeanDry

Mean of global radiation in dry days

GRdMeanWet

Mean of global radiation in wet days

GRdVarDry

Variance of global radiation in dry days

GRdVarWet

Variance of global radiation in wet days

EvapMeanDry

Mean of evatranspiration in dry days

EvapMeanWet

Mean of evatranspiration in wet days

EvapVarDry

Variance of evatranspiration in dry days

EvapVarWet

Variance of evatranspiration in wet days

dryDayTh

Threshold of precipitation amount for being a dry day (http://link.springer.com/article/10.1007/BF00142466).

precShape

Shape parameter of gamma distribution for precipitation amount (http://link.springer.com/article/10.1007/BF00142466).

precScale

Scale parameter of gamma distribution for precipitation amount (http://link.springer.com/article/10.1007/BF00142466).

prDryWet

Probability of a wet day when the previous day is dry (http://link.springer.com/article/10.1007/BF00142466).

prWetWet

Probability of a wet day when the previous day is wet (http://link.springer.com/article/10.1007/BF00142466).

hydroWatR

Residual soil moisture value (http://onlinelibrary.wiley.com/doi/10.1002/hyp.6629/abstract).

hydroWatS

Soil moisture value at saturation (http://onlinelibrary.wiley.com/doi/10.1002/hyp.6629/abstract).

hydroM

Parameter used in the infiltration process of rainfall-runoff model (http://onlinelibrary.wiley.com/doi/10.1002/hyp.6629/abstract).

hydroKs

Saturated hydralic conductivity used for drainage process in the rainfall-runoff model (http://onlinelibrary.wiley.com/doi/10.1002/hyp.6629/abstract).

hydroLamba

Parameter used for drainage process in therainfall-runoff model (http://onlinelibrary.wiley.com/doi/10.1002/hyp.6629/abstract).

hydroFi

Parameter used in the infiltration process of rainfall-runoff model (http://onlinelibrary.wiley.com/doi/10.1002/hyp.6629/abstract).

hydroETa

Parameter used for evapotranpiration process in the rainfall-runoff model (http://onlinelibrary.wiley.com/doi/10.1002/hyp.6629/abstract).

hydroETb

Parameter used for evapotranpiration process in the rainfall-runoff model (http://onlinelibrary.wiley.com/doi/10.1002/hyp.6629/abstract).

hydroETx

Parameter used for evapotranpiration process in the rainfall-runoff model (http://onlinelibrary.wiley.com/doi/10.1002/hyp.6629/abstract).

hydroVanAlpha

Parameter used in van Genuchten equation to calculate the matric water potensial (http://www.sciencedirect.com/science/article/pii/S0016706198001323)

hydroVanM

Parameter used in van Genuchten equation to calculate the matric water potensial (http://www.sciencedirect.com/science/article/pii/S0016706198001323)

hydroVanN

Parameter used in van Genuchten equation to calculate the matric water potensial (http://www.sciencedirect.com/science/article/pii/S0016706198001323)

hydroBulkDensity

Parameter used to change the unit of soil-water content from kg/kg to cm^3/cm^3(http://www.sciencedirect.com/science/article/pii/S0016706198001323)

gSSMW

System variance of Gaussian SSM.

gSSMV

Observation variance of Gaussian SSM.

gSSMm0

Initial posterior mean of Gaussian SSM.

gSSMc0

Initial posterior variance of Gaussian SSM.

nGSSMm0

Initial posterior mean of non-Gaussian SSM.

nGSSMc0

Initial posterior mean of non-Gaussian SSM.

nGSSMK

Number of observations in non-Gaussian SSM.

rewRisk

A boolean variable specifing to calculate the reward based on cost parameters or the satisfaction level for trafficability, workability and completion criteria.

check

Check model e.g. do trans pr sum to one.

Value

A list containing all the parameters used in three-level MDP


ParisaBagheriTookanlou/FieldReadiness documentation built on Dec. 18, 2021, 6:40 a.m.