Dear Mr. Babak Khavari,
I hope this mail finds you well.
I am Kyoji Fujii, a Japanese engineering consultant for power sector.
I started using OnSSET but I can't solve the following error when I use the GEP Scenario Generator.
5. Calibration of start year values and general information
pop_modelled, urban_modelled = onsseter.calibrate_current_pop_and_urban(pop_start_year, urban_ratio_start_year)
onsseter.project_pop_and_urban(pop_modelled, end_year_pop, urban_modelled, urban_ratio_end_year, start_year, end_year, intermediate_year)
display(Markdown('#### The csv file has been imported correctly. Here is a preview:'))
display(onsseter.df[['Country','Pop','NightLights','TravelHours','GHI','WindVel','Hydropower','HydropowerDist']].sample(7))
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
Cell In[19], line 3
1 pop_modelled, urban_modelled = onsseter.calibrate_current_pop_and_urban(pop_start_year, urban_ratio_start_year)
----> 3 onsseter.project_pop_and_urban(pop_modelled, end_year_pop, urban_modelled, urban_ratio_end_year, start_year, end_year, intermediate_year)
5 display(Markdown('#### The csv file has been imported correctly. Here is a preview:'))
6 display(onsseter.df[['Country','Pop','NightLights','TravelHours','GHI','WindVel','Hydropower','HydropowerDist']].sample(7))
TypeError: SettlementProcessor.project_pop_and_urban() missing 1 required positional argument: 'intermediate_year'
Please kindly let me know how to solve it.
Best regards,
Kyoji FUJII
2022年4月8日金曜日 22:42:43 UTC+9 Babak Khavari: