Can triangular uncertainty and scenario parameters be defined in Jupyter Notebook (BW) and imported to AB? #83
Unanswered
Ronja-Oerbeck
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have been defining some parameters in Jupyter Notebook and importing the parameters, their values, loc, minimum and maximum to my project in Activity Browser. I would also like to import the uncertainty type as triangular uncertainty but I cant seem to make it work. Does anyone know how to do this?
project_data = [
{
'name': f'{key.replace("", " ").title().replace(" ", "")}_C',
'amount': Cotton[key][2],
'loc': Cotton[key][2],
'minimum': Cotton[key][0],
'maximum': Cotton[key][1]
} for key in keys
]
parameters.new_project_parameters(project_data)
Also, does anyone know if it is possible to define scenario parameter values in Jupyter and import to AB?
Beta Was this translation helpful? Give feedback.
All reactions