Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Key Error during PV electricity calculation #12

Open
pjayathissa opened this issue Mar 20, 2017 · 1 comment
Open

Key Error during PV electricity calculation #12

pjayathissa opened this issue Mar 20, 2017 · 1 comment
Assignees

Comments

@pjayathissa
Copy link
Contributor

"C:\Users\jayathip\GitHub\ASF_Simulation\ASF_Simulation\Simulation_Tool\New_SimulationEnvironment_Ladybug\python\asf_electricity_production_2.py", line 59, in asf_electricity_production
if SimulationData['timePeriod'] == '4months':

KeyError: 'timePeriod'

@MauroLuzzatto
Copy link
Contributor

This timePeriod option was implemented by Jeri and I havent used it any further in my simulations. It was used, as far as I understood to analysis shorter time periods, for example 4 months. set the timePeriod = 'None' within the asf_electricity_function and the error will not occur anymore. you might want to hard code it or delete the unused code...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants