Issue with Light simulation on Python

I am having some issues when I run a light simulation code using sky = ClimateBased.from_wea(wea, month=12, day=3, hour=12 ).

First, the code does not recognize the left wall…see this example: if I indicate wall_name=‘left’, the code would still consider this as a back door in terms of the size. I realized this issue because the size of the window is large (262 m) but still shorter than the room length which is 263, but I get this error:
image

Floorplan_Boundries = Room(origin=(0, 0, Height), width=128, depth=263, height=3.2,rotation_angle=0)
Floorplan_Boundries.add_fenestration_surface(wall_name=‘left’, width=262, height=3, sill_height=0.7)

The second problem I have: I am running the simulation and for each run I get different lighting results. What could the reason be?

This is my whole code:

from honeybee.room import Room
from honeybee.radiance.material.glass import Glass
from honeybee.radiance.sky.certainIlluminance import CertainIlluminanceLevel
from honeybee.radiance.recipe.pointintime.gridbased import GridBased
import numpy
from ladybug.wea import Wea
from honeybee.radiance.sky.climatebased import ClimateBased
from honeybee.hbsurface import HBSurface
 ## pull up the Ladybug locaiton data ..
epw_file = 'USA_NY_New.York-Central.Park.725033_TMY3.epw'
wea = Wea.from_epw_file(epw_file)
sky = ClimateBased.from_wea(wea, month=12, day=3, hour=12 )
    
##upper serface 
Floor=6
Height=0
# The boundaries of teh floorplan 
Floorplan_Boundries = Room(origin=(0, 0, Height), width=128, depth=263, height=3.2,rotation_angle=0)

# rooms 1,2,3 are actual rooms inside the floorplan  
room_1 = Room(origin=(x1[0], y1[0], Height), width=x2[0]-x1[0], depth=y2[0]-y1[0], height=3.2,rotation_angle=0)
room_2 = Room(origin=(x1[1], y1[1], Height), width=x2[1]-x1[1], depth=y2[1]-y1[1], height=3.2,rotation_angle=0)
room_3 = Room(origin=(x1[2], y1[2], Height), width=x2[2]-x1[2], depth=y2[2]-y1[2], height=3.2,rotation_angle=0)
room_4 = Room(origin=(x1[3], y1[3], Height), width=x2[3]-x1[3], depth=y2[3]-y1[3], height=3.2,rotation_angle=0)
room_5 = Room(origin=(x1[4], y1[4], Height), width=x2[4]-x1[4], depth=y2[4]-y1[4], height=3.2,rotation_angle=0)
room_6 = Room(origin=(x1[5], y1[5], Height), width=x2[5]-x1[5], depth=y2[5]-y1[5], height=3.2,rotation_angle=0)
room_7 = Room(origin=(x1[6], y1[6], Height), width=x2[6]-x1[6], depth=y2[6]-y1[6], height=3.2,rotation_angle=0)
room_8 = Room(origin=(x1[7], y1[7], Height), width=x2[7]-x1[7], depth=y2[7]-y1[7], height=3.2,rotation_angle=0)
room_9 = Room(origin=(x1[8], y1[8], Height), width=x2[8]-x1[8], depth=y2[8]-y1[8], height=3.2,rotation_angle=0)
room_10 = Room(origin=(x1[9], y1[9], Height), width=x2[9]-x1[9], depth=y2[9]-y1[9], height=3.2,rotation_angle=0)
room_11 = Room(origin=(x1[10], y1[10], Height), width=x2[10]-x1[10], depth=y2[10]-y1[10], height=3.2,rotation_angle=0)
room_12 = Room(origin=(x1[11], y1[11], Height), width=x2[11]-x1[11], depth=y2[11]-y1[11], height=3.2,rotation_angle=0)
room_13 = Room(origin=(x1[12], y1[12], Height), width=x2[12]-x1[12], depth=y2[12]-y1[12], height=3.2,rotation_angle=0)
room_14 = Room(origin=(x1[13], y1[13], Height), width=x2[13]-x1[13], depth=y2[13]-y1[13], height=3.2,rotation_angle=0)
room_15 = Room(origin=(x1[14], y1[14], Height), width=x2[14]-x1[14], depth=y2[14]-y1[14], height=3.2,rotation_angle=0)
room_16 = Room(origin=(x1[15], y1[15], Height), width=x2[15]-x1[15], depth=y2[15]-y1[15], height=3.2,rotation_angle=0)
room_17 = Room(origin=(x1[16], y1[16], Height), width=x2[16]-x1[16], depth=y2[16]-y1[16], height=3.2,rotation_angle=0)
room_18 = Room(origin=(x1[17], y1[17], Height), width=x2[17]-x1[17], depth=y2[17]-y1[17], height=3.2,rotation_angle=0)
room_19 = Room(origin=(x1[18], y1[18], Height), width=x2[18]-x1[18], depth=y2[18]-y1[18], height=3.2,rotation_angle=0)
room_20 = Room(origin=(x1[19], y1[19], Height), width=x2[19]-x1[19], depth=y2[19]-y1[19], height=3.2,rotation_angle=0)
#add fenestration

#assume glass envelop               
Floorplan_Boundries.add_fenestration_surface(wall_name='back', width=100, height=3, sill_height=0.7)
Floorplan_Boundries.add_fenestration_surface(wall_name='right', width=100, height=3, sill_height=0.7)
Floorplan_Boundries.add_fenestration_surface(wall_name='front', width=100, height=3, sill_height=0.7)
Floorplan_Boundries.add_fenestration_surface(wall_name='left', width=262, height=3, sill_height=0.7)

               
##add a window to the back wall
room_1.add_fenestration_surface(wall_name='back',  width=x2[0]-x1[0]-1, height=2, sill_height=0)
room_1.add_fenestration_surface(wall_name='right', width=y2[0]-y1[0]-1, height=2, sill_height=0)

room_2.add_fenestration_surface('back', width=x2[1]-x1[1]-1, height=2, sill_height=0)
room_2.add_fenestration_surface('right', width=y2[1]-y1[1]-1, height=2, sill_height=0)

room_3.add_fenestration_surface(wall_name='back', width=x2[2]-x1[2]-1, height=2, sill_height=0)
room_3.add_fenestration_surface(wall_name='right', width=y2[2]-y1[2]-1, height=2, sill_height=0)

room_4.add_fenestration_surface(wall_name='back', width=x2[3]-x1[3]-1, height=2,sill_height=0)
room_4.add_fenestration_surface(wall_name='right', width=y2[3]-y1[3]-1, height=2, sill_height=0)

room_5.add_fenestration_surface(wall_name='back', width=x2[4]-x1[4]-1, height=2, sill_height=0)
room_5.add_fenestration_surface(wall_name='right', width=y2[4]-y1[4]-1, height=2, sill_height=0)

room_6.add_fenestration_surface(wall_name='back',  width=x2[5]-x1[5]-1, height=2, sill_height=0)
room_6.add_fenestration_surface(wall_name='right',width=y2[5]-y1[5]-1 , height=2,sill_height=0)

room_7.add_fenestration_surface(wall_name='back', width=x2[6]-x1[6]-1, height=2, sill_height=0)
room_7.add_fenestration_surface(wall_name='right', width=y2[6]-y1[6]-1, height=2, sill_height=0)

room_8.add_fenestration_surface(wall_name='back', width=x2[7]-x1[7]-1, height=2, sill_height=0)
room_8.add_fenestration_surface(wall_name='right', width=y2[7]-y1[7]-1, height=2, sill_height=0)

room_9.add_fenestration_surface(wall_name='back', width=x2[8]-x1[8]-1, height=2, sill_height=0)
room_9.add_fenestration_surface(wall_name='right', width=y2[8]-y1[8]-1, height=2, sill_height=0)

room_10.add_fenestration_surface(wall_name='back', width=x2[9]-x1[9]-1, height=2, sill_height=0)
room_10.add_fenestration_surface(wall_name='right', width=y2[9]-y1[9]-1, height=2, sill_height=0)

room_11.add_fenestration_surface(wall_name='back', width=x2[10]-x1[10]-1, height=2, sill_height=0)
room_11.add_fenestration_surface(wall_name='right', width=y2[10]-y1[10]-1, height=2, sill_height=0)

room_12.add_fenestration_surface(wall_name='back', width=x2[11]-x1[11]-1, height=2, sill_height=0)
room_12.add_fenestration_surface(wall_name='right', width=y2[11]-y1[11]-1, height=2, sill_height=0)

room_13.add_fenestration_surface(wall_name='back', width=x2[12]-x1[12]-1, height=2, sill_height=0)
room_13.add_fenestration_surface(wall_name='right', width=y2[12]-y1[12]-1, height=2, sill_height=0)

room_14.add_fenestration_surface(wall_name='back', width=x2[13]-x1[13]-1, height=2, sill_height=0)
room_14.add_fenestration_surface(wall_name='right', width=y2[13]-y1[13]-1, height=2, sill_height=0)

room_15.add_fenestration_surface(wall_name='back', width=x2[14]-x1[14]-1, height=2,sill_height=0)
room_15.add_fenestration_surface(wall_name='right', width=y2[14]-y1[14]-1, height=2, sill_height=0)

room_16.add_fenestration_surface(wall_name='back', width=x2[15]-x1[15]-1, height=2,sill_height=0)
room_16.add_fenestration_surface(wall_name='right', width=y2[15]-y1[15]-1, height=2, sill_height=0)

room_17.add_fenestration_surface(wall_name='back', width=x2[16]-x1[16]-1, height=2, sill_height=0)
room_17.add_fenestration_surface(wall_name='right', width=y2[16]-y1[16]-1, height=2, sill_height=0)

room_18.add_fenestration_surface(wall_name='back', width=x2[17]-x1[17]-1, height=2, sill_height=0)
room_18.add_fenestration_surface(wall_name='right', width=y2[17]-y1[17]-1, height=2,sill_height=0)

room_19.add_fenestration_surface(wall_name='back', width=x2[18]-x1[18]-1, height=2, sill_height=0)
room_19.add_fenestration_surface(wall_name='right', width=y2[18]-y1[18]-1, height=2, sill_height=0)

room_20.add_fenestration_surface(wall_name='back', width=x2[19]-x1[19]-1, height=2, sill_height=0)
room_20.add_fenestration_surface(wall_name='right', width=y2[19]-y1[19]-1, height=2, sill_height=0)

RridSize=1
#generate grid of test points for the actual rooms 
analysis_grid_1 = room_1.generate_test_points(grid_size=RridSize, height=Height)
analysis_grid_2 = room_2.generate_test_points(grid_size=RridSize, height=Height)
analysis_grid_3 = room_3.generate_test_points(grid_size=RridSize, height=Height)
analysis_grid_4 = room_4.generate_test_points(grid_size=RridSize, height=Height)
analysis_grid_5 = room_5.generate_test_points(grid_size=RridSize, height=Height)
analysis_grid_6 = room_6.generate_test_points(grid_size=RridSize, height=Height)
analysis_grid_7 = room_7.generate_test_points(grid_size=RridSize, height=Height)
analysis_grid_8 = room_8.generate_test_points(grid_size=RridSize, height=Height)
analysis_grid_9 = room_9.generate_test_points(grid_size=RridSize, height=Height)
analysis_grid_10 = room_10.generate_test_points(grid_size=RridSize, height=Height)
analysis_grid_11 = room_11.generate_test_points(grid_size=RridSize, height=Height)
analysis_grid_12 = room_12.generate_test_points(grid_size=RridSize, height=Height)
analysis_grid_13 = room_13.generate_test_points(grid_size=RridSize, height=Height)
analysis_grid_14 = room_14.generate_test_points(grid_size=RridSize, height=Height)
analysis_grid_15 = room_15.generate_test_points(grid_size=RridSize, height=Height)
analysis_grid_16 = room_16.generate_test_points(grid_size=RridSize, height=Height)
analysis_grid_17 = room_17.generate_test_points(grid_size=RridSize, height=Height)
analysis_grid_18 = room_18.generate_test_points(grid_size=RridSize, height=Height)
analysis_grid_19 = room_19.generate_test_points(grid_size=RridSize, height=Height)
analysis_grid_20 = room_20.generate_test_points(grid_size=RridSize, height=Height)

#put the recipe together
rp = GridBased(
    sky=sky,
    analysis_grids=(analysis_grid_1, analysis_grid_2, analysis_grid_3, analysis_grid_4, analysis_grid_5, analysis_grid_6,analysis_grid_7,analysis_grid_8,analysis_grid_9,analysis_grid_10,analysis_grid_11,analysis_grid_12,analysis_grid_13,analysis_grid_14,analysis_grid_15,analysis_grid_16,analysis_grid_17,analysis_grid_18,analysis_grid_19,analysis_grid_20 ),
    simulation_type=0,
    hb_objects=(room_1, room_2, room_3,room_4,room_5,room_6,room_7,room_8,room_9,room_10,room_11,room_12,room_13,room_14,room_15,room_16,room_17,room_18,room_19,room_20, Floorplan_Boundries)
)

# write and run the analysis
batch_file = rp.write(target_folder=r'c:\ladybug', project_name='room2')
rp.run(batch_file, debug=False)

result1 = rp.results()[0]
result2 = rp.results()[1]
result3 = rp.results()[2]
result4 = rp.results()[3]
result5 = rp.results()[4]
result6 = rp.results()[5]
result7 = rp.results()[6]
result8 = rp.results()[7]
result9 = rp.results()[8]
result10 = rp.results()[9]
result11 = rp.results()[10]
result12 = rp.results()[11]
result13 = rp.results()[12]
result14 = rp.results()[13]
result15 = rp.results()[14]
result16 = rp.results()[15]
result17 = rp.results()[16]
result18 = rp.results()[17]
result19 = rp.results()[18]
result20 = rp.results()[19]

#print out lux value for room 1...
for value in result1.combined_value_by_id():
 print('illuminance value room 1: %d lux' % value[0])


#print out lux value for room 2...
for value in result2.combined_value_by_id():
 print('illuminance value room 2: %d lux' % value[0])