domokane / DicePy

DICE climate integrated assessment model
GNU General Public License v3.0
6 stars 3 forks source link

Scenarios #1

Closed LillyPHIL closed 2 years ago

LillyPHIL commented 2 years ago

Hey domokane,

I'm currently working on a project using the model but unfortunately, the "scenarios" script says it has not enough "arguments" for the output function; is it my mistake? or does it in general not work ?

All the best and thx


TypeError Traceback (most recent call last) ~/Downloads/DicePy-master/dicepy/run_scenarios.py in 57 x_start = np.concatenate([MIU_start, S_start]) 58 ---> 59 output = simulateDynamics(x_start, *args) 60 61 dumpState(years, output, "./results/scenarioOutput.csv")

TypeError: not enough arguments: expected 46, got 43

domokane commented 2 years ago

Don't use that - use run_optimizer.

LillyPHIL commented 2 years ago

Thanks a lot, I did and it worked out well but I'd need to simulate different scenarios of climate change mitigation policy as well?