Esempio n. 1
0
 def setUp(self):
     self.agent_PV = agents.PV(agent_id=0)
     self.house = agentgroups.ResidentialBuilding(group_id=0)
     self.house.add(self.agent_PV)
     self.event_PV = self.house.get_list_eventhandlers()[0]
     self.irradiance_data = [0.1, 0.2, 0.3]
     self.event_PV.set_irradiance_data(self.irradiance_data)
Esempio n. 2
0
 def setUp(self):
     self.globalcontroller = controllers.TravaccaEtAl2017GlobalController()
     self.house = agentgroups.ResidentialBuilding(0)
     self.localcontroller = controllers.TravaccaEtAl2017LocalController(
         self.house, self.globalcontroller)
     self.globalcontroller.set_list_localcontrollers([self.localcontroller])
Esempio n. 3
0
 def setUp(self):
     self.house = agentgroups.ResidentialBuilding(0)
     self.globalcontroller = controllers.GlobalController()
     self.housecontroller = controllers.LocalController(
         self.house, self.globalcontroller)
Esempio n. 4
0
 def setUp(self):
     self.house = agentgroups.ResidentialBuilding(group_id=0)
Esempio n. 5
0
 def setUp(self):
     self.agent_EV = agents.EV(agent_id=0)
     self.house = agentgroups.ResidentialBuilding(group_id=0)
     self.house.add(self.agent_EV)
Esempio n. 6
0
 def setUp(self):
     self.agent_PV = agents.PV(agent_id=0)
     self.house = agentgroups.ResidentialBuilding(group_id=0)
     self.house.add(self.agent_PV)
     self.event = self.house.get_list_eventhandlers()[0]