architecture-building-systems / ASF_Simulation

Numerical Simulation of the ASF to determine its energy saving potential and optimal configurations
4 stars 3 forks source link

Key Error during PV electricity calculation #12

Open pjayathissa opened 7 years ago

pjayathissa commented 7 years ago

"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 commented 7 years ago

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...