hollorol / RBBGCMuso

RBBGCMuso is a software package that supports the application of the Biome-BGCMuSo biogeochemical model.
GNU General Public License v2.0
20 stars 11 forks source link

sensitivity troubles #27

Open yangfan623 opened 2 months ago

yangfan623 commented 2 months ago

Dear professor, When I start the sensitivity analysis by the function musoSensi, there was an unexpected problem as below: musoSensi(iterations = 10000, varIndex = 1) Error in depTableMaker(constMatrix, parameters) : All group members of the group (6) have to be in parameters if sourceFile not(epc file) I am confused in this problem. Sorry to bother you , and hope to get your respond early!

hollorol commented 2 months ago

Dear Yangfan, The problem is known. It is a documentation issue. There are parameters which are interdependent so you cannot change them one by one. For the other parameters in the dependency group you have to fix the parameter at the current value by setting the min and max to the same. This is group 6:

 [ {
    "X": 37,
    "NAME": "fine root labile proportion",
    "INDEX": 45,
    "UNIT": "prop",
    "MIN": 0.1,
    "MAX": 0.6,
    "DEPENDENCE": 1,
    "GROUP": 6,
    "TYPE": 2
  },
  {
    "X": 38,
    "NAME": "fine root cellulose proportion",
    "INDEX": 46,
    "UNIT": "prop",
    "MIN": 0.1,
    "MAX": 0.6,
    "DEPENDENCE": 1,
    "GROUP": 6,
    "TYPE": 2
  }]